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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600577b4
push 0x60047a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov edx, 0x58
add edx, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x58], edx
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.60032ca0
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x60033ebf
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
cmp edx, 8
je 0x600346fb
cmp edx, 0xa
je 0x600346fb
cmp edx, 0xc
je 0x600346fb
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
test ecx, ecx
jne 0x60033e0a
mov ecx, dword [eax + 0x37e0]
test ecx, ecx
je 0x60034482
add esp, 0xfffffff8
mov dword [esp], eax
call fcn.60040220
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x68], 1
mov eax, dword [ecx + 0x58]
cmp eax, 1
je 0x600346ef
cmp eax, 5
je 0x600346ef
mov eax, dword [ecx + 0x34]
cmp eax, 4
je 0x600346ef
cmp eax, 0xff
je 0x600346ef
cmp eax, 3
je 0x600346ef
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x34]
cmp eax, dword [ecx + 0x37c0]
je 0x60033f10
mov edx, dword [ecx + 0x37cc]
test edx, edx
je 0x60033e94
add esp, 0xfffffff8
mov dword [esp], edx
call fcn.60047a3d
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
add esp, 8
mov dword [ecx + 0x37cc], 0
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x37c0], eax
add esp, 0xfffffff8
shl eax, 4
mov dword [esp], eax
call fcn.60047a2f
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x37cc], eax
test eax, eax
jne 0x60033eeb
mov dword [ebp - 0x3c], 0xfffffffb
mov eax, dword [ebp - 0x3c]
test eax, eax
jl 0x60034549
mov eax, dword [ebp - 0x3c]
mov esp, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edx + 0x37c0]
shl edx, 4
mov dword [ebp - 0x2c], edx
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [0x60053d58]
add esp, 8
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x60034648
cmp eax, 1
je 0x60034598
cmp eax, 2
je 0x600340fd
cmp eax, 3
jne 0x60034015
mov eax, dword [ecx + 0x37cc]
mov dword [eax], 0
mov eax, dword [ecx + 0x37cc]
mov edx, 2
mov dword [eax + 4], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 8], edx
mov eax, dword [ecx + 0x37cc]
mov esi, 1
mov dword [eax + 0x10], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x14], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x18], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x20], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x24], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x28], esi
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 [ebx + 0x48]
test eax, eax
je 0x60033fea
mov eax, dword [ecx + 0x37cc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x37cc]
mov esi, 1
mov dword [eax + 0x1c], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x3c], edx
jmp 0x600341a5
mov eax, dword [ecx + 0x37cc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x3c], edx
jmp 0x600341a5
cmp eax, 4
jne 0x600341a5
mov eax, dword [ecx + 0x37cc]
mov dword [eax], 0
mov eax, dword [ecx + 0x37cc]
mov edx, 2
mov dword [eax + 4], edx
mov eax, dword [ecx + 0x37cc]
mov esi, 1
mov dword [eax + 8], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x10], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x14], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x18], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x20], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x24], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x28], esi
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], esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x600340d2
mov eax, dword [ecx + 0x37cc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x37cc]
mov esi, 1
mov dword [eax + 0x1c], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x3c], edx
jmp 0x600341a5
mov eax, dword [ecx + 0x37cc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x3c], edx
jmp 0x600341a5
mov eax, dword [ecx + 0x37cc]
mov dword [eax], 0
mov eax, dword [ecx + 0x37cc]
mov edx, 2
mov dword [eax + 4], edx
mov eax, dword [ecx + 0x37cc]
mov esi, 1
mov dword [eax + 8], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x10], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x14], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x18], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x20], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x24], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x28], esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x60034188
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0xc], 0
mov eax, dword [ecx + 0x37cc]
mov edx, 1
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], edx
jmp 0x600341a5
mov eax, dword [ecx + 0x37cc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], edx
mov dword [ecx + 0x37a4], 8
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x37a8], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x37ac], eax
xor eax, eax
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x37b8], eax
mov dword [ecx + 0x37bc], eax
xor edx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x37c0]
test eax, eax
jle 0x60034245
mov eax, dword [ecx + 0x37cc]
mov esi, edx
shl esi, 4
add eax, esi
mov edi, dword [eax + 4]
cmp edi, dword [ecx + 0x37b8]
jle 0x60034207
mov dword [ecx + 0x37b8], edi
mov eax, dword [ecx + 0x37cc]
add eax, esi
mov edi, dword [eax + 8]
cmp edi, dword [ecx + 0x37bc]
jle 0x60034220
mov dword [ecx + 0x37bc], edi
mov eax, dword [ecx + 0x37cc]
add eax, esi
mov esi, dword [eax + 4]
cmp esi, 1
jne 0x60034230
mov eax, dword [eax + 8]
cmp eax, 1
je 0x60034237
mov dword [ecx + 0x6c], 1
add edx, 1
mov dword [ebp - 0x28], edx
cmp edx, dword [ecx + 0x37c0]
jl 0x600341e1
mov eax, dword [ecx + 0x74]
cmp eax, 1
je 0x6003444e
mov eax, dword [ecx + 0x37b8]
add eax, eax
add eax, eax
add eax, eax
mov dword [ecx + 0x37b4], eax
mov eax, dword [ecx + 0x37bc]
add eax, eax
add eax, eax
add eax, eax
mov dword [ecx + 0x37b0], eax
mov esi, dword [ecx + 0x37b4]
mov edi, dword [ecx + 0x4c]
lea eax, [edi + esi - 1]
cdq
idiv esi
mov dword [ecx + 0x78], eax
mov esi, eax
mov edi, dword [ecx + 0x37b0]
mov edx, dword [ecx + 0x50]
lea edx, [edx + edi - 1]
mov dword [ebp - 0x20], eax
mov eax, edx
cdq
idiv edi
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x37c4], esi
mov esi, dword [ebp - 0x20]
imul esi, eax
mov dword [ecx + 0x37c8], esi
mov esi, dword [ecx + 0x37e0]
test esi, esi
je 0x600343e3
mov eax, dword [ecx]
cmp eax, 8
je 0x6003437e
cmp eax, 9
je 0x6003437e
cmp eax, 0xc
je 0x6003437e
cmp eax, 0xd
je 0x6003437e
mov eax, dword [ebp - 0x3c]
cmp eax, 1
je 0x60034339
cmp eax, 2
je 0x60034339
mov eax, dword [ecx + 0x3824]
test eax, eax
je 0x6003432d
add esp, 0xfffffff8
mov dword [esp], eax
call fcn.60030d80
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x60034320
mov dword [ebp - 0x3c], 0xfffffff7
jmp 0x60033ebf
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x3824], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x60033ebf
mov edx, dword [ecx + 0xc]
lea edx, [edx*8 + 8]
imul edx, dword [ecx + 0x37b8]
mov dword [ecx + 0xc], edx
mov eax, dword [ecx + 0x4c]
cmp edx, eax
jle 0x60034357
mov dword [ecx + 0xc], eax
mov edx, dword [ecx + 0x10]
lea edx, [edx*8 + 8]
imul edx, dword [ecx + 0x37bc]
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 0x50]
cmp edx, eax
jle 0x60033ebf
mov dword [ecx + 0x10], eax
jmp 0x60033ebf
mov eax, 0x4857
add eax, ecx
and eax, 0xffffffe0
mov dword [ecx + 0x4834], eax
mov eax, dword [ecx + 0x4de0]
test eax, eax
je 0x600343d0
add esp, 0xfffffff8
mov dword [esp], ecx
call fcn.6002ffd0
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x37dc], 1
mov eax, dword [ebp - 0x30]
add eax, dword [ecx + 0x3804]
mov dword [ebp - 0x30], eax
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], eax
jmp 0x600342e8
add esp, 0xfffffff8
mov dword [esp], ecx
call fcn.6002eae0
add esp, 8
mov dword [ebp - 0x3c], eax
jmp 0x600343a9
mov dword [ecx + 0x3804], 0
mov eax, dword [ebx + 0xc]
test eax, eax
jl 0x6003443f
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x3814], eax
add esp, 0xfffffff8
mov dword [esp], ecx
call fcn.6002e990
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x60033ebf
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp eax, 0xa
je 0x60034429
cmp eax, 0xb
jne 0x600342c4
mov edx, dword [ecx + 0x3804]
mov dword [ecx + 0x48], edx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x28], edx
mov eax, dword [ecx]
jmp 0x600342c4
add eax, 1
imul eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x20]
mov dword [ecx + 0x20], eax
jmp 0x600343f7
mov eax, 8
mov dword [ecx + 0x37b4], eax
mov dword [ecx + 0x37b0], eax
jmp 0x60034275
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x50], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x54], ecx
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x58], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax + 0x5c], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x44], ecx
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x48], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x38], ecx
cmp ecx, 2
je 0x6003453e
mov ecx, dword [edx + 8]
imul ecx, dword [edx + 0x14]
add ecx, dword [edx + 0x10]
mov dword [eax + 0x3c], ecx
mov ebx, dword [eax + 0x28]
test ebx, ebx
jl 0x60034537
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0x4c]
mov dword [eax + 0x6c], ecx
mov edx, dword [edx + 0x50]
mov dword [eax + 0x70], edx
mov ecx, dword [eax + 0x38]
cmp ecx, 2
jne 0x60033e0a
mov edx, dword [eax + 0x34]
cmp edx, 3
jne 0x60033e0a
mov edx, dword [eax + 0x58]
cmp edx, 3
jne 0x60033e0a
mov dword [eax + 0x5c], 2
jmp 0x60033e0a
neg ecx
mov dword [eax + 0x3c], ecx
jmp 0x600344f5
mov ebx, dword [edx + 0x10]
mov esi, dword [edx + 8]
lea ecx, [ebx + esi*2]
jmp 0x600344eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x387c]
test eax, eax
je 0x60033eca
mov eax, dword [ebp + 8]
add esp, 0xfffffff8
mov eax, dword [eax + 0x387c]
mov dword [esp], eax
call fcn.60030d80
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax + 0x387c], 0
jmp 0x60033eca
mov eax, dword [ecx + 0x37cc]
mov dword [eax], 0
mov eax, dword [ecx + 0x37cc]
mov edx, 2
mov dword [eax + 4], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 8], edx
mov eax, dword [ecx + 0x37cc]
mov esi, 1
mov dword [eax + 0x10], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x14], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x18], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x20], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x24], esi
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x28], esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x60034626
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0xc], 0
mov eax, dword [ecx + 0x37cc]
mov edx, 1
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], edx
jmp 0x600341a5
mov eax, dword [ecx + 0x37cc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x37cc]
mov dword [eax + 0x2c], edx
jmp 0x600341a5
xor eax, eax
mov dword [ebp - 0x28], 0
mov edx, dword [ecx + 0x37c0]
test edx, edx
jle 0x600346a0
mov esi, eax
shl esi, 4
mov edi, dword [ecx + 0x37cc]
mov dword [esi + edi], eax
mov edi, dword [ecx + 0x37cc]
mov edx, 1
mov dword [esi + edi + 4], edx
mov edi, dword [ecx + 0x37cc]
mov dword [esi + edi + 8], edx
mov edi, dword [ecx + 0x37cc]
mov dword [esi + edi + 0xc], 0
add eax, 1
mov dword [ebp - 0x28], eax
mov edx, dword [ecx + 0x37c0]
cmp eax, edx
jl 0x6003465b
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x600341a5
cmp edx, 2
jl 0x600341a5
mov eax, 1
mov dword [ebp - 0x28], 1
cmp edx, 1
jle 0x600341a5
mov edx, dword [ecx + 0x37cc]
mov esi, eax
shl esi, 4
mov dword [esi + edx + 0xc], 1
add eax, 1
mov dword [ebp - 0x28], eax
cmp eax, dword [ecx + 0x37c0]
jl 0x600346c9
jmp 0x600341a5
mov dword [ecx + 0x68], 0
jmp 0x60033e57
mov edx, dword [eax + 0x3824]
test edx, edx
jne 0x60033df3
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0xc0000000
call fcn.60030d20
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x6003473c
mov edx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x3824], edx
jmp 0x60033df3
mov dword [ebp - 0x3c], 0xfffffff6
jmp 0x60033ebf