Function at 0x584000
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0xc], 0
jne 0x584027
mov ecx, dword [edi + 0x48]
cmp ecx, edx
je 0x584027
mov edx, esi
call fcn.00583de0
jmp 0x584049
cmp dword [esi + 0x10], 0
mov byte [esp + 0xf], 0
jne 0x584049
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
add esp, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0x10]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x14], eax
test edx, edx
jne 0x584070
push dword [esi + 8]
lea eax, [esp + 0x18]
push 4
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x14], ecx
test edx, edx
jne 0x584094
push dword [esi + 8]
lea eax, [esp + 0x18]
push 4
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov al, byte [edi + 6]
mov byte [esp + 0xf], al
test edx, edx
jne 0x5840b8
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov al, byte [edi + 7]
mov byte [esp + 0xf], al
test edx, edx
jne 0x5840dc
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov al, byte [edi + 8]
mov byte [esp + 0xf], al
test edx, edx
jne 0x584100
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x14], eax
test edx, edx
jne 0x584127
push dword [esi + 8]
lea eax, [esp + 0x18]
push 4
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov eax, dword [edi + 0x14]
mov dword [esi + 0x10], edx
shl eax, 2
test edx, edx
jne 0x584148
test eax, eax
je 0x584148
push dword [esi + 8]
push eax
push dword [edi + 0x30]
mov eax, dword [esi + 4]
push dword [esi]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
test edx, edx
jne 0x584172
push dword [esi + 8]
lea eax, [esp + 0x18]
push 4
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x10], eax
test ecx, ecx
jle 0x58425b
xor eax, eax
mov dword [esp + 0x14], eax
mov ebx, dword [edi + 0x2c]
mov edx, dword [esi + 0x10]
add ebx, eax
mov al, byte [ebx + 8]
and al, 0x3f
mov byte [esp + 0xf], al
test edx, edx
jne 0x5841ae
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov edx, eax
add esp, 0x10
mov dword [esi + 0x10], edx
mov ecx, dword [ebx + 8]
and ecx, 0x3f
dec ecx
cmp ecx, 0x13
ja case.0x5841c5.2
movzx eax, byte [ecx + 0x584360]
jmp dword [eax*4 + 0x58434c]
mov al, byte [ebx]
mov byte [esp + 0xf], al
test edx, edx
jne case.0x5841c5.2
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
add esp, 0x10
mov dword [esi + 0x10], eax
jmp case.0x5841c5.2
fld qword [ebx]
fstp qword [esp + 0x20]
test edx, edx
jne case.0x5841c5.2
push dword [esi + 8]
lea eax, [esp + 0x24]
push 8
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
add esp, 0x10
mov dword [esi + 0x10], eax
jmp case.0x5841c5.2
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
test edx, edx
jne case.0x5841c5.2
push dword [esi + 8]
lea eax, [esp + 0x1c]
push 8
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
add esp, 0x10
mov dword [esi + 0x10], eax
jmp case.0x5841c5.2
mov ecx, dword [ebx]
mov edx, esi
call fcn.00583de0
mov eax, dword [esp + 0x14]
add eax, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
jne 0x584180
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x58428a
push dword [esi + 8]
lea eax, [esp + 0x14]
push 4
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov dword [esi + 0x10], eax
mov ecx, eax
mov eax, dword [esp + 0x24]
add esp, 0x10
xor ebx, ebx
test eax, eax
jle 0x5842e9
mov ecx, dword [edi + 0x40]
mov al, byte [ecx + ebx*8 + 4]
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x5842bc
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov ecx, dword [edi + 0x40]
add esp, 0x10
mov dword [esi + 0x10], eax
mov cl, byte [ecx + ebx*8 + 5]
mov byte [esp + 0xf], cl
test eax, eax
jne 0x5842df
push dword [esi + 8]
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
add esp, 0x10
mov dword [esi + 0x10], eax
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x584290
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x584313
push dword [esi + 8]
lea eax, [esp + 0x14]
push 4
push eax
push dword [esi]
mov eax, dword [esi + 4]
call eax
mov dword [esi + 0x10], eax
add esp, 0x10
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x584339
lea esp, [esp]
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x48]
push esi
mov ecx, dword [ecx + ebx*4]
call fcn.00584000
inc ebx
add esp, 4
cmp ebx, dword [esp + 0x14]
jl 0x584320
mov edx, esi
mov ecx, edi
call fcn.00583eb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret