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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4f3480]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
push esi
mov esi, dword [esp + 0x134]
test eax, eax
jne 0x480fb6
lea eax, [esp + 0x2c]
push eax
call fcn.004819b0
add esp, 4
jmp 0x480fd9
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x2c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movq qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x13c]
push 5
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.004818e0
add esp, 0xc
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x481012
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0049d2bd
add esp, 0x12c
ret
push ebx
push ebp
push edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004803e0
mov ebx, eax
mov ebp, edx
mov ecx, ebx
add esp, 8
and ecx, ebp
cmp ecx, 0xffffffff
je 0x48119b
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 1
push eax
call fcn.00481900
neg eax
sbb esi, esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
push eax
call fcn.00480670
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.004806e0
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.004807f0
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.004807f0
add esp, 0x44
test eax, eax
lea eax, [esp + 0x18]
cmovne esi, edi
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00480670
test eax, eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00480670
test eax, eax
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
cmovne esi, edi
push eax
call fcn.004806e0
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x64]
cmovne esi, edi
push eax
call fcn.004806e0
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x24]
cmovne esi, edi
cmp eax, dword [esp + 0x70]
jne 0x481155
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x74]
jne 0x481155
cmp dword [esp + 0x14], 0
jne 0x481155
cmp dword [esp + 0x18], 0
je 0x48115a
mov esi, 0xffffff99
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.004806e0
test eax, eax
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.004806e0
add esp, 0x18
mov dword [esp + 0x78], 0
jmp 0x4814a8
mov ebp, dword [esp + 0x68]
mov eax, 0xffff
mov dword [esp + 0x10], eax
or ebx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebp
push 2
push eax
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x44]
push ebp
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00481900
add esp, 0x14
test eax, eax
je 0x4811e5
or ebx, 0xffffffff
or ebp, 0xffffffff
or esi, 0xffffffff
jmp 0x48134e
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.00481950
mov ecx, edx
mov dword [esp + 0x34], eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
ja 0x481212
jb 0x48120a
cmp eax, 0xffff
jae 0x481212
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 0x404
call fcn.004ae105
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x481233
or ebx, 0xffffffff
or ebp, 0xffffffff
or esi, 0xffffffff
jmp 0x48134e
mov ecx, dword [esp + 0x14]
xor edi, edi
mov esi, 4
cmp edi, ecx
ja 0x481332
mov eax, dword [esp + 0x10]
jb 0x481254
cmp esi, eax
jae 0x481332
add esi, 0x400
adc edi, 0
cmp edi, ecx
jb 0x48126b
ja 0x481267
cmp esi, eax
jbe 0x48126b
mov esi, eax
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov eax, edx
mov ecx, dword [esp + 0x30]
sub eax, esi
mov dword [esp + 0x34], eax
sbb ecx, edi
mov dword [esp + 0x24], ecx
test edi, edi
jb 0x481296
ja 0x48128f
cmp esi, 0x404
jbe 0x481296
mov ebx, 0x404
jmp 0x48129a
mov ebx, edx
sub ebx, eax
push 0
push ecx
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
call fcn.00481900
add esp, 0x14
test eax, eax
jne 0x48132e
push ebx
push ebp
push dword [esp + 0x20]
push dword [esp + 0x60]
call dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebx
jne 0x48132e
lea ecx, [ebx - 3]
test ecx, ecx
jle 0x481314
lea eax, [ebp + 3]
add eax, ecx
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x4812f1
cmp byte [edx + ebp], 0x4b
jne 0x4812f1
cmp byte [eax - 1], 5
jne 0x4812f1
cmp byte [eax], 6
je 0x4812f7
test ecx, ecx
jg 0x4812d4
jmp 0x481314
mov ebx, ecx
xor ecx, ecx
add ebx, dword [esp + 0x34]
mov eax, ebx
mov dword [esp + 0x20], ebx
adc ecx, dword [esp + 0x24]
and eax, ecx
mov dword [esp + 0x1c], ecx
cmp eax, 0xffffffff
jne 0x48132e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp edi, ecx
jb 0x481254
ja 0x48132e
cmp esi, eax
jb 0x481254
mov ebx, dword [esp + 0x20]
push ebp
call fcn.004a25b3
mov ebp, dword [esp + 0x20]
mov eax, ebx
and eax, ebp
add esp, 4
cmp eax, 0xffffffff
jne 0x48134c
or esi, eax
jmp 0x48134e
xor esi, esi
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 0
push eax
call fcn.00481900
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
cmovne esi, edi
push eax
call fcn.00480670
test eax, eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.004807f0
test eax, eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.004807f0
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.004807f0
add esp, 0x44
mov dword [esp + 0x74], 0
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x10]
cmovne esi, edi
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.004807f0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
cmovne esi, edi
xor ecx, ecx
cmp eax, dword [esp + 0x70]
jne 0x48142b
cmp ecx, dword [esp + 0x74]
jne 0x48142b
cmp dword [esp + 0x14], ecx
jne 0x48142b
cmp dword [esp + 0x18], ecx
je 0x481430
mov esi, 0xffffff99
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00480670
test eax, eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
cmovne esi, edi
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
push eax
call fcn.00480670
test eax, eax
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
cmovne esi, edi
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
push eax
call fcn.004807f0
add esp, 0x24
mov edx, dword [esp + 0xb0]
test eax, eax
mov eax, dword [esp + 0xb4]
mov ecx, edx
cmovne esi, edi
mov edi, dword [esp + 0xa8]
add ecx, edi
adc eax, dword [esp + 0xac]
cmp ebp, eax
jb 0x481548
ja 0x4814d7
cmp ebx, ecx
jb 0x481548
test esi, esi
jne 0x481548
mov ecx, ebx
mov dword [esp + 0xa0], ebx
sub ecx, edx
mov dword [esp + 0xa4], ebp
mov eax, ebp
mov dword [esp + 0x118], esi
sbb eax, dword [esp + 0xb4]
sub ecx, edi
push 0x100
sbb eax, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x120], esi
call fcn.004ae105
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x481544
mov ecx, 0x40
lea esi, [esp + 0x38]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.004809e0
add esp, 4
mov eax, ebx
jmp 0x481559
push dword [esp + 0x68]
push dword [esp + 0x58]
call dword [esp + 0x54]
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x138]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.0049d2bd
add esp, 0x12c
ret