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

Disassembly:
push ebp
lea ebp, [esp - 0x3c]
sub esp, 0xf0
push ebx
mov ebx, dword [ebp + 0x6c]
mov eax, dword [ebx]
push esi
push edi
xor edi, edi
cmp eax, 0x28
mov esi, ecx
mov dword [ebp + 0x28], esi
mov dword [ebp - 8], edi
jb 0x60e53e
cmp dword [ebp + 0x70], edi
jne 0x60de74
lea ecx, [ebp + 0x70]
push ecx
push dword [ebx + 0x20]
movzx ecx, word [ebx + 0xe]
push dword [ebx + 0x10]
push ecx
push eax
push dword [ebp + 0x7c]
call fcn.0060c973
test eax, eax
je 0x60e53e
push dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
mov edx, ebx
call fcn.0060c849
cmp dword [ebx + 0x14], edi
mov dword [ebp + 0x70], eax
je 0x60de74
push ebx
call fcn.0060c87a
cmp eax, dword [ebx + 0x14]
ja 0x60e53e
mov eax, dword [ebp + 0x54]
cmp eax, edi
mov dword [ebp + 0x6c], eax
jge 0x60de83
neg eax
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x58]
cmp eax, edi
mov dword [ebp + 0x24], eax
jge 0x60de92
neg eax
mov dword [ebp + 0x24], eax
xor eax, eax
xor edi, edi
inc edi
cmp word [ebx + 0xe], di
mov dword [ebp - 0x10], 4
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp + 4], eax
mov dword [ebp + 0x10], eax
mov dword [ebp], eax
jne 0x60dee5
cmp dword [ebp + 0x78], 0xcc0020
je 0x60dee5
push dword [esi + 0x74]
push dword [ebp + 0x44]
call dword [0x39801110]
push dword [esi + 0x78]
mov dword [ebp + 0x6c], eax
push dword [ebp + 0x44]
call dword [0x398011a8]
mov dword [ebp + 0x14], eax
mov dword [ebp - 8], edi
jmp 0x60e429
cmp dword [0x3998359c], eax
jne 0x60defa
test byte [esi + 4], 4
jne 0x60defa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x6c]
add edx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x24]
add ecx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
push 3
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x44]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ecx
call dword [0x3980116c]
test eax, eax
je 0x60e429
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0060d223
mov dword [ebp + 0x6c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0060d223
mov esi, eax
mov eax, dword [ebp + 0x64]
test eax, eax
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x2c], eax
mov dword [ebp - 0xc], edi
jge 0x60df6d
mov ecx, eax
neg ecx
or dword [ebp - 0xc], 0xffffffff
mov dword [ebp + 0x2c], ecx
mov ecx, dword [ebp + 0x68]
test ecx, ecx
mov dword [ebp + 0x34], ecx
mov dword [ebp + 8], edi
jge 0x60df83
neg ecx
or dword [ebp + 8], 0xffffffff
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
jle 0x60e53e
mov edx, dword [ebx + 8]
test edx, edx
mov dword [ebp + 0x18], edx
jge 0x60df9d
neg edx
mov dword [ebp + 0x18], edx
cmp dword [ebp + 0x5c], 0
jge 0x60dfa7
and dword [ebp + 0x5c], 0
cmp dword [ebp + 0x5c], ecx
jle 0x60dfaf
mov dword [ebp + 0x5c], ecx
cmp dword [ebp + 0x60], 0
jge 0x60dfb9
and dword [ebp + 0x60], 0
cmp dword [ebp + 0x60], edx
jle 0x60dfc1
mov dword [ebp + 0x60], edx
mov edx, dword [ebp + 0x5c]
lea edi, [edx + eax]
test edi, edi
jge 0x60dfd2
mov eax, edx
neg eax
mov dword [ebp + 0x64], eax
cmp edi, ecx
jle 0x60dfdb
sub ecx, edx
mov dword [ebp + 0x64], ecx
mov edi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x68]
lea ecx, [edi + eax]
test ecx, ecx
jge 0x60dfed
neg edi
mov dword [ebp + 0x68], edi
cmp ecx, dword [ebp + 0x18]
jle 0x60dffb
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x60]
mov dword [ebp + 0x68], eax
xor eax, eax
cmp dword [ebp + 0x2c], eax
jle 0x60e53e
cmp dword [ebp + 0x34], eax
jle 0x60e53e
mov ecx, dword [ebp + 0x28]
cmp dword [ecx + 0x6c], eax
je 0x60e137
cmp dword [ebp + 0x78], 0xcc0020
je 0x60e137
and dword [ebp + 0x38], eax
mov edi, dword [ebx]
lea eax, [ebp + 0x20]
push eax
push dword [ebx + 0x20]
movzx eax, word [ebx + 0xe]
push dword [ebx + 0x10]
push eax
push edi
push 1
call fcn.0060c973
test eax, eax
je 0x60e137
test bl, 3
jne 0x60e055
mov edi, ebx
jmp 0x60e0c2
xor ecx, ecx
cmp dword [ebp + 0x74], ecx
sete cl
or eax, 0xffffffff
xor edx, edx
lea ecx, [ecx + ecx + 2]
div ecx
cmp dword [ebp + 0x20], eax
ja 0x60e137
imul ecx, dword [ebp + 0x20]
and dword [ebp + 0x38], 0
lea eax, [ebp + 0x38]
push eax
push ecx
push edi
call fcn.0053be2b
test eax, eax
jl 0x60e137
push dword [ebp + 0x38]
call fcn.005b5380
test eax, eax
mov dword [ebp + 0x20], eax
je 0x60e137
mov ecx, dword [ebp + 0x38]
mov eax, ecx
shr ecx, 2
mov esi, ebx
lea edi, [ebp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
mov dword [ebp + 0x38], 1
test edi, edi
je 0x60e137
mov eax, dword [ebp + 0x28]
push dword [eax + 0x68]
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x34]
push dword [ebp + 0x2c]
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x70]
push edi
push dword [ebp + 0x44]
call fcn.005dae50
test eax, eax
jne 0x60e12b
cmp dword [ebp + 0x38], eax
mov ecx, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x64], ecx
mov ecx, dword [ebp + 4]
mov dword [ebp], 1
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x70], ecx
je 0x60e429
push edi
call fcn.005b5395
jmp 0x60e429
cmp dword [ebp + 0x38], 0
je 0x60e137
push edi
call fcn.005b5395
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp + 0x6c]
jne 0x60e148
cmp dword [ebp + 0x34], esi
je 0x60e429
mov edi, dword [ebp + 0x28]
mov eax, dword [edi + 4]
test al, 8
mov ecx, dword [edi + 0x68]
mov dword [ebp + 0x14], ecx
je 0x60e167
cmp dword [0x3998359c], 0
jne 0x60e167
cmp dword [ebx + 0x10], 1
je 0x60e19d
test al, 3
je 0x60e42c
cmp ecx, 5
je 0x60e42c
cmp dword [ebp + 0x2c], 1
jle 0x60e42c
cmp dword [ebp + 0x34], 1
jle 0x60e42c
mov eax, esi
imul eax, dword [ebp + 0x6c]
cmp eax, 0x800000
jge 0x60e42c
push 0x328
mov dword [ebp + 0x30], 1
call fcn.005b5380
test eax, eax
je 0x60e1c7
push 0x21808
push esi
push dword [ebp + 0x6c]
mov ecx, eax
call fcn.005da98a
mov dword [ebp + 0x7c], eax
jmp 0x60e1cb
and dword [ebp + 0x7c], 0
cmp dword [ebp + 0x7c], 0
je 0x60e42c
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x60e429
mov edi, dword [ebx]
and dword [ebp + 0x2c], 0
lea eax, [ebp + 0x20]
push eax
push dword [ebx + 0x20]
movzx eax, word [ebx + 0xe]
push dword [ebx + 0x10]
push eax
push edi
push 1
call fcn.0060c973
test eax, eax
je 0x60e429
test bl, 3
jne 0x60e214
mov dword [ebp + 0x34], ebx
jmp 0x60e27e
xor ecx, ecx
cmp dword [ebp + 0x74], ecx
sete cl
or eax, 0xffffffff
xor edx, edx
lea ecx, [ecx + ecx + 2]
div ecx
cmp dword [ebp + 0x20], eax
ja 0x60e429
imul ecx, dword [ebp + 0x20]
and dword [ebp + 0x38], 0
lea eax, [ebp + 0x38]
push eax
push ecx
push edi
call fcn.0053be2b
test eax, eax
jl 0x60e429
push dword [ebp + 0x38]
call fcn.005b5380
test eax, eax
mov dword [ebp + 0x34], eax
je 0x60e429
mov ecx, dword [ebp + 0x38]
mov eax, ecx
shr ecx, 2
mov esi, ebx
lea edi, [ebp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x24]
mov dword [ebp + 0x2c], 1
cmp dword [ebp + 0x34], 0
je 0x60e429
push 0x328
call fcn.005b5380
test eax, eax
je 0x60e2a7
push 0
push dword [ebp + 0x70]
mov ecx, eax
push dword [ebp + 0x34]
call fcn.005daa23
jmp 0x60e2a9
xor eax, eax
test eax, eax
mov dword [ebp + 0x38], eax
je 0x60e3b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test eax, eax
je 0x60e3a8
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov edi, eax
test edi, edi
je 0x60e3a8
cmp dword [edi + 4], 0x61724731
jne 0x60e39b
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0054eec8
fldz
mov eax, dword [ebp + 0x18]
fstp dword [ebp - 0x48]
sub eax, dword [ebp + 0x60]
fldz
fstp dword [ebp - 0x44]
push 1
fild dword [ebp + 0x6c]
sub eax, dword [ebp + 0x68]
mov ecx, edi
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x64]
sub eax, dword [ebp - 0xc]
fstp dword [ebp - 0x40]
fild dword [ebp + 0x24]
fstp dword [ebp - 0x3c]
fild dword [ebp + 0x30]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 8]
fstp dword [ebp - 0x34]
fild dword [ebp + 0x5c]
fstp dword [ebp - 0x38]
fild dword [ebp + 0x30]
mov dword [ebp + 0x30], eax
fstp dword [ebp - 0x30]
fild dword [ebp + 0x30]
fstp dword [ebp - 0x2c]
call fcn.005c88bd
push dword [ebp + 0x14]
mov ecx, edi
call fcn.005c8917
lea ecx, [ebp - 0xb4]
call fcn.00602db6
push 0
push 0
push 3
lea ecx, [ebp - 0xb4]
call fcn.00602e47
lea eax, [ebp - 0xb4]
push eax
push 2
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x38]
mov ecx, edi
call fcn.006060a3
lea ecx, [ebp - 0xb4]
mov dword [ebp + 0x30], eax
call fcn.006031e9
push dword [ebp + 0x20]
call dword [0x398013ac]
mov ecx, edi
call fcn.006047a5
push edi
call fcn.005b5395
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp + 0x2c], 0
je 0x60e3be
push dword [ebp + 0x34]
call fcn.005b5395
cmp dword [ebp + 0x30], 0
jne 0x60e429
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp - 0x8c]
push eax
push 0x21808
push 1
push 0
call fcn.005dd3ef
test eax, eax
jne 0x60e429
push 0xb
pop ecx
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x8c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x68], esi
neg esi
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x74], ecx
lea ebx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x28
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], esi
mov word [ebp - 0x68], 1
mov word [ebp - 0x66], 0x18
mov edi, dword [ebp + 0x28]
cmp dword [ebp + 0x78], 0xcc0020
jne 0x60e453
cmp dword [edi + 0x6c], 0
je 0x60e44d
cmp dword [0x3998359c], 0
je 0x60e44d
cmp dword [0x399834f4], 4
jbe 0x60e453
test byte [edi + 4], 4
je 0x60e45a
mov dword [ebp - 0x10], 3
push dword [ebp - 0x10]
push dword [ebp + 0x44]
call dword [0x39801144]
xor esi, esi
xor eax, eax
cmp dword [0x3998359c], esi
jne 0x60e4a3
push dword [ebp + 0x78]
mov eax, dword [edi]
push dword [ebp + 0x74]
mov ecx, edi
push dword [ebp + 0x70]
push ebx
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push dword [ebp + 0x54]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
call dword [eax + 0x1c]
jmp 0x60e4bf
mov ecx, 0xcc0020
cmp dword [ebp + 0x78], ecx
je 0x60e4c3
cmp dword [0x399834f4], 4
ja 0x60e4c3
test byte [edi + 6], 1
je 0x60e4c3
mov dword [ebp + 0x78], ecx
cmp eax, esi
jne 0x60e4ee
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push ebx
push dword [ebp + 0x70]
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push dword [ebp + 0x54]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp + 0x44]
call dword [0x39801170]
mov edi, dword [ebp + 0x7c]
cmp edi, esi
je 0x60e50b
cmp dword [ebp + 0xc], esi
je 0x60e504
push dword [ebp + 0xc]
mov ecx, edi
call fcn.005d9f16
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp dword [ebp - 8], esi
je 0x60e528
push dword [ebp + 0x6c]
push dword [ebp + 0x44]
call dword [0x39801110]
push dword [ebp + 0x14]
push dword [ebp + 0x44]
call dword [0x398011a8]
cmp dword [ebp], esi
je 0x60e53e
push dword [ebp - 4]
call dword [0x39801254]
push dword [ebp + 0x10]
call fcn.005b5395
pop edi
pop esi
pop ebx
add ebp, 0x3c
leave
ret 0x3c