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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x57738d
sub esp, 0xc4
mov edx, dword [esp + 0xcc]
cmp edx, 8
jl 0x5772cc
nop
lea ecx, [edx - 2]
mov ebx, dword [esp + 0xc8]
movzx ebp, byte [ebx + 1]
movzx esi, byte [ebx]
shl esi, 8
or ebp, esi
cmp ecx, 1
jbe 0x577382
lea ecx, [edx - 4]
movzx esi, byte [ebx + 3]
mov eax, edx
movzx edx, byte [ebx + 2]
shl edx, 8
or esi, edx
cmp ecx, 3
jbe 0x577378
mov word [esp + 0x30], bp
mov word [esp + 0x32], si
movzx ecx, byte [ebx + 7]
movzx edx, byte [ebx + 6]
shl edx, 8
or ecx, edx
movzx edx, byte [ebx + 5]
shl edx, 0x10
or edx, ecx
movzx ecx, byte [ebx + 4]
shl ecx, 0x18
or ecx, edx
mov dword [esp + 0x40], ecx
cmp bp, 2
ja 0x576f4c
cmp bp, 1
je 0x576eb4
cmp bp, 2
jne 0x576f66
mov ecx, dword [esp + 0xd0]
add ecx, 0xfffffff8
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
mov dword [esp], ecx
add eax, 0xfffffff8
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00576450
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
lea edi, [esp + 0x44]
lea esi, [esp + 0xc]
call fcn.004664e2
lea edi, [esp + 0x50]
lea esi, [esp + 0x44]
call fcn.004664e2
lea ecx, [0x6c1260]
mov dword [esp], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00409640
mov eax, dword [esp + 8]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x34]
lea eax, [0x785bb0]
jmp 0x5771b4
mov ecx, dword [esp + 0xd0]
add ecx, 0xfffffff8
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
mov dword [esp], ecx
add eax, 0xfffffff8
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], eax
call fcn.00576290
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x60], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004098b0
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x34]
lea eax, [0x785b9c]
jmp 0x5771b4
cmp bp, 3
je 0x577124
cmp bp, 4
je 0x577081
cmp bp, 5
je 0x576fd2
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov word [esp], bp
call fcn.004096b0
mov eax, dword [esp + 4]
lea ecx, [0x69b1c0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x6fc5d4]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5771b4
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00465fea
mov ecx, dword [esp + 0xd0]
add ecx, 0xfffffff8
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
mov dword [esp], ecx
mov ecx, dword [esp + 0xcc]
add ecx, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00576a20
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x60], ebx
lea edi, [esp + 0x94]
lea esi, [esp + 0xc]
call fcn.004664c4
lea edi, [esp + 0xac]
lea esi, [esp + 0x94]
call fcn.004664c4
lea ecx, [0x6c8000]
mov dword [esp], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 4], ecx
call fcn.004095e0
mov eax, dword [esp + 8]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x34]
lea eax, [0x785bec]
jmp 0x5771b4
mov ecx, dword [esp + 0xd0]
add ecx, 0xfffffff8
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
mov dword [esp], ecx
add eax, 0xfffffff8
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00576740
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
lea ecx, [0x6c12e0]
mov dword [esp], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.004095e0
mov eax, dword [esp + 8]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x34]
lea eax, [0x785bd8]
jmp 0x5771b4
mov ecx, dword [esp + 0xd0]
add ecx, 0xfffffff8
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
mov dword [esp], ecx
add eax, 0xfffffff8
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc], eax
call fcn.00576590
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x60], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004098b0
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov ecx, eax
mov edx, dword [esp + 0x34]
lea eax, [0x785bc4]
test ebp, ebp
je 0x577272
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
je 0x5771d9
mov ebp, dword [ebp + 4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
lea eax, [0x6f9e36]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x64]
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]
movzx edx, word [esp + 0x30]
mov word [esp + 0xd8], dx
movzx edx, word [esp + 0x32]
mov word [esp + 0xda], dx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xc4
ret
movzx ebx, word [esp + 0x30]
mov word [esp + 0xd8], bx
movzx ebx, word [esp + 0x32]
mov word [esp + 0xda], bx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
lea eax, [edx + 8]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
add esp, 0xc4
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x704f70]
mov dword [esp], eax
mov dword [esp + 4], 0x37
lea eax, [esp + 0x64]
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 + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xc4
ret
mov eax, 3
call fcn.00465e00
mov eax, 1
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00576d70