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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x168]
cmp eax, dword [ecx + 8]
jbe 0x609ca1
sub esp, 0x1e8
mov ecx, dword [esp + 0x1f4]
movzx edx, byte [ecx + 0x295]
mov ebx, dword [esp + 0x1ec]
mov ebp, dword [ebx + 0x14]
test dl, dl
je 0x609754
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00471a24
mov ecx, dword [esp + 0x1f4]
mov edx, dword [ecx + 0x78]
mov eax, ebx
lea ebx, [0x6e9e20]
cmp edx, ebx
jne 0x609c8a
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x44]
call fcn.00471d18
mov ecx, dword [esp + 0x68]
jmp 0x609789
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00471a28
mov ecx, dword [esp + 0x1f4]
mov edx, dword [ecx + 0x78]
mov eax, ebx
lea ebx, [0x6ea1a0]
cmp edx, ebx
jne 0x609c74
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0x44]
call fcn.00471d40
mov ecx, dword [esp + 0x68]
cmp ecx, 0x200
jbe 0x60987e
test ecx, 1
je 0x609878
mov edx, dword [esp + 0x1f4]
mov ebx, dword [edx + 0x278]
mov esi, dword [edx + 0x274]
inc esi
mov edi, dword [edx + 0x270]
cmp ebx, esi
jae 0x609830
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6a7120]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1f4]
mov dword [ebx + 0x278], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x60981c
call fcn.004717d0
mov dword [edi], ecx
mov eax, dword [ebx + 0x270]
mov dword [edi + 4], eax
mov dword [ebx + 0x270], ecx
mov ebp, dword [esp + 0x24]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov edx, ebx
mov dword [edx + 0x274], esi
lea ebx, [edi + esi*8 - 4]
mov eax, dword [0x9326d4]
lea esi, [edi + esi*8 - 8]
mov edi, dword [0x9326d0]
mov dword [ebx], eax
mov eax, dword [0x95f020]
test eax, eax
jne 0x60985e
cmp ecx, 0x200
jmp 0x609874
mov eax, edi
call fcn.004717d0
mov dword [edi], eax
mov ebx, dword [esi]
mov dword [edi + 4], ebx
cmp ecx, 0x200
mov edi, eax
mov dword [esi], edi
jmp 0x609885
cmp ecx, 0x200
mov edx, dword [esp + 0x1f4]
jb 0x60988d
and ebp, 0xfffffe00
mov eax, dword [edx + 0x28c]
sub eax, ebp
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [ecx + 0x10]
cmp ebx, eax
jbe 0x6098a8
mov eax, dword [ecx + 8]
jmp 0x6098b1
mov eax, dword [ecx + 8]
cmp eax, ebx
ja 0x6098b1
mov eax, ebx
mov dword [esp + 0x28], eax
mov ebx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005fcb20
mov eax, dword [esp + 0x1f4]
mov ecx, dword [eax + 0xa0]
mov edx, dword [esp + 8]
mov dword [esp + 0x20], edx
mov ebx, dword [eax + 0xa4]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x1ec]
xor esi, esi
jmp 0x609915
mov eax, dword [esp + 0x1e4]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x38]
lea esi, [eax + 1]
mov ebp, dword [esp + 0x1ec]
mov eax, dword [esp + 0x1f4]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
cmp esi, ebx
jge 0x6099a9
mov dword [esp + 0x38], esi
mov dword [esp + 0x1e4], ecx
lea edi, [esp + 0x1b8]
mov esi, ecx
call fcn.00471f02
mov ecx, dword [eax + 0xa4]
dec ecx
mov esi, edx
mov edx, dword [esp + 0x38]
cmp edx, ecx
je 0x6099a5
mov dword [esp], ebp
lea eax, [esp + 0x1b8]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.004024a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6098ee
mov edx, dword [esp + 0x1f4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x38]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x609c6f
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov ebp, dword [esp + 0x1ec]
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, edx
jmp 0x6099ad
xor ecx, ecx
jmp 0x6099ad
mov esi, edx
xor ecx, ecx
test ecx, ecx
je 0x6099c8
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x609bcf
xor ecx, ecx
test cl, cl
je 0x6099e5
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x609b02
xor ecx, ecx
test cl, cl
je 0x6099ff
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x40], edx
xor ebx, ebx
jmp 0x609a4e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1f0]
cmp ecx, esi
jb 0x609a17
add eax, esi
cmp ecx, eax
setb al
jmp 0x609a19
xor eax, eax
mov byte [esp + 0x1f8], al
add esp, 0x1e8
ret
mov eax, dword [esp + 0x1e4]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1f4]
mov ebp, dword [esp + 0x1ec]
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x609acd
mov dword [esp + 0x1e4], ecx
lea edi, [esp + 0x134]
mov esi, ecx
call fcn.00471f02
mov ecx, dword [eax + 0xa4]
dec ecx
cmp ebx, ecx
je 0x609ac5
mov dword [esp + 0x2c], ebx
mov dword [esp], ebp
lea eax, [esp + 0x134]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.004024a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x609a27
mov edx, dword [esp + 0x1f4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x2c]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x609ad6
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov esi, dword [esp + 0x20]
jmp 0x609acf
mov esi, dword [esp + 0x20]
xor eax, eax
jmp 0x609acf
xor eax, eax
sub eax, esi
jmp 0x609a03
call fcn.00471840
mov eax, dword [esp + 0x1e4]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x1ec]
mov eax, dword [esp + 0x1f4]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x609b90
mov dword [esp + 0x1e4], ecx
lea edi, [esp + 0x160]
mov esi, ecx
call fcn.00471f02
mov ecx, dword [eax + 0xa4]
dec ecx
cmp ebx, ecx
je 0x609b88
mov dword [esp + 0x30], ebx
mov dword [esp], ebp
lea eax, [esp + 0x160]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.004024a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x609adb
mov edx, dword [esp + 0x1f4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x609ba3
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov ebp, dword [esp + 0x1ec]
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, edx
jmp 0x609b92
mov esi, dword [esp + 0x20]
xor ecx, ecx
jmp 0x609b92
xor ecx, ecx
mov edx, dword [esp + 0x28]
lea ebx, [edx + esi]
cmp ecx, ebx
setb cl
jmp 0x6099e7
call fcn.00471840
mov eax, dword [esp + 0x1e4]
lea ecx, [eax + 0x2c]
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x1ec]
mov eax, dword [esp + 0x1f4]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x609c5d
mov dword [esp + 0x1e4], ecx
lea edi, [esp + 0x18c]
mov esi, ecx
call fcn.00471f02
mov ecx, dword [eax + 0xa4]
dec ecx
cmp ebx, ecx
je 0x609c55
mov dword [esp + 0x34], ebx
mov dword [esp], ebp
lea eax, [esp + 0x18c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x28
call fcn.004024a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x609ba8
mov edx, dword [esp + 0x1f4]
mov ecx, dword [edx + 0xa4]
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
cmp ecx, eax
jbe 0x609c6a
mov eax, dword [edx + 0xa0]
imul ecx, ebx, 0x2c
mov eax, dword [ecx + eax + 0x38]
mov ebp, dword [esp + 0x1ec]
mov esi, dword [esp + 0x20]
mov ecx, eax
mov eax, edx
jmp 0x609c5f
mov esi, dword [esp + 0x20]
xor ecx, ecx
jmp 0x609c5f
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
setb cl
jmp 0x6099ca
call fcn.00471840
call fcn.00471840
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6a8ba0]
mov dword [esp + 8], eax
call fcn.0040a040
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x6a8ba0]
mov dword [esp + 8], eax
call fcn.0040a040
nop
call fcn.004703c0
jmp fcn.006096e0