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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, ecx
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0xa8], eax
mov ecx, dword [ecx + 0x88]
xor edi, edi
push edi
call fcn.1006fa9a
mov dword [esp + 0x10], esi
lea eax, [esi + 0x34]
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x80]
movdqa xmmword [esi], xmm0
mov ecx, esi
mov dword [esp + 0x14], eax
push eax
call fcn.1004d4d4
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x78], 0x3f800000
mov eax, dword [esi + 4]
cmp dword [esi], eax
je 0x1004d18d
mov esi, dword [eax - 4]
add eax, 0xfffffffc
mov dword [esp + 0x84], eax
mov ecx, esi
call fcn.1005390e
test eax, eax
je 0x1004d179
mov ebx, eax
mov edx, dword [esp + 0x84]
cmp edx, dword [esp + 0x88]
mov dword [esp + 8], eax
je 0x1004cf28
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x88]
mov edi, edx
jmp 0x1004cfd3
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x80]
mov edi, edx
sub edi, ecx
mov esi, edi
sar esi, 2
lea eax, [esi + 1]
cmp eax, 0x40000000
jae 0x1004d4c7
sar edi, 1
cmp edi, eax
cmovb edi, eax
cmp esi, 0x1fffffff
mov eax, 0x3fffffff
cmovae edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x1004cf8d
call fcn.1006f430
lea edx, [edi*4]
mov ecx, eax
push 4
push edx
call fcn.10041e8a
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
jmp 0x1004cf8f
xor eax, eax
lea edi, [eax + esi*4]
mov dword [edi], ebx
mov esi, edi
cmp edx, ecx
je 0x1004cfac
mov esi, edi
mov ebx, dword [edx - 4]
add edx, 0xfffffffc
mov dword [esi - 4], ebx
add esi, 0xfffffffc
cmp ecx, edx
jne 0x1004cf9c
add edi, 4
mov ecx, dword [esp + 0xc]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ecx
mov ebx, dword [esp + 8]
mov esi, dword [esp + 4]
cmp edi, ecx
je 0x1004cfe8
mov dword [edi], esi
add edi, 4
mov dword [esp + 0x84], edi
jmp 0x1004d097
mov dword [esp + 4], esi
mov edx, dword [esp + 0x80]
mov ebx, ecx
sub ebx, edx
mov esi, ebx
sar esi, 2
lea eax, [esi + 1]
cmp eax, 0x40000000
jae 0x1004d4c7
sar ebx, 1
cmp ebx, eax
cmovb ebx, eax
cmp esi, 0x1fffffff
mov eax, 0x3fffffff
cmovae ebx, eax
test ebx, ebx
je 0x1004d049
call fcn.1006f430
lea edx, [ebx*4]
mov ecx, eax
push 4
push edx
call fcn.10041e8a
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
jmp 0x1004d04b
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [eax + esi*4]
mov esi, dword [esp + 4]
mov dword [eax], esi
mov edi, eax
cmp ecx, edx
je 0x1004d070
mov edi, eax
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [edi - 4], esi
add edi, 0xfffffffc
cmp edx, ecx
jne 0x1004d060
add eax, 4
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov ebx, dword [esp + 8]
mov esi, dword [esp + 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x60]
lea edx, [esp + 0xa0]
push edx
lea edx, [esp + 0x54]
push edx
push 0x10211650
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10050a28
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 0x14]
je 0x1004d0e0
mov dword [edx], ebx
add edx, 4
mov dword [eax + 0x10], edx
jmp 0x1004d179
mov dword [esp + 4], eax
lea ecx, [eax + 0xc]
mov esi, dword [ecx]
mov ebx, edx
sub ebx, esi
mov edi, ebx
sar edi, 2
lea eax, [edi + 1]
cmp eax, 0x40000000
jae 0x1004d4ce
sar ebx, 1
cmp ebx, eax
cmovb ebx, eax
cmp edi, 0x1fffffff
mov eax, 0x3fffffff
cmovae ebx, eax
test ebx, ebx
je 0x1004d13b
call fcn.1006f430
lea edx, [ebx*4]
mov ecx, eax
push 4
push edx
call fcn.10041e8a
mov ecx, dword [esp + 4]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
jmp 0x1004d13d
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [eax + edi*4]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov edi, eax
cmp edx, esi
je 0x1004d162
mov edi, eax
mov ecx, dword [edx - 4]
add edx, 0xfffffffc
mov dword [edi - 4], ecx
add edi, 0xfffffffc
cmp esi, edx
jne 0x1004d152
add eax, 4
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ebx*4]
mov edx, dword [esp + 4]
mov dword [edx + 0xc], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x80], eax
jne 0x1004cedc
lea ecx, [esp + 0x50]
pxor xmm0, xmm0
movdqa xmmword [ecx], xmm0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
sar eax, 2
push eax
call fcn.1004b156
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0x3f800000
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x1004d44b
mov esi, dword [eax]
mov edi, eax
mov eax, dword [esi + 4]
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10050c70
cmp dword [esp + 0x20], 0
jne 0x1004d43c
mov dword [esp + 0x18], edi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
call fcn.1006f430
mov ecx, eax
mov edi, 4
push edi
push edi
call fcn.10041e8a
mov dword [esp + 0x20], eax
lea ecx, [eax + edi]
mov dword [esp + 0x28], ecx
mov dword [eax], esi
mov dword [esp + 0x24], ecx
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x98]
push eax
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10050d56
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x58]
je 0x1004d281
mov dword [ecx], esi
add ecx, 4
mov dword [esp + 0x54], ecx
jmp 0x1004d316
mov edx, dword [esp + 0x50]
mov edi, ecx
sub edi, edx
mov ebx, edi
sar ebx, 2
lea eax, [ebx + 1]
cmp eax, 0x40000000
jae 0x1004d4be
sar edi, 1
cmp edi, eax
cmovb edi, eax
cmp ebx, 0x1fffffff
mov eax, 0x3fffffff
cmovae edi, eax
test edi, edi
je 0x1004d2d5
call fcn.1006f430
lea edx, [edi*4]
mov ecx, eax
push 4
push edx
call fcn.10041e8a
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
jmp 0x1004d2d7
xor eax, eax
mov dword [esp + 4], eax
lea eax, [eax + ebx*4]
mov dword [esp + 8], esi
mov dword [eax], esi
mov ebx, eax
cmp ecx, edx
je 0x1004d2fc
mov ebx, eax
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [ebx - 4], esi
add ebx, 0xfffffffc
cmp edx, ecx
jne 0x1004d2ec
add eax, 4
mov ecx, dword [esp + 4]
lea ecx, [ecx + edi*4]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x98], edx
lea ecx, [esp + 0x60]
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x9c]
push eax
push 0x10211650
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.10050a28
mov eax, dword [esp + 0xa0]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
cmp esi, eax
je 0x1004d42e
mov dword [esp + 0xc], eax
mov edx, dword [esi]
cmp ecx, dword [esp + 0x28]
je 0x1004d382
mov dword [ecx], edx
add ecx, 4
mov dword [esp + 0x24], ecx
jmp 0x1004d423
mov dword [esp + 8], edx
mov edx, dword [esp + 0x20]
mov ebx, ecx
sub ebx, edx
mov edi, ebx
sar edi, 2
lea eax, [edi + 1]
cmp eax, 0x40000000
jae 0x1004d4b5
sar ebx, 1
cmp ebx, eax
cmovb ebx, eax
cmp edi, 0x1fffffff
mov eax, 0x3fffffff
cmovae ebx, eax
test ebx, ebx
je 0x1004d3da
call fcn.1006f430
lea edx, [ebx*4]
mov ecx, eax
push 4
push edx
call fcn.10041e8a
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x1004d3dc
xor eax, eax
mov dword [esp + 4], eax
lea edi, [eax + edi*4]
mov eax, dword [esp + 8]
mov dword [edi], eax
mov dword [esp + 8], edi
cmp ecx, edx
je 0x1004d405
mov edi, dword [esp + 8]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [edi - 4], eax
add edi, 0xfffffffc
cmp edx, ecx
jne 0x1004d3f5
mov ecx, dword [esp + 8]
add ecx, 4
mov eax, dword [esp + 4]
lea eax, [eax + ebx*4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
add esi, 4
cmp esi, eax
jne 0x1004d36c
cmp dword [esp + 0x20], ecx
jne 0x1004d23b
mov edi, dword [esp + 0x18]
add edi, 4
cmp edi, dword [esp + 0x10]
mov eax, edi
jne 0x1004d1da
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
je 0x1004d467
sub ecx, eax
xor edx, edx
mov esi, dword [eax + edx*4]
mov dword [esi + 4], edx
inc edx
add ecx, 0xfffffffc
jne 0x1004d45b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
cmp ecx, edx
je 0x1004d47d
push dword [esp + 0x54]
push eax
call fcn.10050f96
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1004d489
mov eax, dword [eax]
jmp 0x1004d481
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1004d49f
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1004d49b
mov dword [eax + 0x10], ecx
mov eax, dword [eax]
jmp 0x1004d48d
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.101d7611
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.101add4c
lea ecx, [esp + 0x50]
call fcn.101add4c
lea ecx, [esp + 0x80]
call fcn.101add4c
int3