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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4f2480]
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 0x481426
lea eax, [esp + 0x2c]
push eax
call fcn.00481e20
add esp, 4
jmp 0x481449
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.00481d50
add esp, 0xc
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x481482
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0049d991
add esp, 0x12c
ret
push ebx
push ebp
push edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00480850
mov ebx, eax
mov ebp, edx
mov ecx, ebx
add esp, 8
and ecx, ebp
cmp ecx, 0xffffffff
je 0x48160b
push 0
push ebp
push ebx
push dword [esp + 0x74]
lea eax, [esp + 0x48]
mov dword [esp + 0x130], 1
push eax
call fcn.00481d70
neg eax
sbb esi, esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x54]
push eax
call fcn.00480ae0
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.00480b50
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.00480c60
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.00480ae0
test eax, eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00480ae0
test eax, eax
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
cmovne esi, edi
push eax
call fcn.00480b50
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x64]
cmovne esi, edi
push eax
call fcn.00480b50
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x24]
cmovne esi, edi
cmp eax, dword [esp + 0x70]
jne 0x4815c5
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x74]
jne 0x4815c5
cmp dword [esp + 0x14], 0
jne 0x4815c5
cmp dword [esp + 0x18], 0
je 0x4815ca
mov esi, 0xffffff99
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00480b50
test eax, eax
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
cmovne esi, edi
push eax
call fcn.00480b50
add esp, 0x18
mov dword [esp + 0x78], 0
jmp 0x481918
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.00481d70
add esp, 0x14
test eax, eax
je 0x481655
or ebx, 0xffffffff
or ebp, 0xffffffff
or esi, 0xffffffff
jmp 0x4817be
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.00481dc0
mov ecx, edx
mov dword [esp + 0x34], eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
ja 0x481682
jb 0x48167a
cmp eax, 0xffff
jae 0x481682
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 0x404
call fcn.004ae672
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4816a3
or ebx, 0xffffffff
or ebp, 0xffffffff
or esi, 0xffffffff
jmp 0x4817be
mov ecx, dword [esp + 0x14]
xor edi, edi
mov esi, 4
cmp edi, ecx
ja 0x4817a2
mov eax, dword [esp + 0x10]
jb 0x4816c4
cmp esi, eax
jae 0x4817a2
add esi, 0x400
adc edi, 0
cmp edi, ecx
jb 0x4816db
ja 0x4816d7
cmp esi, eax
jbe 0x4816db
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 0x481706
ja 0x4816ff
cmp esi, 0x404
jbe 0x481706
mov ebx, 0x404
jmp 0x48170a
mov ebx, edx
sub ebx, eax
push 0
push ecx
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
call fcn.00481d70
add esp, 0x14
test eax, eax
jne 0x48179e
push ebx
push ebp
push dword [esp + 0x20]
push dword [esp + 0x60]
call dword [esp + 0x4c]
add esp, 0x10
cmp eax, ebx
jne 0x48179e
lea ecx, [ebx - 3]
test ecx, ecx
jle 0x481784
lea eax, [ebp + 3]
add eax, ecx
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x481761
cmp byte [edx + ebp], 0x4b
jne 0x481761
cmp byte [eax - 1], 5
jne 0x481761
cmp byte [eax], 6
je 0x481767
test ecx, ecx
jg 0x481744
jmp 0x481784
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 0x48179e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp edi, ecx
jb 0x4816c4
ja 0x48179e
cmp esi, eax
jb 0x4816c4
mov ebx, dword [esp + 0x20]
push ebp
call fcn.004a2c03
mov ebp, dword [esp + 0x20]
mov eax, ebx
and eax, ebp
add esp, 4
cmp eax, 0xffffffff
jne 0x4817bc
or esi, eax
jmp 0x4817be
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.00481d70
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.00480ae0
test eax, eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x60]
cmovne esi, edi
push eax
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
cmovne esi, edi
push eax
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x78]
cmovne esi, edi
push eax
call fcn.00480c60
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.00480c60
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
cmovne esi, edi
xor ecx, ecx
cmp eax, dword [esp + 0x70]
jne 0x48189b
cmp ecx, dword [esp + 0x74]
jne 0x48189b
cmp dword [esp + 0x14], ecx
jne 0x48189b
cmp dword [esp + 0x18], ecx
je 0x4818a0
mov esi, 0xffffff99
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x40]
push eax
call fcn.00480ae0
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.00480ae0
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.00480c60
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 0x4819b8
ja 0x481947
cmp ebx, ecx
jb 0x4819b8
test esi, esi
jne 0x4819b8
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.004ae672
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4819b4
mov ecx, 0x40
lea esi, [esp + 0x38]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00480e50
add esp, 4
mov eax, ebx
jmp 0x4819c9
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.0049d991
add esp, 0x12c
ret