Function at 0x4240d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a2c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax - 8], 0
je 0x42410f
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 0x54]
call fcn.00408f00
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.00408f00
mov dword [ebx + 0x28], 0
mov ecx, dword [ebx]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx - 8]
add eax, eax
mov dword [ecx - 4], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
test eax, eax
je 0x424154
cmp eax, 0xffffffff
je 0x42414d
cmp dword [ebx + 0xc], 0
jne 0x42414d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 8], 0
test esi, esi
je 0x42415b
mov dword [ebx + 0x18], esi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x424514
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 8], eax
test eax, eax
je 0x42450b
cmp eax, 0xffffffff
je 0x42450b
mov ecx, ebx
mov dword [ebx + 4], 0
mov dword [ebp - 0x58], 0
call fcn.00429850
mov ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jg 0x4241c4
jl 0x4241ba
test eax, eax
jae 0x4241c4
mov esi, 0x570
jmp 0x424516
mov edx, dword [ebx + 8]
test edx, edx
je 0x4241eb
cmp edx, 0xffffffff
je 0x4241eb
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4241eb
mov esi, 0x4e23
jmp 0x424516
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x461694
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push 0x16
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 8]
call fcn.004271c0
mov esi, eax
test esi, esi
jne 0x4244fd
mov esi, dword [ebp - 0x38]
movzx eax, word [esi + 4]
mov dword [ebp - 0x100], eax
movzx eax, word [esi + 6]
mov dword [ebp - 0x130], eax
mov dword [ebx + 0x2c], eax
movzx eax, word [esi + 8]
cdq
mov dword [ebp - 0x138], eax
movzx eax, word [esi + 0xa]
mov dword [ebp - 0x134], edx
cdq
cmp eax, dword [ebp - 0x138]
jne 0x424266
cmp edx, dword [ebp - 0x134]
je 0x42426d
mov dword [ebp - 0x14], 0x570
mov eax, dword [ebp - 0x38]
mov edx, dword [esi + 0xc]
xor esi, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xf8], edx
mov ecx, dword [eax + 0x10]
movzx eax, word [eax + 0x14]
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x14], esi
jne 0x4244f0
cmp dword [ebp - 0x138], 0xffff
jne 0x4242bd
cmp dword [ebp - 0x134], esi
je 0x4242da
cmp edx, 0xffff
jne 0x4242c9
test esi, esi
je 0x4242da
cmp ecx, 0xffffffff
jne 0x4243d2
xor eax, eax
jne 0x4243d2
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, ebx
push esi
call fcn.00429740
mov ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jg 0x424302
jl 0x4244f8
test eax, eax
jb 0x4244f8
push ecx
push eax
lea ecx, [ebx + 8]
mov dword [ebp - 0x58], 1
call fcn.0042b290
test eax, eax
jne 0x42432d
mov esi, 0x4e23
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407f90
jmp 0x424516
lea eax, [ebp - 0x10]
push eax
push 0x38
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 8]
call fcn.004271c0
mov esi, eax
test esi, esi
jne 0x4244fd
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x6064b50
je 0x424365
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407f90
jmp 0x424516
mov ax, word [ecx + 0xe]
mov edx, dword [ecx + 0x1c]
mov word [ebp - 0xe8], ax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x130], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
cmp dword [ecx + 0x20], eax
jne 0x4244f8
cmp dword [ecx + 0x24], edx
jne 0x4244f8
mov edx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x30]
mov esi, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x34]
mov dword [ebp - 0xec], ecx
mov ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xec]
add ecx, edx
adc eax, esi
cmp dword [ebp - 0x1c], eax
jl 0x4244f0
mov esi, dword [ebp - 0x18]
jg 0x4243f2
cmp esi, ecx
jb 0x4244f0
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
push 0
push dword [ebp - 0xf4]
push edx
call dword [eax]
test eax, eax
je 0x424451
push dword [ebp - 0xec]
lea ecx, [ebx + 8]
mov dword [ebp - 0x14], 0
push dword [ebp - 0x20]
call fcn.0042b290
test eax, eax
je 0x424436
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea eax, [ebx + 0x30]
push eax
lea ecx, [ebx + 8]
call fcn.004271c0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, dword [ebp - 0x10]
jne 0x424448
cmp ecx, dword [ebp - 0xf4]
je 0x424451
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0x30]
call dword [eax + 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, dword [ebp - 0x20]
mov eax, edx
push 0xf8
sbb eax, dword [ebp - 0xec]
sub ecx, dword [ebp - 0x10]
push 0
sbb eax, dword [ebp - 0xf4]
add dword [0x47bce8], 0xf8
mov dword [ebp - 0x128], ecx
adc dword [0x47bcec], 0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x24], eax
test eax, eax
je 0x4244e0
push 0
push 0
push 0
push 0
push 0
mov edi, eax
lea esi, [ebp - 0x138]
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, ebx
call fcn.00417b90
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407f90
jmp 0x424516
lea ecx, [ebx + 8]
call fcn.0040cc70
mov esi, 0x570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00407f90
jmp 0x424516
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x10], eax
xor esi, esi
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x424548
lea ecx, [eax - 0x20]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x424548
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x424578
add eax, 0xffffffe0
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x424578
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8