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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffc0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x8f8
mov eax, dword [0x1007b210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x8cc], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x8c0], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x8e4], ecx
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x8a0], eax
mov eax, dword [eax + 0x44]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x8e0], ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x8d4], eax
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
mov dword [ebp - 0x8ac], edx
mov edx, dword [ebx + 0x34]
mov dword [ebp - 0x8d0], ecx
mov ecx, dword [esi + 0x10]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x8d8], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 0x89c], ecx
xor ecx, ecx
push 0x1a8
mov dword [ebp - 0x8dc], eax
mov dword [ebp - 0x8c8], edx
mov edx, dword [esi + 0x14]
push ecx
lea eax, [ebp - 0x860]
push eax
mov dword [ebp - 0x86c], esi
mov dword [ebp - 0x868], edi
mov dword [ebp - 0x864], 0x100000
mov dword [ebp - 0x8e8], edx
mov dword [ebp - 0x8a4], ecx
mov dword [ebp - 0x890], ecx
call fcn.1000e230
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x790], ecx
mov ecx, dword [edi + 0x10]
and ecx, 0x2000
mov dword [ebp - 0x780], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x708], ecx
imul ecx, ecx
mov edx, eax
shr edx, 2
mov dword [ebp - 0x6d8], ecx
mov ecx, dword [ebp - 0x8ac]
and edx, 1
mov dword [ebp - 0x788], edx
not eax
add esp, 0xc
lea edx, [ebp - 0x1c0]
mov dword [ebp - 0x70c], edx
mov edx, dword [ecx + 4]
and eax, 1
mov dword [ebp - 0x704], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x7cc], 0
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x79c], edx
mov ecx, 0x6a
lea esi, [ebp - 0x860]
lea edi, [ebp - 0x510]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x6a
lea esi, [ebp - 0x860]
lea edi, [ebp - 0x6b8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x6a
lea esi, [ebp - 0x860]
lea edi, [ebp - 0x368]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x8a0]
mov eax, dword [ecx + 0x20]
mov edi, dword [ebp - 0x868]
mov dword [edi + 0x20], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x43c], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x86c]
xor esi, esi
mov dword [edi + 0x24], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 0x870], esi
cmp dword [ecx + 0x14], esi
jbe 0x10061158
xor eax, eax
mov dword [ebp - 0x884], esi
mov dword [ebp - 0x8bc], eax
mov edi, dword [ebp - 0x8e8]
xor edx, edx
div edi
xor edx, edx
mov dword [ebp - 0x874], 0
imul eax, edi
mov edi, dword [ebx + 0x40]
lea eax, [eax + edi - 1]
div edi
mov edx, dword [0x10076828]
mov dword [ebp - 0x8b8], edx
mov edx, dword [0x1007682c]
mov dword [ebp - 0x8b4], edx
mov edx, dword [0x10076828]
mov dword [ebp - 0x898], edx
mov edx, dword [0x1007682c]
mov dword [ebp - 0x894], edx
imul eax, dword [ebp - 0x89c]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x88c], eax
jbe 0x10061128
mov edx, dword [ebp - 0x868]
add edx, 0x38
mov dword [ebp - 0x8c4], edx
mov edx, dword [ebp - 0x884]
mov dword [ebp - 0x880], edx
jmp 0x10060bd6
mov eax, dword [ebp - 0x88c]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp - 0x868]
imul ecx, esi
add ecx, dword [ebp - 0x874]
mov edi, dword [edx + 0x44]
imul ecx, ecx, 0x1e8
add edi, ecx
add ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x8a8], edi
mov dword [ebp - 0x878], ecx
cmp dword [ebp - 0x880], eax
jne 0x10060c1b
mov dword [ebp - 0x888], 1
test esi, esi
jne 0x10060c25
mov dword [ebp - 0x888], 0
mov eax, dword [ebp - 0x8c4]
push ecx
mov ecx, dword [ebp - 0x8c8]
push eax
mov eax, dword [ebp - 0x8d0]
mov dword [edi + 0xec], 0xffffffff
mov edx, dword [ecx]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x8d8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x8c0]
push ecx
mov ecx, dword [ebp - 0x8e0]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x8ac]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x8e4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x874]
push edx
mov edx, dword [ebp - 0x8cc]
push ecx
push edx
push esi
push eax
lea ecx, [ebp - 0x368]
push ecx
lea edx, [ebp - 0x6b8]
push edx
lea esi, [ebp - 0x510]
lea edx, [ebp - 0x860]
call fcn.1005f280
mov eax, dword [ebp - 0x8a0]
add esp, 0x38
cmp dword [eax + 0x14], 3
je 0x10060cfb
mov ecx, dword [ebp - 0x878]
mov eax, 0x10
cmp dword [ecx + 0xec], eax
jne 0x10060cfb
mov ecx, dword [0x10076828]
mov esi, dword [ebp - 0x874]
mov dword [edi + 0xec], eax
mov eax, dword [0x1007682c]
mov dword [edi + 0x194], ecx
mov dword [edi + 0x198], eax
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [edi + 0x154], 0
jmp 0x10061103
mov eax, dword [ebp - 0x878]
mov ecx, dword [ebp - 0x86c]
mov esi, dword [ebp - 0x874]
lea edx, [ebp - 0x864]
push edx
mov edx, dword [ebx + 0x14]
push eax
mov eax, dword [ebp - 0x8dc]
push edi
push ecx
mov ecx, dword [ebp - 0x870]
push edx
push eax
push esi
lea eax, [ebp - 0x860]
call fcn.1005fcb0
add esp, 0x1c
cmp dword [edi + 0xec], 4
mov dword [ebp - 0x8b0], eax
jne 0x10060d61
mov ecx, dword [ebp - 0x864]
mov dword [edi + 0x154], ecx
mov dword [edi + 0x178], 0
jmp 0x10061103
mov edx, dword [ebp - 0x88c]
mov eax, dword [ebp - 0x830]
mov ecx, dword [ebp - 0x834]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x86c]
lea edx, [ebp - 0x510]
push edx
push 3
lea eax, [ebp - 0x898]
push eax
mov eax, dword [ebp - 0x868]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x870]
push edx
push eax
push ecx
push esi
lea edx, [ebp - 0x864]
mov ecx, edi
call fcn.1005f610
mov edx, dword [ebp - 0x88c]
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0x82c]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x86c]
lea edx, [ebp - 0x6b8]
push edx
push 2
lea eax, [ebp - 0x8b8]
push eax
mov eax, dword [ebp - 0x868]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x870]
push edx
push eax
push ecx
push esi
lea edx, [ebp - 0x864]
mov ecx, edi
call fcn.1005f610
mov edx, dword [ebp - 0x868]
mov eax, dword [edx + 0x10]
add esp, 0x58
test eax, 0x10000000
je 0x10060e1a
mov ecx, dword [ebp - 0x864]
jmp 0x10060e26
mov edx, dword [ebp - 0x864]
mov ecx, edx
sar ecx, 1
add ecx, edx
mov edx, ecx
mov dword [ebp - 0x87c], ecx
cmp dword [ebp - 0x500], edx
jg 0x10060e65
mov edx, dword [ebp - 0x870]
mov edi, dword [ebp - 0x86c]
lea ecx, [ebp - 0x864]
push ecx
push edx
push esi
lea ecx, [ebp - 0x510]
call fcn.1005f7b0
mov edi, dword [ebp - 0x8a8]
mov esi, dword [ebp - 0x874]
add esp, 0xc
mov eax, dword [ebp - 0x87c]
cmp dword [ebp - 0x6a8], eax
jg 0x10060eab
mov edx, dword [ebp - 0x870]
mov eax, dword [ebp - 0x868]
mov edi, dword [ebp - 0x86c]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x864]
push ecx
push edx
push esi
lea ecx, [ebp - 0x6b8]
call fcn.1005f7b0
mov edi, dword [ebp - 0x8a8]
mov esi, dword [ebp - 0x874]
add esp, 0xc
mov ecx, dword [ebp - 0x690]
mov edx, dword [ebp - 0x694]
mov eax, dword [ebp - 0x4e8]
push ecx
mov ecx, dword [ebp - 0x4ec]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x86c]
lea edx, [ebp - 0x368]
push edx
mov edx, dword [ebp - 0x870]
lea eax, [ebp - 0x864]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x8b8]
lea ecx, [ebp - 0x898]
call fcn.10060030
mov eax, dword [ebp - 0x864]
mov ecx, dword [ebp - 0x358]
mov edx, eax
sar edx, 3
add edx, eax
add esp, 0x24
cmp ecx, edx
jge 0x10060f1e
mov edx, dword [ebp - 0x868]
test dword [edx + 0x10], 0x8000000
je 0x10060f22
cmp ecx, eax
jg 0x10060f52
mov ecx, dword [ebp - 0x86c]
mov edx, dword [ebp - 0x868]
lea eax, [ebp - 0x864]
push eax
mov eax, dword [edx + 0x10]
push ecx
mov ecx, dword [ebp - 0x870]
push eax
push ecx
push esi
lea eax, [ebp - 0x368]
call fcn.10060180
add esp, 0x14
jmp 0x10060f73
mov eax, dword [ebp - 0x86c]
mov edx, dword [ebp - 0x870]
push esi
lea esi, [ebp - 0x368]
call fcn.10060390
mov esi, dword [ebp - 0x874]
add esp, 4
mov eax, dword [ebp - 0x864]
lea edx, [eax + eax]
cmp dword [ebp - 0x850], edx
jg 0x10060fc5
mov ecx, dword [ebp - 0x868]
mov ecx, dword [ecx + 0x10]
test ecx, 0x4000000
jne 0x10060f9c
cmp eax, 0x2ee
jg 0x10060fa3
cmp eax, 0x3e8
jle 0x10060fc5
lea edx, [ebp - 0x864]
push edx
push ecx
mov ecx, dword [ebp - 0x878]
lea eax, [ebp - 0x860]
call fcn.1005ff90
mov eax, dword [ebp - 0x864]
add esp, 8
mov ecx, dword [ebp - 0x708]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp - 0x8b0]
add edx, edx
add edx, edx
add edx, edx
cmp ecx, edx
jae 0x10061034
imul eax, eax, 0x64
inc ecx
xor edx, edx
div ecx
cmp eax, 0x32
jbe 0x1006102e
push edi
lea esi, [ebp - 0x860]
mov dword [ebp - 0x7d0], 0
call fcn.1005f8d0
mov esi, dword [ebp - 0x874]
add esp, 4
cmp dword [edi + 0xec], 4
jne 0x1006102e
mov eax, dword [ebp - 0x8b0]
mov dword [edi + 0x154], eax
mov dword [edi + 0x178], 0
jmp 0x10061103
mov eax, dword [ebp - 0x864]
mov ecx, dword [ebp - 0x868]
mov ecx, dword [ecx + 0xc]
test ecx, 0x2000
je 0x100610a3
mov edx, dword [ebp - 0x888]
push edx
mov edx, dword [ebp - 0x86c]
push eax
mov eax, dword [ebp - 0x870]
push eax
mov eax, dword [ebp - 0x868]
push esi
push edx
push ecx
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x878]
lea edx, [ebp - 0x8b8]
push edx
lea eax, [ebp - 0x898]
push eax
push ecx
push edi
lea edx, [ebp - 0x368]
push edx
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x6b8]
push ecx
lea edx, [ebp - 0x860]
push edx
call fcn.10066180
add esp, 0x3c
jmp 0x100610e4
mov eax, dword [ebp - 0x888]
push eax
mov eax, dword [ebp - 0x878]
lea ecx, [ebp - 0x8b8]
push ecx
lea edx, [ebp - 0x898]
push edx
push eax
lea ecx, [ebp - 0x368]
push ecx
lea edx, [ebp - 0x510]
push edx
lea eax, [ebp - 0x6b8]
push eax
mov ecx, edi
lea eax, [ebp - 0x860]
call fcn.10060400
add esp, 0x1c
mov ecx, dword [ebp - 0x788]
push ecx
lea edx, [ebp - 0x890]
push edx
lea eax, [ebp - 0x8a4]
push eax
mov eax, edi
call fcn.100608a0
add esp, 0xc
mov ecx, dword [ebp - 0x86c]
inc dword [ebp - 0x880]
inc esi
cmp esi, dword [ecx + 0x10]
mov dword [ebp - 0x874], esi
mov esi, dword [ebp - 0x870]
jb 0x10060bd0
mov edi, dword [ebx + 0x40]
mov eax, dword [ebp - 0x8bc]
mov edx, dword [ebp - 0x89c]
add dword [ebp - 0x884], edx
inc esi
add eax, edi
mov dword [ebp - 0x870], esi
mov dword [ebp - 0x8bc], eax
cmp esi, dword [ecx + 0x14]
jb 0x10060b41
mov edi, dword [ebp - 0x868]
mov eax, dword [ebp - 0x8a4]
push eax
call fcn.100575a0
mov ecx, dword [ebp - 0x890]
push ecx
mov dword [edi + 0x20], eax
call fcn.100575a0
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [edi + 0x24], eax
pop edi
xor ecx, ebp
pop esi
call fcn.10007f62
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret