Function at 0x479320
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482468
push 0x47054c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 8], 0
jne 0x479351
jmp 0x47960c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
jmp 0x47936e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x479385
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jne 0x479383
jmp 0x47960c
jmp 0x479365
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call 0x47fb64
test eax, eax
je 0x47939a
jmp 0x47960c
mov edx, dword [0x4859a4]
add edx, 1
mov dword [0x4859a4], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x484c80]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0x4550
jne 0x4795c1
cmp dword [0x485714], 1
jne 0x4793fa
cmp dword [ebp + 8], 0x80000000
jbe 0x4793fa
push 0
push 0
push 0
push 0
call dword [0x48580c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
cmp dword [0x485714], 1
jne 0x479497
mov dword [ebp - 0x40], 0
jmp 0x47942b
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x40], eax
jae 0x479497
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x38]
lea ecx, [eax + edx + 0x18]
mov edx, dword [ebp - 0x40]
imul edx, edx, 0x28
add ecx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0x20]
ja 0x479495
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x44]
add eax, dword [ecx + 8]
cmp dword [ebp - 0x20], eax
ja 0x479495
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x10000000
test eax, eax
je 0x479493
push 0
push 0
push 0
push 0
call dword [0x48580c]
jmp 0x479497
jmp 0x479422
mov dword [ebp - 4], 0
jmp 0x4794be
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x84]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 0
jmp 0x4794e5
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1c]
jae 0x4795c1
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x47952d
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov cl, byte [eax + edx]
test ecx, ecx
jne 0x479532
jmp 0x4795c1
mov edx, dword [ebp - 0x3c]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
push edx
call 0x47f27f
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
mov dword [0x484c80], eax
cmp dword [ebp - 0x4c], 0
je 0x479573
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00479320
add esp, 0xc
push 0
call dword [fcn.004857ac]
cmp eax, dword [ebp + 8]
je 0x4795bc
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [0x48a160]
call 0x47fb64
test eax, eax
je 0x4795bc
jmp 0x47959e
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x4795bc
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.00479620
add esp, 0xc
jmp 0x479595
jmp 0x4794dc
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0047fc81
mov dword [ebp - 4], 0xffffffff
jmp 0x4795f5
mov eax, dword [ebp - 0x24]
mov dword [0x484c80], eax
mov ecx, dword [0x4859a4]
sub ecx, 1
mov dword [0x4859a4], ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret