Function at 0x47e8b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
push esi
push edi
je 0x47eb63
mov ecx, dword [ebp + 0x14]
fld dword [ecx + 4]
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x47e906
fld dword [ecx + 8]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x47e906
fcom dword [ecx]
fnstsw ax
test ah, 0x41
jp 0x47e906
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x41
jp 0x47e908
mov eax, 1
jmp 0x47e90a
fstp st(0)
xor eax, eax
movzx edx, al
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x28], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x2c], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
test edx, edx
je 0x47e946
lea edx, [esp + 0x28]
call fcn.00467430
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
jmp 0x47e960
mov eax, dword [ebp + 0xc]
push 2
push eax
call dword [0x52b0bc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call dword [0x52b0c0]
cmp dword [ebx + 0x14], 0
push 0
je 0x47eb1a
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
call dword [0x52b088]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [0x52b0ec]
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x24], eax
cmp edx, dword [ebx + 0x2c]
jle 0x47e9e9
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
je 0x47e9e2
cmp ecx, ecx
jg 0x47e9e2
cmp eax, eax
jg 0x47e9e2
xor edx, edx
test eax, eax
jle 0x47e9e2
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
imul eax, edx
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x47e9db
mov edi, dword [esp + 0x10]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x30]
inc edx
cmp edx, dword [esp + 0x18]
jl 0x47e9b7
mov dword [ebx + 0x34], 0xffffffff
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x2c]
jge 0x47eaba
mov dword [esp + 0xc], 0x1ff0000
mov eax, dword [ebx + 0x34]
cmp eax, 0xffffffff
je 0x47ea32
mov edx, dword [ebx + 0x14]
shl eax, 5
add eax, dword [edx + 0x10c]
mov ecx, eax
cmp dword [ecx + 0xc], 2
jne 0x47ea32
movzx eax, word [ecx + 6]
movzx edx, word [ecx + 2]
push eax
movzx eax, word [ecx + 4]
push edx
movzx edx, word [ecx]
lea esi, [ebx + 0x18]
call fcn.004680f0
inc dword [ebx + 0x34]
mov edi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x14]
shl edi, 5
add edi, dword [ecx + 0x10c]
push 0
mov edx, dword [edi + 0x10]
mov dword [esp + 0x1c], edx
call dword [0x52b088]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [0x52b0ec]
movzx ecx, word [edi + 4]
mov edx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
movzx eax, word [edi + 6]
push eax
push ecx
push 0
push 0
push esi
push eax
movzx eax, word [edi + 2]
push ecx
movzx ecx, word [edi]
push eax
push ecx
push edx
call dword [0x52b09c]
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [0x52b0ec]
test esi, esi
je 0x47eaa6
push esi
call dword [0x52b0e4]
mov ecx, dword [ebx + 0x34]
cmp ecx, dword [ebx + 0x2c]
jl 0x47e9fd
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, dword [ebx + 0x14]
mov dl, byte [ebp + 0x18]
movzx ecx, word [ebx + 2]
mov byte [esp + 0xe], dl
movzx edx, word [ebx]
mov ebx, dword [esp + 0x20]
mov word [esp + 0xc], 0
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push 0
push 0
push ebx
sub esi, eax
push esi
mov esi, dword [ebp + 0xc]
sub edi, ecx
push edi
push eax
push ecx
push esi
call dword [0x52b09c]
mov eax, dword [esp + 0x24]
push eax
push ebx
call dword [0x52b0ec]
test ebx, ebx
je 0x47eb48
push ebx
call dword [0x52b0e4]
jmp 0x47eb48
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ebx + 0xc]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0x14]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
sub esi, eax
push esi
sub edi, ecx
push edi
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
call edx
mov esi, dword [ebp + 0xc]
cmp dword [esp + 0x1c], 0
jne 0x47eb63
push 1
push 0
push esi
call dword [0x52b0c4]
push 1
push esi
call dword [0x52b0bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14