Function at 0x577eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57838a
sub esp, 0x6c
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00465fe7
lea edi, [esp + 0x48]
call fcn.00465fe7
mov ecx, dword [esp + 0x7c]
mov edx, ecx
shl ecx, 1
mov ebx, dword [esp + 0x74]
cmp ebx, ecx
jl 0x577f31
mov dword [esp + 0x24], ecx
lea eax, [0x69bdc0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
xor ebp, ebp
jmp 0x578009
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x70416e]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x38]
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 + 0x2c], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
add esp, 0x6c
ret
mov ebx, dword [esp + 0x28]
mov word [ebx + esi*2], di
lea ebp, [esi + 1]
mov esi, dword [esp + 0x78]
mov edx, esi
mov ebx, dword [esp + 0x74]
cmp eax, ebp
jle 0x578050
mov esi, ebp
shl ebp, 1
cmp ebx, ebp
jb 0x578380
sub ebx, ebp
sub edx, ebp
neg edx
sar edx, 0x1f
and ebp, edx
cmp ebx, 1
jbe 0x578374
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x28], edi
movzx edi, byte [ecx + ebp + 1]
movzx ebp, byte [ecx + ebp]
shl ebp, 8
or edi, ebp
cmp esi, ebx
jb 0x577ff4
jmp 0x57836b
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 2]
cmp ebx, esi
jl 0x5782af
cmp ebx, ebp
jb 0x578362
mov edi, ebx
sub ebx, ebp
sub edx, ebp
mov dword [esp + 0x20], edx
neg edx
sar edx, 0x1f
and ebp, edx
cmp ebx, 1
jbe 0x578356
movzx ebx, byte [ecx + ebp + 1]
movzx ebp, byte [ecx + ebp]
shl ebp, 8
or ebx, ebp
movzx ebx, bx
lea ebp, [ebx + eax*2 + 2]
mov edx, ebx
lea ebx, [ebx + eax*2]
cmp edi, ebp
jl 0x5781ec
mov edi, dword [esp + 0x78]
cmp edi, ebp
jb 0x57834d
cmp ebp, esi
jb 0x578344
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
mov dword [esp + 0x24], eax
neg eax
sar eax, 0x1f
and esi, eax
lea eax, [ecx + esi]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
sub edi, ebx
lea edx, [edi - 2]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, ebp
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
sub ecx, ebx
add ecx, 0xfffffffe
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
call fcn.005789c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x5781b7
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x578144
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea eax, [0x6f822a]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
add esp, 0x6c
ret
lea edi, [esp + 0x80]
lea esi, [esp + 0x48]
call fcn.004664a6
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x6c
ret
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ebp
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x70416e]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x38]
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 + 0x2c], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
add esp, 0x6c
ret
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea eax, [0x705907]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x80]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
add esp, 0x6c
ret
mov eax, esi
mov ecx, ebp
call fcn.00465e60
mov ecx, ebp
mov edx, edi
call fcn.00465e40
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, ebp
mov ecx, ebx
call fcn.00465e60
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, ebp
mov ecx, ebx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.00577eb0