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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x88]
push ebp
xor ebp, ebp
push esi
push edi
cmp dword [ebx + 0x44], ebp
je 0x4ee66e
cmp dword [ebx + 0x34], ebp
jne 0x4ee66e
test dword [ebx + 4], 0x100000
jne 0x4ee66e
mov edi, dword [esp + 0x90]
cmp byte [edi + 0xdc], 2
jae 0x4ee66e
push edi
call fcn.004bda70
mov esi, dword [edi]
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x3c], eax
push ebp
push 0x40
test esi, esi
je 0x4ee11c
push esi
call fcn.004aebd0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
jmp 0x4ee12a
call fcn.004c19b0
add esp, 8
mov dword [esp + 0x18], eax
mov ebp, eax
test ebp, ebp
je 0x4ee678
push 0x40
push 0
push ebp
call fcn.00656e20
lea eax, [esp + 0x60]
push edi
push eax
call fcn.004a2be0
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.004e6320
add esp, 0x1c
lea esi, [ebx + 0x30]
test byte [ebx + 4], 8
jne 0x4ee17d
push dword [esi]
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0x47ae90
push eax
mov dword [esp + 0x64], 0
call fcn.004e6210
add esp, 8
mov eax, dword [ebx + 4]
and eax, 0xfffffff7
mov dword [ebx + 0x20], 0
or eax, 0x100000
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 4], eax
mov ebx, dword [esp + 0x14]
push 1
push dword [ebx + 8]
push 0
push edi
call fcn.0047e850
push 1
push dword [ebx + 0xc]
push eax
push edi
call fcn.0047e850
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x2c], ecx
mov ebx, esi
test ecx, ecx
je 0x4ee23a
mov eax, dword [esi]
test eax, eax
je 0x4ee23a
mov eax, dword [eax]
mov ebp, dword [ecx]
cmp eax, ebp
jg 0x4ee236
push 0xffffffffffffffff
mov dword [ecx], eax
push dword [esi]
push ecx
call fcn.004b5bd0
add esp, 0xc
test eax, eax
jne 0x4ee223
mov eax, dword [esi]
test eax, eax
je 0x4ee207
push eax
push dword [esp + 0x20]
call fcn.0047ea30
add esp, 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x94]
mov dword [esi], 0
mov dword [eax], ebp
mov ebp, dword [esp + 0x18]
lea ebx, [ecx + 0x30]
jmp 0x4ee241
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x94]
mov dword [eax], ebp
mov ebp, dword [esp + 0x18]
jmp 0x4ee241
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x28]
mov dword [esi + 0x30], eax
lea eax, [esp + 0x10]
add dword [edi + 0x28], 4
push eax
push ebp
push dword [ecx + 0x1c]
push dword [esp + 0x2c]
push esi
push edi
call fcn.004a1140
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov ebx, dword [ebx]
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
movlpd qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0x4a11f0
mov dword [esp + 0x78], 0x4a1400
mov dword [esp + 0x88], ecx
mov dword [esp + 0x24], ebp
test ebx, ebx
je 0x4ee2fc
mov esi, dword [ebx]
add ebx, 8
mov dword [esp + 0x24], ebp
test esi, esi
jle 0x4ee2f8
mov dword [esp + 0x24], ebp
mov eax, dword [ebx]
test eax, eax
je 0x4ee2ec
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004e6260
add esp, 8
test eax, eax
jne 0x4ee2f4
dec esi
add ebx, 0x14
test esi, esi
jg 0x4ee2d4
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4ee304
mov ecx, dword [eax]
jmp 0x4ee306
xor ecx, ecx
push 0
push dword [esi + 8]
mov dword [esi + 0x4c], ecx
push eax
push edi
call fcn.0047e850
push 0
push dword [esi + 0xc]
push eax
push edi
call fcn.0047e850
mov edx, dword [esp + 0x34]
mov esi, eax
add esp, 0x20
mov dword [esp + 0x10], esi
mov ebx, edx
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x2c]
test dword [eax + 4], 0x100000
je 0x4ee375
lea eax, [esp + 0x10]
push eax
push ebp
push ecx
push dword [esp + 0x2c]
push edx
push edi
call fcn.004a1140
mov esi, dword [esp + 0x28]
add esp, 0x18
test esi, esi
je 0x4ee36a
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
mov byte [ebx + 0x60], 1
jmp 0x4ee395
xor eax, eax
mov byte [ebx + 0x60], 1
mov dword [ebx + 0x50], eax
jmp 0x4ee395
test esi, esi
je 0x4ee37d
mov eax, dword [esi]
jmp 0x4ee37f
xor eax, eax
push 0
push ecx
push esi
push edi
mov dword [ebx + 0x50], eax
call fcn.0047e850
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4ee402
push 0
push 0
push eax
push dword [esp + 0x28]
call fcn.0047df60
add esp, 0x10
mov edx, eax
test esi, esi
jne 0x4ee3c2
push edx
push dword [edi]
call fcn.004b5980
add esp, 8
mov esi, eax
jmp 0x4ee3fe
mov eax, dword [esi]
lea ebp, [eax + 1]
cmp dword [esi + 4], ebp
jge 0x4ee3dc
push edx
push esi
push dword [edi]
call fcn.004b58c0
add esp, 0xc
mov esi, eax
jmp 0x4ee3fa
movups xmm0, xmmword [0x684670]
lea eax, [eax + eax*4]
mov dword [esi], ebp
lea ecx, [esi + eax*4]
mov eax, dword [0x684680]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], esi
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x34], eax
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4ee435
push 0
push edx
push 0
push 0x4b
push eax
call fcn.00486380
add esp, 0x14
jmp 0x4ee471
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x90]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebx + 0x24]
mov edx, dword [esp + 0x14]
test ebx, ebx
jne 0x4ee330
test esi, esi
jne 0x4ee514
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
push eax
push 0x6882cc
call fcn.004bce90
mov ebx, eax
xor eax, eax
test ebx, ebx
push esi
sete al
lea eax, [eax*2 + 0x34]
push eax
push dword [esp + 0x2c]
call fcn.004aebd0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4ee507
push 0x34
push 0
push esi
call fcn.00656e20
or eax, 0xffffffff
mov byte [esi], 0x9b
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x4ee4f5
mov eax, dword [esp + 0x28]
mov ecx, 0x20800800
test eax, eax
mov dword [esi + 8], eax
mov edx, 0x10800800
cmovne ecx, edx
or dword [esi + 4], ecx
jmp 0x4ee500
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov word [eax], 0x30
mov dword [esi + 0x18], 1
push esi
push dword [edi]
call fcn.004b5980
add esp, 8
mov esi, eax
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x38]
push esi
push edi
call fcn.004d0e20
push 0
push 0
push 0
push edi
mov esi, eax
call fcn.004d13e0
mov ebp, dword [esp + 0xc8]
add esp, 0x34
mov dword [ebp + 0x20], eax
test eax, eax
je 0x4ee637
mov dword [eax + 0x1c], esi
mov eax, dword [ebp + 0x20]
or dword [eax + 0x30], 8
mov ebx, dword [ebp + 0x20]
test ebx, ebx
je 0x4ee598
xor edx, edx
cmp dword [ebx], edx
jle 0x4ee598
lea ecx, [ebx + 0x34]
cmp dword [ecx], 0
jge 0x4ee590
mov eax, dword [edi + 0x28]
mov dword [ecx], eax
inc dword [edi + 0x28]
mov eax, dword [ecx - 0x18]
test eax, eax
je 0x4ee590
push dword [eax + 0x20]
push edi
call fcn.004d1690
add esp, 8
inc edx
add ecx, 0x48
cmp edx, dword [ebx]
jl 0x4ee570
or dword [esi + 4], 0x8000040
push 0x40
push esi
push edi
call fcn.004cc550
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x3c]
and eax, 8
or dword [esi + 4], eax
test ecx, ecx
jne 0x4ee5c3
lea ebp, [ecx + 7]
jmp 0x4ee64c
movups xmm0, xmmword [ecx]
mov edx, dword [esp + 0x18]
push esi
mov dword [esp + 0x28], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [edx + 0x30], xmm0
or dword [edx + 0x1c], 0x4000
mov eax, dword [ebp + 0x20]
xorps xmm0, xmm0
mov dword [eax + 0x18], edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x60], 0x4edbb0
mov dword [esp + 0x64], 0x4e6500
mov dword [esp + 0x68], 0x4e64f0
call fcn.004e6320
add esp, 8
jmp 0x4ee64a
test esi, esi
je 0x4ee64a
push 1
push esi
push dword [esp + 0x24]
call fcn.00474df0
add esp, 0xc
xor ebp, ebp
mov eax, dword [esp + 0x1c]
mov ecx, 7
push dword [esp + 0x24]
push 0x4aeaa0
cmp byte [eax + 0x57], 0
push edi
cmovne ebp, ecx
call fcn.004c50a0
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x7c
ret
test esi, esi
je 0x4ee690
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4ee690
inc dword [eax + 0x24]
mov dword [eax + 0xc], 7
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x7c
ret