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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x264]
cmp eax, dword [ecx + 8]
jbe 0x5f6d2c
sub esp, 0x2e4
mov eax, dword [esp + 0x2e8]
mov ecx, dword [eax + 0x138]
test ecx, ecx
je 0x5f62b6
mov edx, dword [eax + 0x13c]
mov dword [esp + 0x2c8], ecx
mov dword [esp + 0x2cc], edx
mov ecx, dword [esp + 0x2c8]
test ecx, ecx
je 0x5f62ae
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5f62a5
or edx, 0x80
mov ebx, dword [esp + 0x2cc]
jmp 0x5f62bc
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5f62bc
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x1f
call fcn.004cc160
mov eax, dword [esp + 0x18]
and eax, 0x1f
mov dword [esp + 0x17c], eax
mov ecx, dword [esp + 0x14]
nop
cmp eax, 9
ja 0x5f6313
cmp eax, 7
jne 0x5f62f7
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5f6339
cmp eax, 8
jne 0x5f6303
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5f6339
cmp eax, 9
jne 0x5f6cee
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5f6339
cmp eax, 0xa
jne 0x5f631e
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5f6339
cmp eax, 0xb
jne 0x5f632c
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5f6339
cmp eax, 0xc
jne 0x5f6cee
mov ecx, dword [ecx]
xor ebx, ebx
test ecx, ecx
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
jne 0x5f6816
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x2e8]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5f63a0
lea edi, [esp + 0x88]
xor eax, eax
call fcn.004716c8
mov ecx, dword [edx + 0x78]
lea ebx, [0x6ae520]
cmp ecx, ebx
jne 0x5f6cd8
mov esi, dword [edx + 0x7c]
lea edi, [esp + 0x88]
call fcn.004719e0
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x20]
sub ebx, ecx
jmp 0x5f63db
lea edi, [esp + 0x88]
xor eax, eax
call fcn.004716c4
mov ecx, dword [edx + 0x78]
lea ebx, [0x6ae1a0]
cmp ecx, ebx
jne 0x5f6cc2
mov esi, dword [edx + 0x7c]
lea edi, [esp + 0x88]
call fcn.004719b8
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x20]
sub ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2e8]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5f6409
mov edx, dword [0x8e2600]
xor ebx, ebx
jmp 0x5f643c
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5f6cbb
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp edx, 3
jbe 0x5f6caf
mov ebp, dword [ecx + 0x288]
mov ebx, dword [ebx + ebp]
xor edx, edx
test edx, edx
jne 0x5f6804
mov dword [esp + 0x78], eax
lea edi, [esp + 0x38]
xor eax, eax
call fcn.004716f4
cmp ebx, 1
je 0x5f64ed
cmp ebx, 2
je 0x5f64bf
cmp ebx, 3
jne 0x5f6494
lea edi, [esp + 0x1e0]
call fcn.004716f4
lea ecx, [0x6a6460]
mov dword [esp], ecx
lea edx, [esp + 0x1e0]
mov dword [esp + 4], edx
call fcn.004e1200
mov ecx, dword [esp + 8]
jmp 0x5f6519
lea edi, [esp + 0x1b0]
call fcn.004716f4
lea ecx, [0x6a6460]
mov dword [esp], ecx
lea edx, [esp + 0x1b0]
mov dword [esp + 4], edx
call fcn.004e1200
mov ecx, dword [esp + 8]
jmp 0x5f6519
lea edi, [esp + 0x210]
call fcn.004716f4
lea ecx, [0x6a6460]
mov dword [esp], ecx
lea edx, [esp + 0x210]
mov dword [esp + 4], edx
call fcn.004e1200
mov ecx, dword [esp + 8]
add ecx, 0xfffffffc
jmp 0x5f6519
lea edi, [esp + 0x240]
call fcn.004716f4
lea ecx, [0x6a6460]
mov dword [esp], ecx
lea edx, [esp + 0x240]
mov dword [esp + 4], edx
call fcn.004e1200
mov ecx, dword [esp + 8]
add ecx, 0xfffffff8
mov eax, dword [esp + 0x78]
lea edx, [ecx + eax]
cmp eax, edx
setb bl
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x5f67a8
mov ebx, dword [esp + 0x2e8]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, eax
jbe 0x5f654d
cmp ebp, edx
jae 0x5f65a2
lea eax, [0x6765e0]
mov dword [esp + 0x2d0], eax
lea eax, [0x71cbd0]
mov dword [esp + 0x2d4], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x2d0]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0051f620
mov dword [esp + 0x2ec], 0
add esp, 0x2e4
ret
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
lea edi, [esp + 0x180]
lea esi, [esp + 0x38]
call fcn.00471b98
lea eax, [0x6a6460]
mov dword [esp], eax
lea ecx, [esp + 0x180]
mov dword [esp + 4], ecx
call fcn.004e1200
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
lea ecx, [0x676660]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046c2a0
mov eax, dword [esp + 0x2e8]
mov edx, dword [eax + 0x290]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x5f6caa
mov ebx, dword [esp + 0x78]
cmp ebx, ecx
ja 0x5f6ca3
mov ecx, dword [eax + 0x288]
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
add ecx, edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x68]
cmp edx, ebx
jl 0x5f6631
mov edx, ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x2dc], ebp
cmp ebp, ecx
je 0x5f6650
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00471df0
nop
lea eax, [0x6909e0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
jne 0x5f6680
mov ecx, dword [esp + 0x2dc]
jmp 0x5f668e
call fcn.00471460
mov ecx, dword [esp + 0x2dc]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
lea ecx, [0x71d720]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x71eb48]
mov dword [esp + 8], eax
lea eax, [0x90ed40]
mov dword [esp + 0xc], eax
lea eax, [0x6646e0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.004dffd0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5f674c
lea eax, [0x68fce0]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [esp + 0x2e0], eax
lea ecx, [0x6a6460]
mov dword [esp], ecx
lea edx, [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00409ff0
mov eax, dword [esp + 8]
lea ecx, [0x6a6460]
mov edx, dword [esp + 0x2e0]
mov dword [edx], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
je 0x5f673e
call fcn.00471470
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x3c]
xor ecx, ecx
jmp 0x5f6858
lea eax, [0x6765e0]
mov dword [esp + 0x2d0], eax
lea eax, [0x71cbd8]
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x2e8]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x2d0]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0051f620
mov dword [esp + 0x2ec], 0
add esp, 0x2e4
ret
lea eax, [0x6765e0]
mov dword [esp + 0x2d0], eax
lea eax, [0x71cbd0]
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x2e8]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x2d0]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0051f620
mov dword [esp + 0x2ec], 0
add esp, 0x2e4
ret
mov dword [esp + 0x2ec], 0
add esp, 0x2e4
ret
mov dword [esp + 0x2ec], 0
add esp, 0x2e4
ret
mov dword [eax + 0xc], edi
xchg ebp, ebx
setne bl
xchg ebp, ebx
lea esi, [edi + edi*2]
mov dword [ecx + esi*4 - 0xc], ebx
mov dword [ecx + esi*4 - 8], edx
lea ebx, [ecx + esi*4 - 0xc]
xchg ebp, eax
mov byte [ebx + 8], al
xchg ebp, eax
mov ebx, dword [esp + 0x74]
lea ecx, [ebx + 1]
mov ebx, dword [esp + 0x34]
add ebx, 8
mov edx, eax
mov eax, ebx
cmp dword [esp + 0x40], ecx
jle 0x5f69f4
mov dword [esp + 0x74], ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2e8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2e8]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5f689f
mov ebx, dword [0x8e2600]
xor ebp, ebp
jmp 0x5f68d6
mov ebx, dword [ecx + 0x28c]
cmp ebx, eax
jb 0x5f6c9c
mov ebp, dword [ecx + 0x290]
sub ebx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp ebx, 3
jbe 0x5f6c90
mov esi, dword [ecx + 0x288]
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5f69fb
test ebp, 1
je 0x5f68ed
mov ebx, ebp
and ebx, 0xfffffffe
jmp 0x5f68ef
mov ebx, ebp
lea esi, [eax + 4]
cmp edx, esi
jae 0x5f6900
mov eax, dword [0x8e2600]
xor edx, edx
jmp 0x5f693d
mov edx, dword [ecx + 0x28c]
cmp edx, esi
jb 0x5f6c87
mov edi, dword [ecx + 0x290]
sub edi, eax
sub edx, eax
add edx, 0xfffffffc
add edi, 0xfffffffc
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and esi, edi
cmp edx, 3
jbe 0x5f6c7b
mov edx, dword [ecx + 0x288]
mov edx, dword [esi + edx]
xor eax, eax
test eax, eax
jne 0x5f69fb
mov eax, dword [esp + 0x2e0]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
inc edi
mov ecx, dword [eax + 8]
cmp esi, edi
jb 0x5f6965
test ebp, 1
jmp 0x5f6828
mov dword [esp + 0x28], ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], edx
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x68fbe0]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2e0]
mov dword [ebx + 0x10], eax
mov eax, dword [0x90f128]
test eax, eax
jne 0x5f69c4
mov eax, dword [esp + 0x28]
test eax, 1
jmp 0x5f69da
call fcn.00471470
mov dword [edi], ecx
mov eax, dword [ebx + 8]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
test eax, 1
mov dword [ebx + 8], ecx
mov eax, ebx
mov ebx, dword [esp + 0x84]
mov edi, edx
mov edx, dword [esp + 0x80]
jmp 0x5f6828
mov ecx, dword [esp + 0x2e8]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5f6a07
xor edx, edx
jmp 0x5f6a31
mov eax, dword [esp + 0x2e0]
mov dword [esp + 0x2ec], eax
add esp, 0x2e4
ret
mov dword [eax + edx + 8], esi
mov ebx, dword [esp + 0x70]
lea edx, [ebx + 1]
lea eax, [ebp + 4]
mov ecx, dword [esp + 0x2e8]
cmp edx, 0x400
jge 0x5f6a07
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005ef660
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2e8]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5f6a6f
mov edx, dword [0x8e2600]
xor ebx, ebx
jmp 0x5f6aa2
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5f6c74
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
cmp edx, 3
jbe 0x5f6c68
mov ebx, dword [ecx + 0x288]
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5f6a07
lea edi, [esp + 0x270]
xor eax, eax
call fcn.004716f5
mov ecx, dword [esp + 0x2e8]
mov edx, dword [ecx + 0xac]
mov ebp, dword [ecx + 0xb0]
mov esi, dword [esp + 0x7c]
jmp 0x5f6be1
lea edi, [esp + 0x270]
call fcn.004716f5
lea edi, [esp + 0x29c]
lea esi, [esp + 0x270]
call fcn.00471ba2
mov ecx, dword [esp + 0x2e0]
mov edx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
inc ebp
mov esi, dword [esp + 0x2a0]
mov edi, dword [esp + 0x2a4]
mov eax, dword [ecx + 0x14]
cmp edx, ebp
jae 0x5f6b9b
mov dword [esp + 0x2d8], esi
mov dword [esp + 0x178], edi
mov dword [esp + 0x24], ebx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x68fc60]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x2e0]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x90f128]
test eax, eax
je 0x5f6b7b
call fcn.00471470
mov dword [edi], ecx
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov dword [ebx + 0x14], ecx
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x2d8]
mov edi, dword [esp + 0x178]
mov eax, ecx
mov ebp, edx
mov ecx, dword [esp + 0x2e0]
mov dword [ecx + 0x18], ebp
lea edx, [ebp - 1]
shl edx, 4
mov ebp, dword [esp + 0x7c]
mov dword [eax + edx], ebp
mov dword [eax + edx + 4], ebx
mov dword [eax + edx + 0xc], edi
mov ebx, dword [0x90f128]
test ebx, ebx
je 0x5f6a1c
call fcn.00471470
mov dword [edi], esi
mov ebx, dword [eax + edx + 8]
mov dword [edi + 4], ebx
jmp 0x5f6a1c
add edx, 0x2c
dec ebp
mov ecx, dword [esp + 0x2e8]
mov esi, edi
test ebp, ebp
jle 0x5f6ad4
lea edi, [esp + 0x29c]
mov esi, edx
call fcn.00471ba2
mov ecx, dword [esp + 0x2a8]
mov esi, dword [esp + 0x2ac]
mov edi, dword [esp + 0x7c]
jmp 0x5f6c22
mov esi, dword [esp + 0x2dc]
add esi, 0x28
mov edi, dword [esp + 0x6c]
dec edi
mov ecx, esi
mov esi, edi
mov edi, dword [esp + 0x7c]
test esi, esi
jle 0x5f6bd4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x2dc], ecx
lea edi, [esp + 0x270]
mov esi, ecx
call fcn.00471bac
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x290], ecx
jne 0x5f6c0b
lea edi, [esp + 0x270]
lea esi, [esp + 0x29c]
call fcn.00471ba2
mov esi, dword [esp + 0x7c]
jmp 0x5f6ae0
mov eax, 3
mov ecx, edx
call fcn.004714e0
mov ecx, edx
call fcn.00471550
mov eax, 3
mov ecx, edx
call fcn.004714e0
mov eax, esi
mov ecx, edx
call fcn.00471550
mov eax, 3
mov ecx, ebx
call fcn.004714e0
mov ecx, ebx
call fcn.00471550
mov eax, ebx
call fcn.00471550
call fcn.00471530
mov eax, 3
mov ecx, edx
call fcn.004714e0
mov ecx, edx
call fcn.00471550
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
lea eax, [0x68a880]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6be9e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x17c]
mov dword [eax + 8], ecx
lea ecx, [0x67f5e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046ab50
nop
call fcn.00470060
jmp fcn.005f6240