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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
cmp dword [ecx + 0x60], 0
xorps xmm0, xmm0
mov eax, dword [ecx]
push ebx
push esi
push edi
mov eax, dword [eax + 0x34]
mov dword [esp + 0x44], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], eax
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
jne 0x1012bee5
call fcn.1011dbb0
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x2c], 0
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], edx
jne 0x1012bee5
call fcn.1011d9d0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x60], eax
cmp dword [ecx + 0x2c], 0
lea edx, [ecx + 0x2c]
jne 0x1012c3ac
mov eax, dword [ecx + 0x60]
inc dword [eax]
mov edi, dword [ecx + 0x60]
mov dword [esp + 0x3c], edi
test edi, edi
je 0x1012c3ac
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
cmp dword [edi + 0x1c], eax
jle 0x1012bf52
lea ebx, [edi + 0x24]
xor esi, esi
cmp dword [ebx], esi
jle 0x1012bf3e
xor edi, edi
mov edx, dword [ebx + 4]
add edx, edi
call fcn.1012aa20
mov ecx, dword [esp + 0xc]
inc esi
add edi, 0x38
cmp esi, dword [ebx]
jl 0x1012bf20
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
inc eax
add ebx, 0xc
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x1c]
jl 0x1012bf18
lea eax, [ecx + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov edx, edi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0
push 0
push 0x20
call fcn.10122530
mov ebx, dword [esp + 0x44]
add esp, 0x1c
mov esi, dword [esp + 0xc]
mov edx, ebx
mov ecx, esi
call fcn.10122840
mov edi, dword [esp + 0x4c]
test eax, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jne 0x1012c2f7
mov dword [esp + 0x10], edi
nop word [eax + eax]
mov eax, dword [ebx + 0x48]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x34], 0
movzx eax, word [eax + 4]
imul eax, eax, 0x68
mov ecx, dword [eax + ebx + 0xa8]
mov edi, dword [eax + ebx + 0xa0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + ebx + 0xac]
mov eax, dword [eax + ebx + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
cmp dword [eax], 0
jne 0x1012c2f3
cmp dword [esp + 0x40], 1
jne 0x1012c077
mov edx, ebx
mov ecx, esi
call fcn.1011f6a0
test eax, eax
jne 0x1012c1f5
mov eax, dword [esp + 0x18]
mov ecx, 0x51
mul ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
mul ecx
xor ecx, ecx
add edi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x24], ecx
jle 0x1012c06a
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov esi, edi
movsx eax, byte [eax + ecx]
mov ecx, ebx
shld esi, ecx, 3
cdq
shl ecx, 3
add ebx, ecx
mov ecx, dword [esp + 0x18]
adc edi, esi
add ebx, eax
adc edi, edx
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x24]
jl 0x1012c033
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x14], eax
xor dword [esp + 0x10], edi
jmp 0x1012c1f5
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov eax, dword [ebx + 0x48]
movzx eax, word [eax + 4]
imul edx, eax, 0x68
add edx, 0x50
add edx, ebx
mov dword [esp + 0x30], edx
mov eax, dword [edx + 0x60]
add eax, 8
cmp eax, dword [esp + 0x5c]
jbe 0x1012c0b8
push eax
lea edx, [esp + 0x58]
lea ecx, [esi + 0x2c]
call fcn.10114e00
add esp, 4
test eax, eax
jne 0x1012c0dc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
add eax, ecx
mov ecx, esi
add eax, dword [edx + 0x60]
push 0x10121ba0
movq qword [eax], xmm0
lea eax, [esp + 0x58]
push eax
call fcn.10121e70
add esp, 8
mov ecx, dword [esp + 0x58]
lea eax, [ecx + 4]
cmp eax, dword [esp + 0x5c]
jbe 0x1012c105
push eax
lea edx, [esp + 0x58]
lea ecx, [esi + 0x2c]
call fcn.10114e00
add esp, 4
test eax, eax
jne 0x1012c259
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov dword [ecx + eax], 0
mov eax, dword [esp + 0x58]
add eax, 4
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x48]
mov edx, eax
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x5c]
call fcn.101150c0
add esp, 8
test eax, eax
jne 0x1012c1f5
mov esi, dword [esp + 0x1c]
mov eax, esi
mov edx, dword [esp + 0x18]
mov ecx, edx
shld ecx, eax, 3
shl eax, 3
add esi, eax
mov dword [esp + 0x1c], esi
adc edx, ecx
mov dword [esp + 0x18], edx
nop word [eax + eax]
mov eax, dword [esp + 0x4c]
cdq
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x48]
add ebx, esi
mov edx, ebx
adc ecx, dword [esp + 0x18]
mov esi, ecx
shld esi, edx, 3
shl edx, 3
add ebx, edx
adc ecx, esi
and eax, 0x7fffffff
add ebx, eax
adc ecx, 0
xor eax, eax
mov dword [esp + 0x30], eax
test edi, edi
jle 0x1012c1c3
mov edx, dword [esp + 0x2c]
mov esi, ebx
mov edi, ecx
shld edi, esi, 3
movsx eax, byte [edx + eax]
shl esi, 3
add ebx, esi
cdq
adc ecx, edi
mov edi, dword [esp + 0x24]
add ebx, eax
mov eax, dword [esp + 0x30]
adc ecx, edx
inc eax
mov dword [esp + 0x30], eax
cmp eax, edi
jl 0x1012c196
xor dword [esp + 0x10], ecx
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
xor dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.101150c0
mov esi, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x1012c160
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
jne 0x1012c2de
mov eax, dword [ebx + 0x48]
lea ecx, [esp + 0x38]
push ecx
movzx edi, word [eax + 4]
imul esi, edi, 0x68
mov dword [esp + 0x3c], 0
lea eax, [esi + 0x50]
add eax, ebx
push eax
push dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esi + ebx + 0x78]
call eax
add esp, 0xc
cmp dword [esi + ebx + 0x5c], 0
je 0x1012c262
cmp dword [esp + 0x38], 0
jne 0x1012c262
lea eax, [esp + 0x34]
mov edx, edi
push eax
mov ecx, ebx
call fcn.101214a0
add esp, 4
test eax, eax
jne 0x1012c262
mov esi, dword [esp + 0x34]
jmp 0x1012c2ae
mov eax, dword [esp + 0x58]
jmp 0x1012c11b
mov ecx, dword [esp + 0xc]
mov edx, ebx
push 1
push edi
call fcn.10121430
mov edx, dword [ebx + 0x48]
add esp, 8
movzx eax, word [edx + 4]
imul ecx, eax, 0x68
cmp dword [ecx + ebx + 0x5c], 0
sete al
mov byte [ebx + 0x10], al
mov eax, dword [ecx + ebx + 0xa8]
mov ecx, dword [ecx + ebx + 0xac]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
movzx eax, word [edx + 4]
imul esi, eax, 0x68
add esi, 0x50
add esi, ebx
cmp dword [esi + 0xc], 0
je 0x1012c2de
cmp byte [ebx + 0x38], 0
je 0x1012c2ba
cmp dword [esi + 0x60], 0
je 0x1012c2c5
mov ecx, ebx
call fcn.10121600
test eax, eax
je 0x1012c2d4
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x1012c202
jmp 0x1012c2de
mov eax, dword [ebx + 0x2c]
push esi
push ebx
call eax
add esp, 8
mov esi, dword [esp + 0xc]
mov edx, ebx
mov ecx, esi
call fcn.10122840
test eax, eax
je 0x1012bfa0
mov edi, dword [esp + 0x10]
mov ecx, ebx
call fcn.10121260
cmp dword [esi + 0x2c], 0
jne 0x1012c320
cmp dword [esp + 0x44], 0
je 0x1012c320
mov eax, dword [esp + 0x14]
cmp dword [ebp + 8], eax
jne 0x1012c319
cmp dword [ebp + 0xc], edi
je 0x1012c320
mov dword [esi + 0x2c], 0x10b
mov ecx, dword [esp + 0x3c]
call fcn.1011d160
mov edi, dword [esp + 0x54]
test edi, edi
je 0x1012c39b
cmp dword [0x10178a38], 0
je 0x1012c391
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012c34d
push eax
call dword [0x10178a88]
add esp, 4
push edi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push edi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012c39b
push eax
call dword [0x10178a90]
mov eax, dword [esi + 0x2c]
add esp, 4
mov dword [esi + 0x2c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x10178a5c]
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret