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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x40], edx
mov edx, 0x10125160
mov dword [esp + 0xc], esi
mov ecx, 0x10125130
push edi
mov eax, dword [esi]
lea edi, [esi + 0x2c]
push 0
mov dword [esp + 0x40], edi
cmp dword [eax + 0x34], 1
cmovne ecx, edx
mov edx, 0x10125620
mov dword [esp + 0x34], ecx
mov ecx, 0x10125340
cmovne ecx, edx
mov edx, 0xf
mov dword [esp + 0x38], ecx
mov ecx, 1
cmovne ecx, edx
mov edx, 0x78
mov dword [esp + 0x2c], ecx
mov ecx, 0x20
cmovne ecx, edx
mov dword [esp + 0x44], ecx
lea eax, [ecx + ecx*2]
mov ecx, edi
shl eax, 2
push eax
call fcn.10112db0
add esp, 8
mov ebx, eax
cmp dword [esi + 0x60], 0
mov dword [esp + 0x20], ebx
jne 0x10125eed
mov ecx, esi
call fcn.1011b6c0
cmp dword [edi], 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
jne 0x10125ef2
mov ecx, esi
call fcn.1011b4e0
mov dword [esi + 0x60], eax
cmp dword [edi], 0
je 0x10125ef6
xor ecx, ecx
jmp 0x10125efe
mov eax, dword [esi + 0x60]
inc dword [eax]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x2c], ecx
test ebx, ebx
je 0x1012687b
test ecx, ecx
je 0x1012687b
cmp dword [esp + 0x64], 0
xorps xmm0, xmm0
mov ebp, 1
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ebp
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
je 0x1012628a
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x18]
push edx
push 0
push 0xffffffffffffffff
push dword [esp + 0x78]
mov edx, ecx
mov dword [esp + 0x48], 0
push eax
push dword [esp + 0x84]
mov ecx, esi
mov byte [eax], 0x30
push 0x30
call fcn.1011ffe0
mov esi, dword [esp + 0x34]
add esp, 0x1c
cmp dword [edi], 0
jne 0x10125fe6
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x34]
cmp edx, ebp
jne 0x10125f95
mov dword [esi + 0x2c], 0x1011fb60
jmp 0x10125fe6
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10125fa5
mov dword [esi + 0x2c], 0x1011fb80
jmp 0x10125fe6
cmp dword [ecx], 0
jne 0x10125fb3
mov dword [esi + 0x2c], 0x1011fc40
jmp 0x10125fe6
test edx, edx
jne 0x10125fc0
mov dword [esi + 0x2c], 0x1011fda0
jmp 0x10125fe6
cmp dword [eax + 0xc], 0x64
jg 0x10125fdf
mov dword [esi + 0x2c], 0x1011fc90
lea edx, [esi + 0x1c]
push dword [eax + 0xc]
mov ecx, edi
call fcn.101128a0
add esp, 4
jmp 0x10125fe6
mov dword [esi + 0x2c], 0x1011fc50
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
nop
cmp dword [edi], 0
jne 0x10126050
cmp byte [esi + 0x10], 0
jne 0x10126050
mov eax, dword [esi + 0x48]
movzx eax, word [eax + 4]
imul eax, eax, 0x68
add eax, 0x50
add eax, esi
push eax
mov eax, dword [esi + 0x2c]
push esi
call eax
add esp, 8
cmp dword [esi + 0xc], 0
je 0x1012603b
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 4]
sub ecx, ebp
push esi
sbb eax, ebx
push eax
push ecx
push dword [esp + 0x20]
call dword [esp + 0x44]
mov ebp, dword [esi]
add esp, 0x14
mov ebx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
mov edx, esi
call fcn.1011f4f0
add esp, 4
jmp 0x10125ff0
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
test esi, esi
je 0x10126229
xor ebp, ebp
cmp dword [esi + 0x30], ebp
jle 0x101261ca
lea ebx, [esi + 0x5c]
lea ecx, [ebx + 0x40]
call fcn.10112ad0
mov edi, dword [ebx]
test edi, edi
je 0x101260d8
cmp dword [0x10177b48], 0
je 0x101260ce
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1012609c
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101260dd
push eax
call dword [0x10177ba0]
jmp 0x101260d5
push edi
call dword [0x10177b6c]
add esp, 4
mov eax, dword [0x1017ad00]
mov edi, dword [ebx + 4]
test edi, edi
je 0x10126137
cmp dword [0x10177b48], 0
je 0x1012612d
test eax, eax
je 0x101260fb
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10126137
push eax
call dword [0x10177ba0]
jmp 0x10126134
push edi
call dword [0x10177b6c]
add esp, 4
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
call fcn.1011e960
mov ecx, dword [ebx + 0x3c]
call fcn.1011c330
mov edi, dword [ebx + 0x38]
test edi, edi
je 0x101261a9
cmp dword [0x10177b48], 0
je 0x1012619f
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1012616d
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101261a9
push eax
call dword [0x10177ba0]
jmp 0x101261a6
push edi
call dword [0x10177b6c]
add esp, 4
push 0x68
lea eax, [ebx - 0xc]
push 0
push eax
call fcn.10138870
inc ebp
add esp, 0xc
add ebx, 0x68
cmp ebp, dword [esi + 0x30]
jl 0x10126072
mov edi, dword [esp + 0x3c]
lea ecx, [esi + 0x1c]
call fcn.10112ad0
cmp dword [0x10177b48], 0
je 0x10126281
mov eax, dword [0x1017ad00]
test eax, eax
je 0x101261f2
push eax
call dword [0x10177b98]
add esp, 4
push esi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push esi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10126225
push eax
call dword [0x10177ba0]
add esp, 4
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
add al, 0x30
mov byte [ecx], al
lea eax, [esp + 0x18]
push eax
push 0
push 0xffffffffffffffff
push dword [esp + 0x78]
push ecx
push dword [esp + 0x84]
mov ecx, esi
push 0x38
call fcn.1011ffe0
mov ebx, dword [esp + 0x34]
add esp, 0x1c
cmp dword [edi], 0
jne 0x101262f0
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 0x34]
cmp edx, 1
jne 0x1012629c
mov dword [ebx + 0x2c], 0x1011fb60
jmp 0x101262f0
push esi
call dword [0x10177b6c]
jmp 0x10126222
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jmp 0x1012622d
mov ecx, dword [ebx + 0x28]
test ecx, ecx
jne 0x101262ac
mov dword [ebx + 0x2c], 0x1011fb80
jmp 0x101262f0
cmp dword [ecx], 0
jne 0x101262ba
mov dword [ebx + 0x2c], 0x1011fc40
jmp 0x101262f0
test edx, edx
jne 0x101262c7
mov dword [ebx + 0x2c], 0x1011fda0
jmp 0x101262f0
cmp dword [eax + 0xc], 0x64
jg 0x101262e6
mov dword [ebx + 0x2c], 0x1011fc90
lea edx, [ebx + 0x1c]
push dword [eax + 0xc]
mov ecx, edi
call fcn.101128a0
add esp, 4
jmp 0x101262f0
mov dword [ebx + 0x2c], 0x1011fc50
nop dword [eax]
cmp dword [esi + 0x2c], 0
jne 0x101264ef
cmp byte [ebx + 0x10], 0
jne 0x101264ef
mov eax, dword [ebx + 0x48]
movzx eax, word [eax + 4]
imul eax, eax, 0x68
add eax, 0x50
add eax, ebx
push eax
push ebx
mov edi, dword [eax + 0x50]
mov esi, dword [eax + 0x4c]
mov eax, dword [ebx + 0x2c]
call eax
add esp, 8
test ebp, ebp
je 0x10126393
mov eax, dword [esp + 0x6c]
cmp edi, eax
jl 0x101264ef
mov ecx, dword [esp + 0x68]
mov edx, eax
sub edx, 4
jb 0x10126351
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10126356
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10126340
cmp edx, 0xfffffffc
je 0x10126393
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x101264ef
cmp edx, 0xfffffffd
je 0x10126393
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x101264ef
cmp edx, 0xfffffffe
je 0x10126393
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x101264ef
cmp edx, 0xffffffff
je 0x10126393
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
jne 0x101264ef
cmp dword [ebx + 0xc], 0
je 0x101264d1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [ebx + 4], edx
jg 0x101264a8
jl 0x101263b8
cmp dword [ebx], eax
ja 0x101264a8
cmp dword [esp + 0x58], 0
jle 0x101264a8
mov ecx, dword [esp + 0x10]
xor ebp, ebp
cmp dword [ecx + 0x2c], ebp
jne 0x10126495
cmp dword [esp + 0x58], 0
je 0x10126491
mov edx, dword [esp + 0x28]
mov ebx, edx
imul ebx, ebp
mov edi, ebx
lea esi, [edx + ebx]
cmp ebx, esi
jge 0x1012644e
mov ecx, dword [esp + 0x20]
lea eax, [ebx*2 + 1]
add eax, ebx
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
cmp dword [eax], 0
je 0x10126412
inc edi
add eax, 0xc
cmp edi, esi
jl 0x10126403
jmp 0x1012644e
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*2]
movq xmm1, qword [esp + 0x54]
lea edx, [ecx + eax*4]
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x5c]
movq qword [edx], xmm1
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 0
cmp edi, esi
jne 0x10126486
mov edi, dword [esp + 0x20]
lea eax, [ebx + ebx*2]
lea edi, [edi + eax*4]
push edi
push edx
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [esp + 0x44]
add esp, 0x10
cmp ebx, esi
jge 0x10126482
lea eax, [edi + 4]
sub esi, ebx
mov dword [eax], 0
lea eax, [eax + 0xc]
sub esi, 1
jne 0x10126474
mov ecx, dword [esp + 0x10]
inc ebp
cmp dword [ecx + 0x2c], 0
je 0x101263d2
mov ebx, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [ebx]
sub ecx, eax
mov eax, dword [ebx + 4]
push ebx
sbb eax, edx
push eax
push ecx
push dword [esp + 0x20]
call dword [esp + 0x44]
mov eax, dword [ebx]
add esp, 0x14
mov esi, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
mov edx, ebx
mov ecx, esi
call fcn.1011f4f0
mov ebp, dword [esp + 0x20]
add esp, 4
jmp 0x101262f0
xor ebx, ebx
mov ecx, dword [esp + 0x10]
lea esi, [ebx + ebx*2]
mov edi, dword [esp + 0x20]
shl esi, 2
cmp dword [ecx + 0x2c], 0
jne 0x1012651a
lea eax, [esi + edi]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [esp + 0x44]
add esp, 0x10
mov ebp, dword [esp + 0x28]
add ebp, ebx
cmp ebx, ebp
jge 0x1012653f
add esi, edi
mov edi, ebp
sub edi, ebx
nop word [eax + eax]
mov ecx, esi
call fcn.10112ad0
add esi, 0xc
sub edi, 1
jne 0x10126530
mov ebx, ebp
cmp ebx, dword [esp + 0x40]
jl 0x101264f1
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x10126715
xor ebx, ebx
cmp dword [ebp + 0x30], ebx
jle 0x101266b5
lea esi, [ebp + 0x5c]
lea ecx, [esi + 0x40]
call fcn.10112ad0
mov edi, dword [esi]
test edi, edi
je 0x101265c7
cmp dword [0x10177b48], 0
je 0x101265bd
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1012658b
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101265cc
push eax
call dword [0x10177ba0]
jmp 0x101265c4
push edi
call dword [0x10177b6c]
add esp, 4
mov eax, dword [0x1017ad00]
mov edi, dword [esi + 4]
test edi, edi
je 0x10126626
cmp dword [0x10177b48], 0
je 0x1012661c
test eax, eax
je 0x101265ea
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10126626
push eax
call dword [0x10177ba0]
jmp 0x10126623
push edi
call dword [0x10177b6c]
add esp, 4
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
call fcn.1011e960
mov ecx, dword [esi + 0x3c]
call fcn.1011c330
mov edi, dword [esi + 0x38]
test edi, edi
je 0x10126698
cmp dword [0x10177b48], 0
je 0x1012668e
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1012665c
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10126698
push eax
call dword [0x10177ba0]
jmp 0x10126695
push edi
call dword [0x10177b6c]
add esp, 4
push 0x68
lea eax, [esi - 0xc]
push 0
push eax
call fcn.10138870
inc ebx
add esp, 0xc
add esi, 0x68
cmp ebx, dword [ebp + 0x30]
jl 0x10126561
lea ecx, [ebp + 0x1c]
call fcn.10112ad0
cmp dword [0x10177b48], 0
je 0x1012670b
mov eax, dword [0x1017ad00]
test eax, eax
je 0x101266d9
push eax
call dword [0x10177b98]
add esp, 4
push ebp
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebp
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10126715
push eax
call dword [0x10177ba0]
jmp 0x10126712
push ebp
call dword [0x10177b6c]
add esp, 4
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x10]
add eax, 0x14
push 0
push eax
lea ecx, [ebp + 0x2c]
call fcn.10112db0
mov esi, eax
add esp, 8
test esi, esi
je 0x10126863
lea edx, [esi + 0xc]
mov dword [esi], edx
mov ecx, dword [esp + 0x58]
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x58]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10126761
push eax
push dword [esp + 0x58]
push edx
call fcn.10139d00
add esp, 0xc
mov edx, 2
mov ecx, ebp
call fcn.1011f5e0
mov ebx, eax
test ebx, ebx
je 0x1012680b
lea edi, [ebx + 0xb8]
mov dword [edi + 4], 1
cmp dword [esi + 8], 0
jle 0x101267d9
mov dword [edi + 0xc], esi
lea edx, [edi + 0x58]
mov ecx, dword [esi]
call fcn.101356a0
cmp dword [esp + 0x44], 0
mov ecx, 1
movzx eax, al
cdq
mov dword [edi + 0x1c], edx
mov edx, edi
mov dword [edi + 0x18], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x48]
mov word [eax + 4], cx
je 0x101267ce
mov dword [ebx + 0x34], ecx
mov ecx, ebp
or dword [edi + 4], 2
call fcn.1011cdf0
xor esi, esi
jmp 0x101267dd
mov ecx, ebp
call fcn.1011caa0
xor esi, esi
jmp 0x101267dd
mov byte [ebx + 0x10], 1
test byte [edi + 4], 2
je 0x101267ea
mov ecx, 0x1011d190
jmp 0x101267fe
mov eax, dword [ebp]
mov ecx, 0x1011d4a0
mov edx, 0x1011d210
cmp dword [eax + 0x34], 1
cmove ecx, edx
mov eax, dword [esp + 0x74]
mov dword [edi + 0x28], ecx
mov dword [eax], ebx
test esi, esi
je 0x10126863
cmp dword [0x10177b48], 0
je 0x10126859
mov eax, dword [0x1017ad00]
test eax, eax
je 0x10126827
push eax
call dword [0x10177b98]
add esp, 4
push esi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push esi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x10126863
push eax
call dword [0x10177ba0]
jmp 0x10126860
push esi
call dword [0x10177b6c]
add esp, 4
lea ecx, [esp + 0x54]
call fcn.10112ad0
mov ecx, dword [esp + 0x2c]
call fcn.1011aca0
mov ebx, dword [esp + 0x20]
jmp 0x10126884
call fcn.1011aca0
test ebx, ebx
je 0x101268e5
cmp dword [0x10177b48], 0
je 0x101268db
mov eax, dword [0x1017ad00]
test eax, eax
je 0x101268a0
push eax
call dword [0x10177b98]
add esp, 4
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x101268e5
push eax
call dword [0x10177ba0]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push ebx
call dword [0x10177b6c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret