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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x577d3a
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x3c]
mov ebp, dword [eax + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.0051b230
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x70]
cmp ebx, 1
je 0x577a5e
cmp ebx, 2
je 0x5776a4
cmp ebx, 3
jne 0x57767a
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x4c], eax
lea ebx, [0x78de60]
mov dword [esp], ebx
call fcn.00409dc0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
lea ecx, [0x78b580]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00520060
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x57761a
test ecx, ecx
je 0x577461
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2a
mov eax, dword [0xbc7270]
test eax, eax
jne 0x577454
lea eax, [0x7ee42d]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7ee42d]
call fcn.0044cc20
jmp 0x57742c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00576120
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5775ba
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
call fcn.0050f5a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x57755a
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
lea eax, [0x7be040]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x577530
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
lea ecx, [0x7b2980]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0044cc20
lea edi, [ecx + 8]
mov eax, dword [esp + 0x48]
call fcn.0044cc20
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x44]
call fcn.0044cc20
mov eax, ecx
jmp 0x577508
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2e
mov eax, dword [0xbc7270]
test eax, eax
jne 0x5775ad
lea eax, [0x7efb3a]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7efb3a]
call fcn.0044cc20
jmp 0x577585
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0xbc7270]
test eax, eax
jne 0x57760d
lea eax, [0x7e986f]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7e986f]
call fcn.0044cc20
jmp 0x5775e5
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x35
mov eax, dword [0xbc7270]
test eax, eax
jne 0x57766d
lea eax, [0x7f19c1]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7f19c1]
call fcn.0044cc20
jmp 0x577645
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea eax, [0x7d9900]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x742f60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00520060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x577a3c
test eax, eax
je 0x57775c
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xbc7270]
test eax, eax
jne 0x57774f
lea eax, [0x7ed4d0]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7ed4d0]
call fcn.0044cc20
jmp 0x577727
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x50], eax
lea ebx, [0x79e120]
mov dword [esp], ebx
call fcn.00409dc0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
lea ecx, [0x7475a0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00520060
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x577a1a
test edx, edx
jne 0x5779ba
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x57799f
xor ecx, ecx
test ecx, ecx
jg 0x577848
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x24
mov eax, dword [0xbc7270]
test eax, eax
jne 0x57783b
lea eax, [0x7eb9d3]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7eb9d3]
call fcn.0044cc20
jmp 0x577813
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x577984
xor edx, edx
test edx, edx
jle 0x5777e8
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x577969
xor edx, edx
test edx, edx
jle 0x5777e8
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x57794e
xor edx, edx
test edx, edx
jle 0x5777e8
lea eax, [0x78fb60]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [0xbc7270]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edi, dword [esp + 4]
test eax, eax
jne 0x577942
mov dword [edi], edx
mov edx, dword [0xbc7270]
mov eax, dword [ecx + 4]
test edx, edx
jne 0x577932
mov dword [edi + 4], eax
mov edx, dword [0xbc7270]
mov eax, dword [ecx + 8]
test edx, edx
jne 0x577922
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x577912
mov dword [edi + 0xc], eax
lea eax, [0x746ba0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0044cc20
mov edi, edx
jmp 0x5778ea
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
call fcn.0044cc20
mov edi, edx
jmp 0x5778d7
lea edx, [edi + 4]
mov ebx, edi
mov edi, edx
call fcn.0044cc20
mov edi, ebx
jmp 0x5778c7
mov eax, edx
call fcn.0044cc20
jmp 0x5778b7
movzx edx, byte [edx]
test dl, dl
je 0x57795f
mov edx, 0xffffffff
jmp 0x577887
mov edx, 1
jmp 0x577887
movzx edx, byte [edx]
test dl, dl
je 0x57797a
mov edx, 0xffffffff
jmp 0x57786f
mov edx, 1
jmp 0x57786f
movzx edx, byte [edx]
test dl, dl
je 0x577995
mov edx, 0xffffffff
jmp 0x57785b
mov edx, 1
jmp 0x57785b
movzx ecx, byte [ecx]
test cl, cl
je 0x5779b0
mov ecx, 0xffffffff
jmp 0x5777e4
mov ecx, 1
jmp 0x5777e4
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xbc7270]
test eax, eax
jne 0x577a0d
lea eax, [0x7ed4a8]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7ed4a8]
call fcn.0044cc20
jmp 0x5779e5
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [0xbae6d0]
mov ecx, dword [0xbae6d8]
mov edx, dword [0xbae6d4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004021b0
movzx eax, byte [esp + 0x18]
test al, al
je 0x577cda
lea eax, [0x7903a0]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x747720]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00520060
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x577cb8
test edx, edx
jne 0x577c58
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x577c3d
xor ecx, ecx
test ecx, ecx
jle 0x577bdd
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x577b84
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x32
mov eax, dword [0xbc7270]
test eax, eax
jne 0x577b77
lea eax, [0x7f106b]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7f106b]
call fcn.0044cc20
jmp 0x577b4f
lea eax, [0x78fd40]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0xbc7270]
mov eax, dword [eax]
test ecx, ecx
jne 0x577bd6
mov dword [edi], eax
lea eax, [0x77d4e0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
call fcn.0044cc20
jmp 0x577bae
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2a
mov eax, dword [0xbc7270]
test eax, eax
jne 0x577c30
lea eax, [0x7ee403]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7ee403]
call fcn.0044cc20
jmp 0x577c08
movzx ecx, byte [ecx]
test cl, cl
je 0x577c4e
mov ecx, 0xffffffff
jmp 0x577b15
mov ecx, 1
jmp 0x577b15
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xbc7270]
test eax, eax
jne 0x577cab
lea eax, [0x7ed4f8]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7ed4f8]
call fcn.0044cc20
jmp 0x577c83
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x25
mov eax, dword [0xbc7270]
test eax, eax
jne 0x577d2d
lea eax, [0x7ec0c2]
mov dword [edi], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x8f8790]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
add esp, 0x6c
ret
lea eax, [0x7ec0c2]
call fcn.0044cc20
jmp 0x577d05
call fcn.0044b4c0
jmp fcn.00577320