Function at 0x1004cd5a
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 ecx, dword [ecx + 0x94]
xor ebx, ebx
push ebx
call fcn.1006ccbe
lea eax, [esi + 0x40]
mov dword [esp + 0x38], esi
lea esi, [esp + 0x28]
mov ecx, esi
mov dword [esp + 0x50], eax
push eax
call fcn.1004d110
lea edi, [esp + 0x5c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x84]
mov dword [edi], ebx
mov dword [eax], ebx
push edi
push eax
call fcn.10050678
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
je 0x1004ce74
lea esi, [esp + 0x48]
lea ebx, [esp + 0x84]
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
call fcn.10052a22
test eax, eax
mov dword [esp], eax
je 0x1004ce66
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp edx, ecx
je 0x1004cdfa
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x30], eax
jmp 0x1004ce0b
mov eax, esp
lea ecx, [esp + 0x28]
push eax
push edx
call fcn.10044010
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
je 0x1004ce1e
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add dword [esp + 0x30], 4
jmp 0x1004ce2d
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edx
push eax
call fcn.10044010
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
push esi
push edi
call fcn.100506fa
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
cmp eax, edx
je 0x1004ce5a
mov eax, dword [esp]
mov dword [edx], eax
add dword [ecx + 0x14], 4
jmp 0x1004ce66
mov edx, esp
add ecx, 0xc
push edx
push eax
call fcn.10044010
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
jne 0x1004cdc1
mov edi, dword [esp + 0x38]
xorps xmm0, xmm0
lea ecx, [esp + 0x10]
movaps xmmword [ecx], xmm0
mov eax, dword [edi + 0x48]
sub eax, dword [edi + 0x44]
sar eax, 2
push eax
call fcn.1004bb3e
mov eax, esp
xor ecx, ecx
lea esi, [esp + 0x48]
mov dword [eax], ecx
mov dword [esi], ecx
lea ecx, [esp + 0x5c]
push eax
push esi
call fcn.1004fcde
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x44]
cmp eax, ecx
mov dword [esp + 0x38], ecx
je 0x1004cff9
mov edi, dword [eax]
mov ebx, eax
lea ecx, [esp + 0x5c]
mov eax, dword [edi + 4]
mov dword [esp], eax
mov eax, esp
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10050046
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x64]
jne 0x1004cfea
xorps xmm0, xmm0
mov dword [esp + 0x54], ebx
movaps xmmword [esp], xmm0
call fcn.1006c7f8
mov ecx, eax
mov eax, 4
push eax
push eax
call fcn.10043e4c
lea ecx, [eax + 4]
mov dword [esp + 4], eax
mov dword [eax], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [esp + 8], ecx
mov dword [esp + 0x40], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
sub esp, 0xc
mov al, byte [esp + 0x50]
lea ecx, [esp + 0x48]
mov byte [esp + 8], al
mov dword [esp + 4], ecx
lea ecx, [esp + 0x68]
mov dword [esp], esi
call fcn.1004fda0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
je 0x1004cf5f
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
add dword [esp + 0x18], 4
jmp 0x1004cf6e
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.10044010
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x84]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.100506fa
mov eax, dword [esp + 0x48]
mov edi, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
cmp edi, ebx
je 0x1004cfc4
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
cmp edx, ecx
mov dword [esp + 0x48], eax
je 0x1004cfb4
mov dword [ecx], eax
add dword [esp + 8], 4
jmp 0x1004cfbd
mov ecx, esp
push esi
push edx
call fcn.10044010
add edi, 4
cmp ebx, edi
jne 0x1004cf99
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp eax, ecx
jne 0x1004cf12
test eax, eax
je 0x1004cfe6
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x54]
add ebx, 4
cmp ebx, dword [esp + 0x38]
mov eax, ebx
jne 0x1004ceba
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x1004d015
sub ecx, eax
xor edx, edx
mov esi, dword [eax + edx*4]
mov dword [esi + 4], edx
inc edx
add ecx, 0xfffffffc
jne 0x1004d009
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x10]
cmp eax, ecx
je 0x1004d040
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
sub esp, 0xc
mov dl, byte [esp + 0xc]
mov byte [esp + 8], dl
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.1005099a
cmp dword [esp + 0x70], 0
je 0x1004d055
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x64]
mov dword [ecx + 4], ecx
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x64]
jmp 0x1004d074
mov eax, dword [eax]
cmp eax, ecx
jne 0x1004d072
cmp dword [esp + 0x14], 0
je 0x1004d08d
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x98], 0
je 0x1004d0ae
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ecx + 4], ecx
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
je 0x1004d0f2
xor edx, edx
mov esi, dword [eax]
cmp dword [eax + 0x10], 0
je 0x1004d0ec
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
cmp esi, ecx
mov eax, esi
jne 0x1004d0db
cmp dword [esp + 0x2c], 0
je 0x1004d107
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret