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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x592b20
sub esp, 0xe8
mov eax, dword [esp + 0xec]
mov dword [esp], eax
call fcn.0058bd30
mov eax, dword [esp + 4]
test eax, eax
je 0x592216
mov edx, dword [esp + 0xec]
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x59223c
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
mov edx, dword [esp + 0xec]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], ebp
mov edi, dword [eax]
cmp edi, 3
je 0x5922fd
mov dword [esp + 0x54], ecx
cmp edi, 4
jne 0x5923b8
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.0046860a
mov ecx, dword [esp + 0x58]
mov edi, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ebp
mov ebp, dword [ecx + 0x38]
mov eax, dword [ecx + 0x3c]
mov edi, dword [ecx + 0x40]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edi
lea edi, [esp + 0xb8]
mov eax, esi
lea esi, [esp + 0xd0]
call fcn.00468ae4
mov ecx, dword [esp + 0x58]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x48], ebp
mov esi, dword [ecx + 8]
mov dword [esp + 0x44], esi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x40], ecx
mov edi, dword [edx + 0x140]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x592796
test ecx, ecx
jne 0x592415
cmp byte [eax + 0x45], 1
jne 0x5923c9
cmp byte [eax + 0x46], 1
jne 0x5923c9
lea eax, [0x5ea900]
mov dword [esp], eax
call fcn.0040c420
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x58]
movzx edx, byte [eax + 0x45]
mov byte [ecx], dl
movzx eax, byte [eax + 0x46]
mov byte [ecx + 1], al
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
nop
mov ebp, dword [esp + 0xec]
mov byte [ebp + 0xf8], 0
inc dword [ebp + 0xf4]
mov esi, dword [ebp + 0xe8]
mov edi, dword [ebp + 0xf0]
cmp esi, edi
jbe 0x592470
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ecx
mov eax, dword [ebp + 0xe4]
lea ecx, [edi + edi*8]
lea eax, [eax + ecx*8]
cmp dword [eax], 2
sete al
mov byte [ebp + 0xdd], al
inc dword [ebp + 0xf0]
mov dword [esp], ebp
call fcn.0058bd30
mov eax, dword [esp + 4]
test eax, eax
jne 0x592225
jmp 0x592461
mov eax, dword [0x793134]
mov dword [esp + 0x48], eax
xor edi, edi
jmp 0x592494
nop
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [edx], 4
mov dword [edx + 8], 0x20
mov ebp, dword [0x7c3fa0]
test ebp, ebp
je 0x5923f4
mov ebp, dword [edx + 4]
call fcn.00468400
mov dword [edi], ebp
lea ebp, [0x615db1]
mov dword [edx + 4], ebp
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ebx
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
nop
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [edx], 4
mov dword [edx + 8], 0x1f
mov ebp, dword [0x7c3fa0]
test ebp, ebp
je 0x592440
mov ebp, dword [edx + 4]
call fcn.00468400
mov dword [edi], ebp
lea ebp, [0x615758]
mov dword [edx + 4], ebp
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ebx
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
mov eax, edi
mov ecx, esi
call fcn.00468460
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x20]
cmp edi, eax
jge 0x59269a
mov ebp, dword [0x793134]
cmp edi, ebp
jae 0x592772
mov dword [esp + 0x30], edi
lea ebp, [edi + edi*2]
mov ebx, dword [0x793130]
lea ebx, [ebx + ebp*8]
mov ebp, edi
lea edi, [esp + 0xa0]
mov esi, ebx
call fcn.00468ae4
mov ecx, dword [edx + 0x140]
mov dword [esp + 0x44], ecx
xor ebx, ebx
jmp 0x5926fe
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
lea ecx, [0x5ddd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d9f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x40], ecx
lea edx, [0x5ddd80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d9f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0046860a
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa4]
cmp edx, ecx
jl 0x592573
mov edx, ecx
mov ecx, dword [esp + 0xa0]
cmp ecx, eax
je 0x59258e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00468d00
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xb0]
cmp edx, ecx
jl 0x5925a2
mov edx, ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xac]
cmp ebx, ecx
je 0x5925c1
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00468d00
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x144]
mov ebx, dword [ecx + 0x140]
inc ebx
mov ebp, dword [ecx + 0x13c]
cmp edx, ebx
jae 0x592645
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5ea840]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xec]
mov dword [ebx + 0x144], eax
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x592634
call fcn.00468410
mov dword [edi], ecx
mov ebp, dword [ebx + 0x13c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x13c], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xec]
mov dword [ecx + 0x140], ebx
mov edx, dword [0x7c3fa0]
lea ebx, [ebx + ebx*2]
lea edi, [ebp + ebx*8 - 0x18]
test edx, edx
je 0x592685
mov dword [esp + 0x64], edi
lea eax, [0x5ea840]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00411660
mov ecx, dword [esp + 0xec]
mov edi, dword [esp + 0x64]
lea esi, [esp + 0x70]
call fcn.00468ae4
mov edx, dword [esp + 0xec]
jmp 0x592479
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x5926bd
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x5926bb
call fcn.00468410
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x5926e6
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x5926e4
call fcn.00468410
mov dword [edi], ebp
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [eax], ebp
mov byte [esp + 0xf8], 1
add esp, 0xe8
ret
inc ebx
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x30]
cmp ebx, ecx
jge 0x5924db
mov esi, dword [edx + 0x140]
cmp ebx, esi
jae 0x592769
mov esi, dword [esp + 0xa4]
mov edi, dword [edx + 0x13c]
lea eax, [ebx + ebx*2]
lea ebp, [edi + eax*8]
lea eax, [edi + eax*8]
cmp dword [ebp + 4], esi
je 0x59272f
xor eax, eax
jmp 0x592760
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0xa0]
mov eax, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00403320
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x28]
test al, al
je 0x5926f5
jmp 0x592479
mov eax, ebx
mov ecx, esi
call fcn.00468460
mov eax, edi
mov ecx, ebp
call fcn.00468460
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
jge 0x592851
mov eax, dword [edx + 0x140]
cmp ebx, eax
jae 0x592b16
mov eax, dword [esp + 0xbc]
mov ecx, dword [edx + 0x13c]
lea esi, [ebx + ebx*2]
lea ebp, [ecx + esi*8]
lea ecx, [ecx + esi*8]
cmp dword [ebp + 4], eax
je 0x5927cf
xor eax, eax
jmp 0x5927fc
mov edx, dword [esp + 0xb8]
mov ecx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403320
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
test al, al
je 0x59277b
nop
mov dword [edx], 4
mov dword [edx + 8], 0x1e
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x592820
cmp ebx, edi
jmp 0x59282e
mov ecx, dword [edx + 4]
mov eax, edi
call fcn.00468400
mov dword [edi], ecx
cmp ebx, eax
lea ecx, [0x61500a]
mov dword [edx + 4], ecx
mov ebx, dword [esp + 0x48]
mov dword [edx + 0x14], ebx
mov ebx, dword [esp + 0x44]
mov dword [edx + 0x18], ebx
mov ebx, dword [esp + 0x40]
mov dword [edx + 0x1c], ebx
jmp 0x592a33
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x48], eax
lea ecx, [0x5ddd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d9f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x44], ecx
lea edx, [0x5ddd80]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d9f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0046860a
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xbc]
cmp edx, ecx
jl 0x5928f8
mov edx, ecx
mov ecx, dword [esp + 0xb8]
cmp ecx, eax
je 0x592913
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00468d00
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xc8]
cmp ecx, edx
jg 0x592927
mov edx, ecx
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0xc4]
cmp ecx, ebx
je 0x592949
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00468d00
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x144]
mov ebx, dword [ecx + 0x140]
inc ebx
mov ebp, dword [ecx + 0x13c]
cmp edx, ebx
jae 0x5929cd
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5ea840]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xec]
mov dword [ebx + 0x144], eax
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x5929bc
call fcn.00468410
mov dword [edi], ecx
mov ebp, dword [ebx + 0x13c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x13c], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xec]
mov dword [ecx + 0x140], ebx
mov edx, dword [0x7c3fa0]
lea ebx, [ebx + ebx*2]
lea edi, [ebp + ebx*8 - 0x18]
test edx, edx
je 0x592a10
mov dword [esp + 0x64], edi
lea eax, [0x5ea840]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00411660
mov ecx, dword [esp + 0xec]
mov edi, dword [esp + 0x64]
lea esi, [esp + 0x88]
call fcn.00468ae4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
lea ecx, [0x61500a]
mov edx, dword [esp + 0xec]
jl 0x592b07
mov ebx, dword [esp + 0x20]
inc ebx
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x592a4c
mov eax, dword [esp + 0x5c]
jmp 0x592a91
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ea840]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [0x61500a]
mov edx, dword [esp + 0xec]
mov esi, eax
mov eax, ebp
mov ebp, esi
mov esi, dword [0x7c3fa0]
lea edi, [ebx + ebx*2]
lea edi, [eax + edi*8 - 0x18]
test esi, esi
je 0x592aec
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x64], edi
lea eax, [0x5ea840]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xd0]
mov dword [esp + 8], eax
call fcn.00411660
mov eax, dword [esp + 0x60]
lea ecx, [0x61500a]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x64]
lea esi, [esp + 0xd0]
call fcn.00468ae4
mov ecx, dword [esp + 0x54]
mov edx, ebx
mov ebx, eax
mov eax, ebp
jmp 0x592348
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
mov ecx, eax
mov eax, ebx
call fcn.00468460
nop
call fcn.00467000
jmp fcn.005921d0