Function at 0x42fd10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4555d7
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46c664]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x46c664]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
mov edi, eax
test edi, edi
jne 0x42fdbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xd0], eax
xor eax, eax
mov word [esp + 0xd4], ax
push 0x17
mov eax, str.ImageNtHeader___failed.
lea esi, [esp + 0xd8]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], edi
call fcn.0040e990
mov dword [esp + 0x248], 0xffffffff
push 0x4630f4
lea ecx, [esp + 0xd4]
push ecx
call fcn.00436bf2
mov edx, dword [esi + 0x38]
or edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x34]
jne 0x42fdd3
mov ecx, esi
call fcn.00417730
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
lea edx, [eax + ebx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
cmp edi, dword [esi + 0x34]
jb 0x42fe5f
or eax, ecx
jne 0x42fdfa
mov ecx, esi
call fcn.00417730
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
add eax, ebx
mov dword [esp + 0x20], ecx
cmp edi, eax
ja 0x42fe5f
movzx edx, word [edi + 0x14]
movzx ebx, word [edi + 6]
lea edx, [edx + edi + 0x18]
push 0x2e
mov ecx, esi
call fcn.00430020
mov ecx, ebx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8 - 0x28]
push 0x2f
mov ecx, esi
call fcn.00430020
mov ecx, eax
mov eax, dword [ecx + 0x14]
add eax, dword [ecx + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00432675
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x24]
push edx
call fcn.0040ca50
mov esi, 1
mov dword [esp + 0x248], esi
push 3
push str.d:depot_build_tc_sapsetup_nwsapstp_09_relgendbgjava_sub_nwsapsetupe01_src_nwsapfeiutimageinfo.cpp
lea ecx, [esp + 0x134]
lea eax, [esp + 0x138]
push ecx
mov dword [esp + 0x138], eax
call fcn.0042dc50
mov byte [esp + 0x248], 2
mov edx, dword [esp + 0x14]
push 0x45ea60
push ecx
push edx
push ecx
push 0x460cdc
push ecx
push ebx
push ecx
mov eax, dword [esp + 0x14c]
push str._out_of_valid_range__
push ecx
push edi
push ecx
push str._trying_to_access_data__
push ecx
push 0x2b
push ecx
push 0x45e198
push ecx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004296e0
add esp, 4
push eax
call fcn.0040dc20
add esp, 0xc
push eax
call fcn.0041bd10
add esp, 4
push eax
call fcn.0040dc20
add esp, 0xc
push eax
call fcn.004296e0
add esp, 4
push eax
call fcn.00410500
add esp, 0xc
push eax
call fcn.004296e0
add esp, 4
push eax
call fcn.00410500
add esp, 0xc
push eax
call fcn.004296e0
add esp, 4
push eax
call fcn.0040dc20
add esp, 8
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x12c]
lea edx, [esp + 0x130]
cmp eax, edx
je 0x42ff56
push eax
call fcn.00432c31
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
mov edi, eax
cmp dword [0x470734], ebx
je 0x42ff9a
push 0x470710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 0x45
mov dword [0x4706e8], edi
mov dword [0x4706ec], 0x45ff2c
mov dword [0x4706f0], esi
mov word [0x4706f4], ax
mov byte [0x4706f6], bl
lea ecx, [esp + 0x24]
push ecx
call fcn.004254d0
add esp, 4
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004052e0
mov byte [esp + 0x248], 3
xor ecx, ecx
push ebx
mov word [esp + 0xf8], cx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0xfc]
mov dword [esp + 0xf8], 0xc
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], ebx
call fcn.00401a90
mov byte [esp + 0x248], 3
push 0x4630f4
lea edx, [esp + 0xf4]
push edx
call fcn.00436bf2
int3