Function at 0x42f480
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454b57
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x46b664]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x46b664]
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 0x42f52b
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.0040eba0
mov dword [esp + 0x248], 0xffffffff
push 0x462084
lea ecx, [esp + 0xd4]
push ecx
call fcn.00436362
mov edx, dword [esi + 0x38]
or edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x34]
jne 0x42f543
mov ecx, esi
call fcn.004177f0
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 0x42f5cf
or eax, ecx
jne 0x42f56a
mov ecx, esi
call fcn.004177f0
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 0x42f5cf
movzx edx, word [edi + 0x14]
movzx ebx, word [edi + 6]
lea edx, [edx + edi + 0x18]
push 0x2e
mov ecx, esi
call fcn.0042f790
mov ecx, ebx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8 - 0x28]
push 0x2f
mov ecx, esi
call fcn.0042f790
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.00431de5
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x24]
push edx
call fcn.0040cca0
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.0042bb80
mov byte [esp + 0x248], 2
mov edx, dword [esp + 0x14]
push 0x45daa0
push ecx
push edx
push ecx
push 0x45fc6c
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 0x45d198
push ecx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00428e90
add esp, 4
push eax
call fcn.0040de50
add esp, 0xc
push eax
call fcn.004050d0
add esp, 4
push eax
call fcn.0040de50
add esp, 0xc
push eax
call fcn.00428e90
add esp, 4
push eax
call fcn.00410710
add esp, 0xc
push eax
call fcn.00428e90
add esp, 4
push eax
call fcn.00410710
add esp, 0xc
push eax
call fcn.00428e90
add esp, 4
push eax
call fcn.0040de50
add esp, 8
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x12c]
lea edx, [esp + 0x130]
cmp eax, edx
je 0x42f6c6
push eax
call fcn.004323a1
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
mov edi, eax
cmp dword [0x46f734], ebx
je 0x42f70a
push 0x46f710
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 0x45
mov dword [0x46f6e8], edi
mov dword [0x46f6ec], 0x45ef1c
mov dword [0x46f6f0], esi
mov word [0x46f6f4], ax
mov byte [0x46f6f6], bl
lea ecx, [esp + 0x24]
push ecx
call fcn.00424d80
add esp, 4
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004054f0
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 0x462084
lea edx, [esp + 0xf4]
push edx
call fcn.00436362
int3