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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x10376020]
xor eax, ebp
mov dword [esp + 0xa0], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
call edi
mov dword [ebx + 0x50], eax
or byte [ebx + 0x4c], 1
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
call edi
mov esi, eax
xor ecx, ecx
dec ecx
lea edx, [esp + 0x78]
mov dword [edx + 4], ecx
mov dword [edx], ecx
lea edx, [esp + 0x70]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov ecx, dword [eax]
mov dword [esp + 8], eax
mov edi, dword [ecx + 0x14]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
lea esi, [esp + 0x70]
push esi
lea eax, [esp + 0x7c]
push eax
call edi
xor edi, edi
mov eax, 0xf4240
push edi
push eax
push dword [esi + 4]
push dword [esi]
call fcn.002c7fe0
xor esi, esi
dec esi
push esi
push edx
push eax
call fcn.00412ef0
add esp, 0xc
mov dword [esp + 4], eax
push edi
mov eax, 0xf4240
push eax
lea eax, [esp + 0x80]
push dword [eax + 4]
push dword [eax]
call fcn.002c7fe0
push esi
push edx
push eax
call fcn.00412ef0
add esp, 0xc
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x6c], edi
mov dword [ebx + 0x70], edi
or byte [ebx + 0x4c], 4
lea ecx, [esp + 0x68]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
lea eax, [esp + 0x68]
push eax
call edi
lea esi, [esp + 0x60]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea ecx, [esp + 0x58]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x10391000]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x58]
push eax
push esi
call edi
xor eax, eax
dec eax
push eax
push dword [esi]
call fcn.00413100
add esp, 8
mov edi, eax
inc edi
mov ecx, 0xffffffff
cmove edi, ecx
mov edx, 0x7a120
cmp dword [esi + 4], edx
cmovl edi, eax
push ecx
lea eax, [esp + 0x5c]
push dword [eax]
call fcn.00413100
add esp, 8
mov esi, eax
inc esi
mov ecx, 0xffffffff
cmove esi, ecx
lea ecx, [esp + 0x58]
mov edx, 0x7a120
cmp dword [ecx + 4], edx
cmovl esi, eax
lea eax, [esp + 0x68]
mov eax, dword [eax]
mov ecx, eax
sar ecx, 0x1f
lea edx, [ebx + 0x54]
push ecx
push eax
push edx
call fcn.004162f0
add esp, 0xc
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x5c], esi
or byte [ebx + 0x4c], 2
lea ecx, [esp + 0x54]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esp + 0x50]
mov dword [ecx], eax
lea ecx, [esp + 0x4c]
mov dword [ecx], eax
lea ecx, [esp + 0x40]
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
lea ecx, [esp + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov edi, dword [eax + 0x44]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x54]
push eax
lea esi, [esp + 0x5c]
push esi
lea eax, [esp + 0x64]
push eax
call edi
mov esi, dword [esi]
mov ecx, esi
lea eax, [esp + 0x4c]
sub ecx, dword [eax]
mov edx, 0x88888889
mov eax, ecx
imul edx
mov edi, edx
mov edx, 0x77777777
mov eax, esi
imul edx
add edi, ecx
mov eax, edi
shr eax, 0x1f
sar edi, 5
add edi, eax
sub edx, esi
mov eax, edx
shr eax, 0x1f
sar edx, 5
add edx, eax
lea eax, [esp + 0x54]
mov eax, dword [eax]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
lea eax, [ebx + 0x88]
mov esi, 0x20
lea ecx, [esp + 0x40]
push ecx
push esi
push eax
call fcn.00416460
add esp, 0xc
lea eax, [ebx + 0xdc]
xor ecx, ecx
mov dword [ebx + 0xd8], ecx
xorps xmm0, xmm0
movups xmmword [ebx + 0xc8], xmm0
lea ecx, [esp + 0x30]
push ecx
push esi
push eax
call fcn.00416460
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebx + 0x11c], xmm0
mov dword [ebx + 0x12c], edi
mov dword [esp + 4], ebx
or byte [ebx + 0x4c], 0x40
lea eax, [esp + 0x24]
xor esi, esi
dec esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
push 0x1036602c
push 0x1031d97c
push 0x10366030
push 0x10366035
push 0x1036603e
push eax
call fcn.00335bb0
add esp, 0x18
lea eax, [esp + 0x90]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov ebx, eax
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
push ebx
call edi
lea ebx, [esp + 0x80]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov eax, dword [esi]
mov edi, dword [eax + 0x3c]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
push ebx
call edi
lea edi, [esp + 0x90]
movzx eax, byte [edi + 0xb]
test al, al
js 0x412be2
mov ecx, eax
and ecx, 0x7f
jmp 0x412be9
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x412c6a
movzx ecx, byte [esp + 0x8b]
test cl, cl
jns 0x412c02
mov edx, dword [esp + 0x84]
jmp 0x412c07
mov edx, ecx
and edx, 0x7f
test edx, edx
je 0x412c37
test cl, cl
jns 0x412c16
mov ebx, dword [esp + 0x80]
test al, al
jns 0x412c21
mov edi, dword [esp + 0x90]
lea eax, [esp + 0x18]
push ebx
push edi
push 0x10366092
push eax
call fcn.00335bb0
add esp, 0x10
jmp 0x412c9b
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 0x18], xmm0
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
jmp 0x412c9b
mov eax, dword [esp + 0x88]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 0x18], xmm0
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
cmp byte [esp + 0x8b], 0
jns 0x412cb4
push dword [esp + 0x80]
call fcn.002a5449
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x412ccd
push dword [esp + 0x90]
call fcn.002a5449
add esp, 4
mov edi, dword [esp + 4]
or byte [edi + 0x4d], 1
lea eax, [edi + 0x130]
lea esi, [esp + 0x18]
push esi
push 0x104
push eax
call fcn.00416460
add esp, 0xc
lea eax, [edi + 0x338]
lea ecx, [esp + 0x24]
push ecx
push 0x28
push eax
call fcn.00416460
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x412d16
push dword [esp + 0x18]
call fcn.002a5449
add esp, 4
cmp byte [esp + 0x2f], 0
jns 0x412d29
push dword [esp + 0x24]
call fcn.002a5449
add esp, 4
lea ebx, [esp + 0x90]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [eax + 0x34]
mov ecx, edi
call dword [0x10391000]
mov ecx, esi
mov esi, ebx
push ebx
call edi
mov eax, dword [ebx]
cmp dword [ebx + 4], eax
je 0x412d84
mov edi, dword [eax]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x10391000]
mov ecx, edi
call ebx
cmp dword [eax], 2
jne 0x412d84
mov ebx, eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x2d8]
or ecx, dword [eax + 0x2dc]
jne 0x412dd0
lea ecx, [esp + 0x80]
mov dword [ecx], esi
call fcn.002dcee0
cmp byte [esp + 0x3b], 0
jns 0x412da5
push dword [esp + 0x30]
call fcn.002a5449
add esp, 4
cmp byte [esp + 0x4b], 0
jns 0x412db8
push dword [esp + 0x40]
call fcn.002a5449
add esp, 4
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.002a5ceb
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea esi, [esp + 0x80]
mov dword [esi], 0xffffffff
push ebx
push esi
call fcn.0041bb20
add esp, 8
mov ecx, dword [esi]
call fcn.0041c2e0
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov edi, dword [eax + 0x2d8]
mov ecx, 0x80000000
or ecx, dword [eax + 0x2dc]
mov dword [esp + 0x10], ecx
mov ebx, dword [esi]
mov dword [esi], 0
mov esi, edi
shl esi, 0x14
sar esi, 0x1f
and esi, 0x240
mov dword [esp + 0x14], edi
shr edi, 7
and edi, 0x10
test ebx, ebx
je 0x412e44
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
call dword [0x10391000]
mov ecx, ebx
push 1
call dword [esp + 0x10]
lea ecx, [esp + 0x80]
lea eax, [esp + 0x90]
mov dword [ecx], eax
call fcn.002dcee0
mov ebx, dword [esp + 4]
mov dword [ebx + 0x388], 0x210
mov eax, dword [esp + 8]
mov dword [ebx + 0x38c], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x394], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x390], eax
xorps xmm0, xmm0
movups xmmword [ebx + 0x398], xmm0
movups xmmword [ebx + 0x3a8], xmm0
movups xmmword [ebx + 0x3b8], xmm0
movups xmmword [ebx + 0x3c8], xmm0
movups xmmword [ebx + 0x3d8], xmm0
xor eax, eax
mov dword [ebx + 0x3ec], eax
mov dword [ebx + 0x3e8], eax
mov dword [ebx + 0x3f0], esi
mov dword [ebx + 0x3f4], edi
lea ecx, [ebx + 0x3f8]
push 0x1a0
push eax
push ecx
call fcn.002a95c0
add esp, 0xc
mov byte [ebx + 0x59c], 1
jmp 0x412d92