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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60052e94
push 0x60046770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x58], edx
push esp
push ecx
call fcn.600294a0
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x6002a7aa
mov esi, dword [ebp - 0x48]
mov eax, dword [esi]
cmp eax, 8
je 0x6002b0bf
cmp eax, 0xa
je 0x6002b0bf
cmp eax, 0xc
je 0x6002b0bf
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x6002a799
mov eax, dword [esi + 0x37e0]
test eax, eax
je 0x6002adf8
push esp
push esi
call fcn.60036820
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
je 0x6002a7e3
mov eax, dword [ebp - 0x50]
test eax, eax
jl 0x6002aebf
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3848]
mov dword [ebp - 0x38], edx
call dword [edx + 0x18]
mov eax, dword [ebp - 0x50]
mov esp, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x68], 1
mov eax, dword [ecx + 0x58]
cmp eax, 1
je 0x6002a80e
cmp eax, 5
je 0x6002a80e
mov eax, dword [ecx + 0x34]
cmp eax, 4
je 0x6002a80e
cmp eax, 0xff
je 0x6002a80e
cmp eax, 3
jne 0x6002a815
mov dword [ecx + 0x68], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ecx + 0x37c0], eax
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x6002aff3
cmp eax, 1
je 0x6002af16
cmp eax, 2
je 0x6002aa6e
cmp eax, 3
jne 0x6002a959
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx], 0
mov esi, dword [ecx + 0x37cc]
mov edx, 2
mov dword [esi + 4], edx
mov edi, dword [ecx + 0x37cc]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0x37cc]
mov eax, 1
mov dword [ebx + 0x10], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x14], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x18], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x20], edx
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x24], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x28], eax
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x30], 3
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x34], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x38], edx
mov eax, dword [ecx + 0x3714]
test eax, eax
jne 0x6002a94b
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6002a917
mov edx, dword [ecx + 0x37cc]
xor eax, eax
mov dword [edx + 0xc], eax
mov ebx, dword [ecx + 0x37cc]
mov esi, 1
mov dword [ebx + 0x1c], esi
mov edi, dword [ecx + 0x37cc]
mov dword [edi + 0x2c], esi
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
mov eax, dword [ecx + 0x37cc]
xor esi, esi
mov dword [eax + 0xc], esi
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x1c], esi
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x2c], esi
mov edi, dword [ecx + 0x37cc]
mov dword [edi + 0x3c], esi
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
cmp eax, 4
jne 0x6002ab40
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx], 0
mov esi, dword [ecx + 0x37cc]
mov edx, 2
mov dword [esi + 4], edx
mov edi, dword [ecx + 0x37cc]
mov eax, 1
mov dword [edi + 8], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x10], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x14], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x18], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x20], edx
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x24], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x28], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x30], 3
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x34], edx
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x38], eax
mov eax, dword [ecx + 0x3714]
test eax, eax
jne 0x6002aa60
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6002aa2c
mov edx, dword [ecx + 0x37cc]
xor eax, eax
mov dword [edx + 0xc], eax
mov ebx, dword [ecx + 0x37cc]
mov esi, 1
mov dword [ebx + 0x1c], esi
mov edi, dword [ecx + 0x37cc]
mov dword [edi + 0x2c], esi
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
mov eax, dword [ecx + 0x37cc]
xor esi, esi
mov dword [eax + 0xc], esi
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x1c], esi
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x2c], esi
mov edi, dword [ecx + 0x37cc]
mov dword [edi + 0x3c], esi
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx], 0
mov esi, dword [ecx + 0x37cc]
mov edx, 2
mov dword [esi + 4], edx
mov edi, dword [ecx + 0x37cc]
mov eax, 1
mov dword [edi + 8], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x10], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x14], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x18], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x20], edx
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x24], eax
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x3714]
test eax, eax
jne 0x6002ab37
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6002ab0f
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0xc], 0
mov edx, dword [ecx + 0x37cc]
mov ebx, 1
mov dword [edx + 0x1c], ebx
mov esi, dword [ecx + 0x37cc]
mov dword [esi + 0x2c], ebx
mov edi, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], edi
jmp 0x6002ab40
mov eax, dword [ecx + 0x37cc]
xor ebx, ebx
mov dword [eax + 0xc], ebx
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x1c], ebx
mov esi, dword [ecx + 0x37cc]
mov dword [esi + 0x2c], ebx
mov edi, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], edi
jmp 0x6002ab40
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
mov dword [ecx + 0x37a4], 8
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x2c]
mov dword [ecx + 0x37a8], ebx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x37ac], edx
xor eax, eax
mov dword [ecx + 0x6c], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ecx + 0x37b8], eax
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ecx + 0x37bc], eax
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x6002abda
mov edx, dword [ecx + 0x37cc]
mov eax, ebx
shl eax, 4
mov edi, dword [eax + edx + 4]
mov esi, dword [ebp - 0x24]
cmp esi, edi
jge 0x6002aba5
mov dword [ebp - 0x24], edi
mov dword [ecx + 0x37b8], edi
mov edi, dword [eax + edx + 8]
mov esi, dword [ebp - 0x28]
cmp esi, edi
jge 0x6002abb9
mov dword [ebp - 0x28], edi
mov dword [ecx + 0x37bc], edi
mov esi, dword [eax + edx + 4]
cmp esi, 1
je 0x6002af04
mov dword [ecx + 0x6c], 1
add ebx, 1
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x1c]
cmp ebx, eax
jl 0x6002ab8c
mov eax, dword [ecx + 0x74]
cmp eax, 1
je 0x6002adc6
mov eax, dword [ebp - 0x24]
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x24], eax
mov dword [ecx + 0x37b4], eax
mov edx, dword [ebp - 0x28]
add edx, edx
add edx, edx
add edx, edx
mov dword [ebp - 0x28], edx
mov dword [ecx + 0x37b0], edx
mov ebx, dword [ecx + 0x4c]
mov edi, eax
lea eax, [edi + ebx - 1]
cdq
idiv edi
mov esi, eax
mov dword [ecx + 0x78], esi
mov edi, dword [ecx + 0x50]
mov ebx, dword [ebp - 0x28]
lea eax, [ebx + edi - 1]
cdq
idiv ebx
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x37c4], esi
imul eax, esi
mov dword [ecx + 0x37c8], eax
mov esi, dword [ecx + 0x37e0]
test esi, esi
je 0x6002ad5c
mov eax, dword [ecx]
cmp eax, 8
je 0x6002ad00
cmp eax, 9
je 0x6002ad00
cmp eax, 0xc
je 0x6002ad00
cmp eax, 0xd
je 0x6002ad00
mov eax, dword [ebp - 0x50]
cmp eax, 1
je 0x6002acbb
cmp eax, 2
je 0x6002acbb
mov eax, dword [ecx + 0x3824]
test eax, eax
je 0x6002acaf
push esp
push eax
call fcn.60027be0
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x6002aca2
mov dword [ebp - 0x50], 0xfffffff7
jmp 0x6002a7aa
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x3824], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x6002a7aa
mov eax, dword [ecx + 0xc]
lea edx, [eax*8 + 8]
imul edx, dword [ecx + 0x37b8]
mov dword [ecx + 0xc], edx
mov eax, dword [ecx + 0x4c]
cmp edx, eax
jle 0x6002acd9
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x10]
lea edx, [eax*8 + 8]
imul edx, dword [ecx + 0x37bc]
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 0x50]
cmp edx, eax
jle 0x6002a7aa
mov dword [ecx + 0x10], eax
jmp 0x6002a7aa
lea eax, [ecx + 0x4857]
and eax, 0xffffffe0
mov dword [ecx + 0x4834], eax
mov edx, dword [ecx + 0x4de0]
test edx, edx
je 0x6002ad4d
push esp
push ecx
call fcn.60026f30
add esp, 8
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x37dc], 1
mov edx, dword [ebp - 0x44]
add edx, dword [ecx + 0x3804]
mov dword [ebp - 0x44], edx
mov dword [ecx + 0x48], edx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x28], edx
jmp 0x6002ac71
push esp
push ecx
call fcn.60025850
add esp, 8
mov dword [ebp - 0x50], eax
jmp 0x6002ad26
mov dword [ecx + 0x3804], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x6002adb7
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x3814], eax
push esp
push ecx
call fcn.60025500
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x6002a7aa
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
cmp eax, 0xa
je 0x6002ada1
cmp eax, 0xb
jne 0x6002ac4a
mov eax, dword [ecx + 0x3804]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], eax
mov eax, dword [ecx]
jmp 0x6002ac4a
add eax, 1
imul eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x20]
mov dword [ecx + 0x20], eax
jmp 0x6002ad73
mov eax, 8
mov dword [ebp - 0x24], eax
mov ebx, 8
mov dword [ecx + 0x37b4], ebx
mov edx, 8
mov dword [ebp - 0x28], edx
mov dword [ecx + 0x37b0], ebx
jmp 0x6002ac0a
mov ecx, dword [ebx + 0x2c]
mov dword [esi + 0x4c], ecx
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x50], eax
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x54], edx
mov edi, dword [ebx + 0x38]
mov dword [ebp - 0x28], edi
mov dword [esi + 0x58], edi
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x28], ecx
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 0x38], edx
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x20], edi
cmp edx, 2
je 0x6002aeba
mov edi, dword [ebx + 0x14]
imul edi, eax
add edi, dword [ebp - 0x20]
mov dword [esi + 0x3c], edi
test ecx, ecx
jge 0x6002ae7b
neg edi
mov dword [esi + 0x3c], edi
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x68], eax
mov ecx, dword [ebx + 0x4c]
mov dword [esi + 0x6c], ecx
mov ebx, dword [ebx + 0x50]
mov dword [esi + 0x70], ebx
cmp edx, 2
jne 0x6002a799
mov eax, dword [ebp - 0x24]
cmp eax, 3
jne 0x6002a799
mov eax, dword [ebp - 0x28]
cmp eax, 3
jne 0x6002a799
mov dword [esi + 0x5c], 2
jmp 0x6002a799
lea edi, [edi + eax*2]
jmp 0x6002ae6f
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x387c]
test edx, edx
je 0x6002a7b5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x387c]
push esp
push edx
call fcn.60027be0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x387c], 0
jmp 0x6002a7b5
mov eax, dword [eax + edx + 8]
cmp eax, 1
jne 0x6002abc6
jmp 0x6002abcd
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx], 0
mov esi, dword [ecx + 0x37cc]
mov edx, 2
mov dword [esi + 4], edx
mov edi, dword [ecx + 0x37cc]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0x37cc]
mov eax, 1
mov dword [ebx + 0x10], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x14], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x18], eax
mov ebx, dword [ecx + 0x37cc]
mov dword [ebx + 0x20], edx
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x24], eax
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x3714]
test eax, eax
jne 0x6002afe5
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6002afba
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0xc], 0
mov edx, dword [ecx + 0x37cc]
mov ebx, 1
mov dword [edx + 0x1c], ebx
mov esi, dword [ecx + 0x37cc]
mov dword [esi + 0x2c], ebx
mov edi, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], edi
jmp 0x6002ab40
mov eax, dword [ecx + 0x37cc]
xor ebx, ebx
mov dword [eax + 0xc], ebx
mov edx, dword [ecx + 0x37cc]
mov dword [edx + 0x1c], ebx
mov esi, dword [ecx + 0x37cc]
mov dword [esi + 0x2c], ebx
mov edi, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], edi
jmp 0x6002ab40
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
xor edx, edx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x6002b03d
mov eax, edx
shl eax, 4
mov ebx, dword [ecx + 0x37cc]
mov dword [eax + ebx], edx
mov esi, dword [ecx + 0x37cc]
mov edi, 1
mov dword [eax + esi + 4], edi
mov ebx, dword [ecx + 0x37cc]
mov dword [eax + ebx + 8], edi
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
cmp edx, eax
jl 0x6002b003
mov eax, dword [ecx + 0x3714]
test eax, eax
jne 0x6002ab40
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0xc], 0
mov edx, dword [ecx + 0x68]
test edx, edx
je 0x6002b0b1
mov eax, dword [ecx + 0x37c0]
cmp eax, 2
mov dword [ebp - 0x1c], eax
jl 0x6002ab40
mov ebx, 1
mov dword [ebp - 0x40], 1
cmp eax, 1
jle 0x6002ab40
mov edx, dword [ecx + 0x37cc]
mov eax, ebx
shl eax, 4
mov dword [eax + edx + 0xc], 1
add ebx, 1
mov dword [ebp - 0x40], ebx
mov esi, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], esi
cmp ebx, esi
jl 0x6002b086
jmp 0x6002ab40
mov eax, dword [ecx + 0x37c0]
mov dword [ebp - 0x1c], eax
jmp 0x6002ab40
mov eax, dword [esi + 0x3824]
test eax, eax
jne 0x6002a782
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push 0xc0000000
push edx
call fcn.60027ba0
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x6002b0f6
mov esi, dword [ebp - 0x48]
mov dword [esi + 0x3824], eax
jmp 0x6002a782
mov dword [ebp - 0x50], 0xfffffff6
jmp 0x6002a7aa