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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x590d02
sub esp, 0xb4
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0x4c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 4]
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
lea edx, [0x5beac0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00444f30
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 8], ebx
call fcn.004868e0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x590ac2
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 8], edx
call fcn.00486c40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jle 0x590ab2
mov dword [esp + 0x68], eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov esi, dword [esp + 0xa8]
jmp 0x590339
mov edi, dword [esp + 0xa4]
add edi, 0xc
mov ebp, eax
mov esi, edx
mov edx, ebx
mov ebx, ecx
mov ecx, edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x64], edx
mov dword [esp + 0xa4], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0xa8], eax
mov edi, dword [ecx + 8]
mov dword [esp + 0x60], edi
mov ecx, dword [ecx]
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004883a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 8], ebx
lea ebp, [0x6379bc]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [0x6379c0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.004484c0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.004890d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
nop
mov ebx, eax
and eax, 0x1f
cmp eax, 0x16
je 0x590a91
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ebp, dword [esp + 0xa8]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x60]
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x1c], esi
call fcn.0058b9f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x590743
test ecx, ecx
je 0x590693
cmp dword [ecx + 8], 0xe1bf9e84
jne 0x590738
lea esi, [0x639fb8]
cmp esi, edx
jne 0x590693
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x48]
lea ecx, [edx + eax]
mov dword [esp + 0x30], ecx
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x50]
cmp ebp, ecx
jb 0x59063d
mov edi, dword [esp + 0x88]
cmp eax, ecx
ja 0x590c88
mov dword [esp + 0x9c], edi
mov dword [esp + 0x38], ebp
lea ecx, [0x5beac0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and ebp, eax
lea eax, [edi + ebp]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004107d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x64]
inc ebx
mov ebp, dword [esp + 0x68]
cmp ebp, ebx
jg 0x590325
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x14], ebx
call fcn.004875d0
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x590620
lea eax, [0x5c6060]
mov dword [esp], eax
call fcn.0040b8e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], eax
mov eax, dword [0x770e60]
test eax, eax
jne 0x590612
mov eax, dword [esp + 0x84]
mov dword [edi], eax
lea eax, [0x639fb8]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], edi
add esp, 0xb4
ret
mov eax, dword [esp + 0x84]
call fcn.0045df70
jmp 0x5905f7
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xb4
ret
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x5c], edx
lea edx, [0x5beac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x9c]
lea esi, [0x639fb8]
jmp 0x590503
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x50]
cmp ebp, ebx
jb 0x5906e8
mov esi, dword [esp + 0x88]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x5906db
mov dword [edx], eax
mov eax, ebp
mov ecx, edi
mov edx, esi
jmp 0x590556
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x5906d0
mov dword [esp + 0x98], eax
mov dword [esp + 0x5c], ecx
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
jmp 0x5906b9
lea esi, [0x639fb8]
jmp 0x590693
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.00486a50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
call fcn.004890d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
nop
mov ebx, ecx
and ecx, 0x1f
cmp ecx, 0x16
je 0x590a70
mov dword [esp + 0x54], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ebp, dword [esp + 0x80]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.0058b9f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x5909fe
test ecx, ecx
je 0x59094e
cmp dword [ecx + 8], 0xe1bf9e84
jne 0x5909f3
lea esi, [0x639fb8]
cmp esi, edx
jne 0x59094e
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x48]
lea ecx, [edx + eax]
mov dword [esp + 0x2c], ecx
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x50]
cmp ebp, ecx
jb 0x5908f8
mov edi, dword [esp + 0x88]
cmp eax, ecx
ja 0x590c83
mov dword [esp + 0x34], ebp
mov dword [esp + 0x9c], edi
lea ecx, [0x5beac0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and ebp, eax
lea eax, [edi + ebp]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004107d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x9c]
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x590556
mov dword [esp + 0x5c], edx
mov dword [esp + 0x9c], ebx
lea edx, [0x5beac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x9c]
lea esi, [0x639fb8]
jmp 0x59089a
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x50]
cmp ebp, ebx
jb 0x5909a3
mov esi, dword [esp + 0x88]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x590996
mov dword [edx], eax
mov eax, edi
mov ecx, ebp
mov edx, esi
jmp 0x5908ed
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x59098b
mov dword [esp + 0x98], eax
mov dword [esp + 0x5c], ecx
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
jmp 0x590974
lea esi, [0x639fb8]
jmp 0x59094e
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
call fcn.00487cc0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x88]
jmp 0x590556
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00485c20
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x5907ec
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00485c20
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x590418
xor ecx, ecx
mov edx, dword [esp + 0xa8]
xor eax, eax
jmp 0x590567
nop
mov eax, dword [esp + 0xcc]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x60], eax
cmp eax, 0x14
ja 0x590c6a
lea edx, [eax - 0x12]
cmp edx, 1
ja 0x590c4f
test ecx, 0x200
je 0x590b53
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x14], eax
call fcn.004875d0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xb4
ret
test ecx, 0x80
je 0x590c41
mov eax, dword [esp + 0xc8]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x590af0
nop
mov edx, dword [esp + 0xd8]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x60], edx
cmp edx, 0x14
ja 0x590c28
lea ebp, [edx - 0x12]
cmp ebp, 1
ja 0x590c0c
test ebx, 0x200
je 0x590bd8
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004875d0
jmp 0x590b36
test ebx, 0x80
je 0x590c01
mov edx, dword [esp + 0xd4]
mov ebp, dword [edx]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x590b36
jmp 0x590ba2
mov edx, dword [esp + 0xd4]
mov ebp, edx
jmp 0x590be9
cmp edx, 0x14
jne 0x590c8d
mov edx, dword [esp + 0xd4]
mov esi, dword [edx]
test esi, esi
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
jmp 0x590bf5
cmp edx, 0x16
jbe 0x590b9a
cmp edx, 0x17
je 0x590c11
cmp edx, 0x1a
je 0x590b9a
jmp 0x590c8d
mov eax, dword [esp + 0xc8]
mov edx, eax
jmp 0x590b68
cmp eax, 0x14
jne 0x590cc7
mov eax, dword [esp + 0xc8]
mov ebx, dword [eax]
test ebx, ebx
setne dl
xor edx, 1
jmp 0x590b70
cmp eax, 0x16
jbe 0x590ae8
cmp eax, 0x17
je 0x590c54
cmp eax, 0x1a
je 0x590ae8
jmp 0x590cc7
call fcn.0045e050
call fcn.0045e050
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x5f065f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x5f065f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
nop
call fcn.0045ca10
jmp fcn.005901f0