Function at 0x574eb0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5753b7
sub esp, 0x60
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00465fe9
lea edi, [esp + 0x44]
call fcn.00465fe9
mov ecx, dword [esp + 0x68]
cmp ecx, 0xb
jl 0x575302
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx]
mov byte [esp + 0x44], bl
movzx ebx, byte [edx + 1]
mov byte [esp + 0x45], bl
movzx ebx, byte [edx + 2]
mov byte [esp + 0x46], bl
lea ebx, [ecx - 3]
cmp ebx, 3
jbe 0x5753aa
add ecx, 0xfffffff9
movzx eax, byte [edx + 6]
movzx ebx, byte [edx + 5]
shl ebx, 8
or eax, ebx
movzx ebx, byte [edx + 4]
shl ebx, 0x10
or eax, ebx
movzx ebx, byte [edx + 3]
shl ebx, 0x18
or eax, ebx
cmp ecx, 3
jbe 0x5753a0
movzx ebx, byte [edx + 0xa]
movzx ebp, byte [edx + 9]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 8]
shl ebp, 0x10
or ebx, ebp
movzx edx, byte [edx + 7]
shl edx, 0x18
or edx, ebx
test eax, eax
je 0x57511c
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jl 0x57505c
jb 0x57539b
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x78]
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
mov esi, dword [esp + 0x70]
add edx, esi
mov dword [esp], edx
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005745e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
test ebx, ebx
je 0x575053
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
test ebp, ebp
je 0x574fe3
mov ebp, dword [ebp + 4]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
lea eax, [0x6fb571]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x44]
call fcn.004664ba
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
add esp, 0x60
ret
mov edx, dword [esp + 0x24]
jmp 0x57511c
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x706439]
mov dword [esp], eax
mov dword [esp + 4], 0x3b
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x44]
call fcn.004664ba
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
add esp, 0x60
ret
test edx, edx
je 0x5752d0
mov ecx, dword [esp + 0x74]
cmp ecx, edx
jl 0x575210
jb 0x575394
mov eax, dword [esp + 0x78]
sub eax, edx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, edx
mov ebp, dword [esp + 0x70]
add eax, ebp
mov dword [esp], eax
sub ecx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00574be0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
test ebx, ebx
je 0x5752d0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
test ebp, ebp
je 0x5751a0
mov ebp, dword [ebp + 4]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
lea eax, [0x6fb571]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x44]
call fcn.004664ba
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
add esp, 0x60
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x706439]
mov dword [esp], eax
mov dword [esp + 4], 0x3b
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x44]
call fcn.004664ba
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
add esp, 0x60
ret
lea edi, [esp + 0x7c]
lea esi, [esp + 0x44]
call fcn.004664ba
mov dword [esp + 0x98], 0xb
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x60
ret
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea eax, [0x706474]
mov dword [esp], eax
mov dword [esp + 4], 0x3b
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x44]
call fcn.004664ba
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
add esp, 0x60
ret
mov eax, edx
call fcn.00465e60
call fcn.00465e60
mov eax, 3
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00574eb0