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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x5f1014]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x34], ecx
mov ecx, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
call fcn.00482b70
test esi, esi
je 0x483a0e
mov ecx, esi
call fcn.00482b70
mov ecx, dword [esp + 0x10]
call fcn.00482b70
mov edx, dword [esi + 0x60]
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], ecx
test edx, 0x2000
jne 0x483a25
mov eax, dword [esi + 0x64]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0x20028888
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], ecx
mov esi, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
je 0x4837c9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp eax, 0x20038888
jne 0x483812
cmp dword [edi], 0
jne 0x483812
mov eax, dword [edi + 0x78]
cmp eax, dword [esi + 0x78]
jne 0x483812
mov eax, dword [edi + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x483812
and edx, dword [edi + 0x60]
test dl, 1
je 0x483812
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x10], eax
jne 0x483812
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x14], eax
jne 0x483812
cmp ecx, 0x20030888
jne 0x4839ed
mov dword [esp + 0x14], 0x20000
mov dword [esp + 0x18], 0x20000
mov eax, dword [esp + 0x10]
push dword [ebp + 0x2c]
movups xmm0, xmmword [0x5dbf3c]
mov edx, edi
lea ecx, [esp + 0x7c]
push dword [ebp + 0x28]
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], 0x5dbf4c
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.00482fb0
add esp, 0x28
test eax, eax
je 0x483aca
movups xmm0, xmmword [esp + 0x78]
lea edx, [esp + 0x20]
mov ecx, edi
movd eax, xmm0
movups xmmword [esp + 0x20], xmm0
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0x24]
add dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0x20]
add dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0x24]
add dword [esp + 0x2c], eax
lea eax, [esp + 0x6c]
push eax
call fcn.004833a0
add esp, 4
test eax, eax
je 0x483aca
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x20]
sub eax, dword [ebp + 0x10]
mov ecx, esi
add dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
add dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
add dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
add dword [esp + 0x2c], eax
lea eax, [esp + 0x70]
push eax
call fcn.004833a0
add esp, 4
test eax, eax
je 0x483aca
mov edx, dword [esp + 0x6c]
mov eax, edx
and eax, 0x800880
cmp eax, 0x800880
je 0x483914
mov eax, edx
and eax, 0x1080080
cmp eax, 0x1080080
jne 0x48391e
or edx, 0x2000
mov dword [esp + 0x6c], edx
mov esi, dword [esp + 0x70]
mov eax, esi
and eax, 0x800880
cmp eax, 0x800880
je 0x48393e
mov eax, esi
and eax, 0x1080080
cmp eax, 0x1080080
jne 0x483948
or esi, 0x2000
mov dword [esp + 0x70], esi
mov ecx, esi
mov eax, edx
sar ecx, 1
sar eax, 1
and ecx, eax
mov eax, dword [esp + 0x74]
and ecx, 0x1000
and eax, 0x2000
or ecx, eax
mov eax, dword [esp + 0x34]
shr ecx, 0xc
movzx eax, byte [ecx + eax*4 + 0x5dbcf0]
mov ecx, dword [0x5f39b8]
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x483995
call fcn.0048b2b0
mov esi, dword [esp + 0x70]
mov ecx, eax
mov edx, dword [esp + 0x6c]
mov dword [0x5f39b8], ecx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x7c]
mov eax, dword [esp + 0x20]
push dword [esp + 0x28]
push esi
push eax
push edx
push dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
call fcn.0048af70
mov eax, dword [esp + 0x58]
add esp, 0x20
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], edi
test eax, eax
je 0x483a50
mov edi, dword [eax + 4]
lea esi, [eax + 8]
test edi, edi
je 0x483ad1
jmp 0x483a59
cmp ecx, 0x20020888
jne 0x483812
mov dword [esp + 0x14], 0x30000
mov dword [esp + 0x18], 0x30000
jmp 0x483812
mov ecx, dword [esp + 0x10]
call fcn.00482b70
mov eax, dword [edi + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x70], 0x2002
mov eax, dword [eax + 0x60]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jmp 0x483816
mov edi, 1
lea esi, [esp + 0x78]
add esi, 4
nop dword [eax]
mov eax, dword [esi - 4]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
sub eax, dword [ebp + 0x24]
add eax, dword [ebp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esi - 4]
sub eax, dword [ebp + 0x20]
add eax, dword [ebp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
sub eax, dword [ebp + 0x24]
add eax, dword [ebp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
sub eax, dword [esi - 4]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x38]
call dword [esp + 0x38]
add esp, 8
lea esi, [esi + 0x10]
sub edi, 1
jne 0x483a60
mov eax, dword [esp + 0x88]
test eax, eax
je 0x483ae3
cmp dword [eax], 0
je 0x483ae3
push eax
call fcn.005800e5
add esp, 4
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.004e389c
mov esp, ebp
pop ebp
ret