Function at 0x43ea30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x58]
push edi
mov byte [esi + 0x94], 1
mov eax, dword [0xb084b8]
add ecx, 0x18
test eax, eax
mov dword [esp + 0x5c], ecx
jne 0x43ea7a
mov eax, dword [str.Null_Pointer]
push eax
push 0x158
push str.._sys_mem_memman.h
call fcn.00401090
mov eax, dword [0xb084b8]
add esp, 0xc
test eax, eax
jne 0x43ea7a
call fcn.0052ff20
mov ecx, dword [esp + 0x5c]
push 0
imul ecx, dword [esp + 0x80]
push 1
push ecx
mov ecx, dword [0xb084b8]
call fcn.00533b80
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x8c], eax
mov ebx, eax
mov eax, dword [esp + 0x4c]
lea ebp, [edi + edi*2]
shl ebp, 2
mov dword [esp + 0x48], ebp
add ebp, edx
mov ecx, edi
cmp edi, eax
mov dword [esp + 0x7c], ecx
jg 0x43eb2d
mov edx, dword [esp + 0x50]
cmp word [edx + ecx*2], 0
jne 0x43eb21
mov eax, dword [ebp]
lea edx, [esp + 0x10]
mov dword [ebx], eax
mov ecx, dword [ebp + 4]
mov dword [ebx + 4], ecx
push edx
fld dword [ebp + 8]
lea ecx, [esi + 0x44]
mov dword [esp + 0x20], 0x3f800000
fst dword [ebx + 8]
fld dword [ebx]
fstp dword [esp + 0x14]
fld dword [ebx + 4]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
call fcn.00401e20
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x10]
push eax
add ecx, 0x48
call fcn.00401e20
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
add ebx, eax
mov eax, dword [esp + 0x4c]
add ebp, 0xc
inc ecx
cmp ecx, eax
mov dword [esp + 0x7c], ecx
jle 0x43eac0
mov ebp, dword [esi + 0x20]
lea edx, [esi + 0x64]
or ebp, 2
mov dword [esp + 0x7c], 0
mov dword [esi + 0x20], ebp
mov ebp, edi
fld dword [esi + 0x54]
fsub dword [esi + 0x44]
fld dword [esi + 0x58]
fsub dword [esi + 0x48]
fld dword [esi + 0x5c]
fsub dword [esi + 0x4c]
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [0x58930c]
fstp dword [esp + 0x20]
fmul dword [0x58930c]
fld dword [esp + 0x18]
fmul dword [0x58930c]
fld dword [esp + 0x20]
fadd dword [esi + 0x44]
fld st(2)
fadd dword [esi + 0x48]
fld st(2)
fadd dword [esi + 0x4c]
fstp dword [esp + 0x38]
fxch st(1)
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x38]
fstp dword [esp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x54]
mov ecx, edi
faddp st(1)
shl ecx, 4
add ecx, edx
mov edx, dword [esi + 0x8c]
fsqrt
add edx, 0xc
cmp edi, eax
fstp st(2)
fstp st(0)
fstp dword [esi + 0x70]
jg 0x43ec3c
mov ebx, dword [esp + 0x50]
cmp word [ebx + ebp*2], 0
jne 0x43ec34
mov ebx, dword [ecx]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x7c]
inc ebx
cmp ebx, 4
jge 0x43ec30
fld dword [ecx + ebx*4]
fcomp dword [0x589284]
fnstsw ax
and eax, 0x4100
jne 0x43ec26
mov dword [esp + 0x7c], ebx
inc ebx
cmp ebx, 4
jl 0x43ec10
mov eax, dword [esp + 0x4c]
add edx, dword [esp + 0x5c]
add ecx, 0x10
inc ebp
cmp ebp, eax
jle 0x43ebe5
mov edx, dword [esp + 0x60]
mov ecx, 0x1c
test edx, edx
je 0x43ec98
mov ecx, dword [esi + 0x8c]
lea edx, [edx + edi*8]
add ecx, 0x1c
cmp edi, eax
mov ebx, edi
jg 0x43ec93
mov ebp, dword [esp + 0x50]
cmp word [ebp + ebx*2], 0
jne 0x43ec8b
mov bp, word [edx]
mov word [ecx], bp
mov bp, word [edx + 2]
mov word [ecx + 2], bp
mov bp, word [edx + 4]
mov word [ecx + 4], bp
mov bp, word [edx + 6]
mov word [ecx + 6], bp
mov ebp, dword [esp + 0x5c]
add ecx, ebp
add edx, 8
inc ebx
cmp ebx, eax
jle 0x43ec5b
mov ecx, 0x24
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x48]
add ebx, edx
mov edx, dword [esi + 0x8c]
add edx, ecx
mov dword [esp + 0x7c], ebx
cmp edi, eax
mov byte [esi + 1], cl
mov ebx, edi
jg 0x43ecf6
mov ebp, dword [esp + 0x50]
cmp word [ebp + ebx*2], 0
jne 0x43ece6
mov ebp, dword [esp + 0x7c]
mov ebp, dword [ebp]
mov dword [edx], ebp
mov ebp, dword [esp + 0x7c]
mov ebp, dword [ebp + 4]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x7c]
mov ebp, dword [ebp + 8]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0x5c]
add edx, ebp
mov ebp, dword [esp + 0x7c]
add ebp, 0xc
inc ebx
cmp ebx, eax
mov dword [esp + 0x7c], ebp
jle 0x43ecb7
mov ebp, dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
add ecx, 0xc
or ebp, 0x10
test edx, edx
mov dword [esi + 0x20], ebp
je 0x43ed58
lea edx, [edx + edi*4]
mov byte [esi], cl
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x8c]
add edx, ecx
cmp edi, eax
mov ebx, edi
jg 0x43ed4c
mov ebp, dword [esp + 0x50]
cmp word [ebp + ebx*2], 0
jne 0x43ed3c
mov ebp, dword [esp + 0x7c]
mov ebp, dword [ebp]
mov dword [edx], ebp
mov ebp, dword [esp + 0x5c]
add edx, ebp
mov ebp, dword [esp + 0x7c]
add ebp, 4
inc ebx
cmp ebx, eax
mov dword [esp + 0x7c], ebp
jle 0x43ed21
mov edx, dword [esi + 0x20]
add ecx, 4
or edx, 0x40
mov dword [esi + 0x20], edx
mov ebp, dword [esp + 0x70]
test ebp, ebp
jbe case.default.0x43ee04
mov edx, dword [esp + 0x78]
test edx, edx
je case.default.0x43ee04
mov edx, edi
mov ebx, dword [esp + 0x78]
imul edx, dword [esp + 0x74]
mov byte [esi + 2], cl
mov dword [esi + 0x90], ebp
lea edx, [ebx + edx*8]
mov ebx, dword [esi + 0x8c]
add ebx, ecx
mov ecx, edi
cmp edi, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
jg 0x43edfc
mov edi, dword [esp + 0x74]
shl edi, 3
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x50]
cmp word [edi + ecx*2], 0
jne 0x43eded
xor ecx, ecx
test ebp, ebp
jbe 0x43eddf
mov edi, dword [esp + 0x78]
lea eax, [ebx + 4]
mov ebx, edx
sub ebx, edi
mov edi, dword [edx + ecx*8]
inc ecx
mov dword [eax - 4], edi
mov edi, dword [ebx + eax]
mov dword [eax], edi
add eax, 8
cmp ecx, ebp
jb 0x43edc4
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
add ebx, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], ebx
mov edi, dword [esp + 0x74]
add edx, edi
inc ecx
cmp ecx, eax
mov dword [esp + 0x7c], ecx
jle 0x43eda8
lea eax, [ebp - 1]
cmp eax, 3
ja case.default.0x43ee04
jmp dword [eax*4 + 0x43ee58]
mov eax, dword [esi + 0x20]
pop edi
or ah, 1
mov dword [esi + 0x20], eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x3c
mov eax, dword [esi + 0x20]
pop edi
or ah, 2
mov dword [esi + 0x20], eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x3c
mov eax, dword [esi + 0x20]
pop edi
or ah, 3
mov dword [esi + 0x20], eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x3c
mov eax, dword [esi + 0x20]
or ah, 4
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x3c