Function at 0x423850
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
je 0x423af4
cmp dword [esi], 0
jne 0x423af4
xor eax, eax
mov ecx, dword [esi + 0x14]
mov ax, word [esi + 6]
mov ebx, dword [esp + 0x20]
imul eax, dword [esp + 0x18]
mov edi, dword [esi + 0x24]
push ebx
lea eax, [eax + eax*2]
lea ebp, [ecx + eax*4]
call fcn.004010c0
fstp dword [esp + 0x1c]
push ebx
call fcn.00401060
fstp dword [esp + 0x1c]
xor ebx, ebx
add esp, 8
xor ecx, ecx
cmp word [esi + 6], bx
jbe 0x4238ef
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 8]
fld dword [esp + 0x18]
fmul dword [eax - 4]
fld dword [esp + 0x14]
fmul dword [eax]
xor ebp, ebp
add edi, 0xc
add eax, 0xc
inc ecx
fsubp st(1)
fmul dword [esp + 0x24]
fadd dword [edx]
fstp dword [edi - 0xc]
fld dword [esp + 0x14]
fmul dword [eax - 0x10]
fld dword [esp + 0x18]
fmul dword [eax - 0xc]
fsubp st(1)
fmul dword [esp + 0x24]
fadd dword [edx + 4]
fstp dword [edi - 8]
mov bp, word [esi + 6]
cmp ecx, ebp
jl 0x4238ac
mov edi, dword [esi + 0x24]
push 0xf
call dword [0x481dd4]
mov ax, word [esi + 0x1e]
mov edx, dword [esi + 0xc]
add esp, 4
cmp ax, 0xffff
je 0x423a04
mov ecx, dword [0x47db1c]
and eax, 0xffff
cmp ecx, eax
mov dword [esp + 0x14], edx
je 0x423958
mov ecx, 0x484ee8
test ecx, ecx
je 0x423949
cmp eax, dword [0x484ee8]
jge 0x423949
cmp eax, ebx
jl 0x423949
mov ecx, dword [0x484ef4]
mov edx, dword [0x484ef8]
imul ecx, eax
add ecx, edx
jmp 0x42394b
xor ecx, ecx
push 0xffffffffffffffff
push eax
push ecx
call dword [0x4819c0]
add esp, 0xc
cmp word [esi + 4], bx
mov dword [esp + 0x24], ebx
jbe 0x423af4
mov ebx, 0x3f800000
mov edx, dword [esp + 0x14]
mov eax, 0x47e9b4
xor ecx, ecx
add eax, 0x34
mov cx, word [edx]
add edx, 2
lea ecx, [ecx + ecx*2]
mov ecx, dword [edi + ecx*4]
mov dword [eax - 0x38], ecx
xor ecx, ecx
mov cx, word [edx - 2]
lea ecx, [ecx + ecx*2]
mov ecx, dword [edi + ecx*4 + 4]
mov dword [eax - 0x34], ecx
mov ebp, dword [esi + 0x10]
xor ecx, ecx
cmp eax, 0x47ea50
mov cx, word [edx + 4]
lea ecx, [ebp + ecx*8]
mov ebp, dword [ecx]
mov dword [eax - 0x24], ebp
mov ecx, dword [ecx + 4]
mov dword [eax - 0x20], ecx
mov dword [eax - 0x18], ebx
jl 0x423974
mov dword [0x47da14], 3
mov dword [0x4849a8], 0x47e9b0
call fcn.004120d0
test eax, eax
je 0x4239dd
call dword [0x484ea8]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
xor edx, edx
add ebp, 0xc
mov dx, word [esi + 4]
inc eax
cmp eax, edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
jl 0x42396b
pop edi
pop esi
pop ebp
pop ebx
ret
cmp word [esi + 4], bx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ebx
jbe 0x423af4
mov ebx, 0x3f800000
mov eax, 0x47e9b4
xor ecx, ecx
add eax, 0x34
mov cx, word [edx]
add edx, 2
lea ecx, [ecx + ecx*2]
mov ecx, dword [edi + ecx*4]
mov dword [eax - 0x38], ecx
xor ecx, ecx
mov cx, word [edx - 2]
lea ecx, [ecx + ecx*2]
mov ecx, dword [edi + ecx*4 + 4]
mov dword [eax - 0x34], ecx
mov ebp, dword [esi + 0x10]
xor ecx, ecx
cmp eax, 0x47ea50
mov cx, word [edx + 4]
lea ecx, [ebp + ecx*8]
mov ebp, dword [ecx]
mov dword [eax - 0x24], ebp
mov ecx, dword [ecx + 4]
mov dword [eax - 0x20], ecx
mov dword [eax - 0x18], ebx
jl 0x423a20
mov dword [0x47da14], 3
mov dword [0x4849a8], 0x47e9b0
call fcn.004120d0
test eax, eax
je 0x423ad2
mov edx, dword [esp + 0x14]
mov eax, dword [0x47db1c]
xor ecx, ecx
mov cx, word [edx + 0xe]
cmp eax, ecx
je 0x423acc
mov eax, 0x484ee8
test eax, eax
je 0x423abd
cmp ecx, dword [0x484ee8]
jge 0x423abd
test ecx, ecx
jl 0x423abd
mov eax, dword [0x484ef4]
mov edx, dword [0x484ef8]
imul eax, ecx
add eax, edx
jmp 0x423abf
xor eax, eax
push 0xffffffffffffffff
push ecx
push eax
call dword [0x4819c0]
add esp, 0xc
call dword [0x484ea8]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
xor ecx, ecx
add edx, 0x10
mov cx, word [esi + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
jl 0x423a1b
pop edi
pop esi
pop ebp
pop ebx
ret