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

Disassembly:
sub esp, 0x80
push ebp
mov ebp, dword [esp + 0x88]
push esi
xor esi, esi
test ebp, ebp
jne 0x480221
pop esi
lea eax, [ebp - 0x66]
pop ebp
add esp, 0x80
ret
mov ecx, dword [ebp + 0x58]
add ecx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x5c]
adc eax, dword [ebp + 0x4c]
push 0
push eax
push ecx
push dword [ebp + 0x30]
push ebp
call fcn.00481d70
add esp, 0x14
test eax, eax
je 0x480246
or esi, 0xffffffff
jmp 0x480270
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480ae0
add esp, 0xc
test eax, eax
je 0x480260
or esi, 0xffffffff
jmp 0x480270
cmp dword [esp + 0xc], 0x2014b50
mov eax, 0xffffff99
cmovne esi, eax
push ebx
push edi
lea eax, [esp + 0x38]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480c60
or ebx, 0xffffffff
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0x30]
cmovne esi, ebx
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0x30]
cmovne esi, ebx
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x68]
push eax
push dword [ebp + 0x30]
cmovne esi, ebx
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x78]
push eax
push dword [ebp + 0x30]
cmovne esi, ebx
push ebp
call fcn.00480ae0
test eax, eax
cmovne esi, ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x50], esi
xor edi, edi
mov esi, ebx
mov edx, edi
shrd esi, edx, 0x10
mov eax, esi
shr edx, 0x10
and eax, 0x1f
mov ecx, esi
mov dword [esp + 0xc0], eax
mov eax, edx
shrd ecx, eax, 5
mov eax, edi
and ecx, 0xf
dec ecx
mov dword [esp + 0xc4], ecx
mov ecx, ebx
shrd ecx, eax, 0xb
mov eax, ebx
and ebx, 0x1f
shrd eax, edi, 5
shrd esi, edx, 9
and eax, 0x3f
and ecx, 0x1f
mov dword [esp + 0xb8], eax
add esi, 0x7bc
lea eax, [esp + 0x88]
mov dword [esp + 0xc8], esi
push eax
push dword [ebp + 0x30]
add ebx, ebx
mov dword [esp + 0xc4], ecx
push ebp
mov dword [esp + 0xc0], ebx
call fcn.00480ae0
mov ebx, dword [esp + 0x5c]
add esp, 0x48
test eax, eax
mov esi, 0xffffffff
lea eax, [esp + 0x10]
cmovne ebx, esi
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480ae0
test eax, eax
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
cmovne ebx, esi
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480ae0
test eax, eax
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
cmovne ebx, esi
lea eax, [esp + 0x78]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x88]
push eax
push dword [ebp + 0x30]
cmovne ebx, esi
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x98]
push eax
push dword [ebp + 0x30]
cmovne ebx, esi
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0xa8]
push eax
push dword [ebp + 0x30]
cmovne ebx, esi
push ebp
call fcn.00480c60
add esp, 0x48
test eax, eax
lea eax, [esp + 0x70]
cmovne ebx, esi
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480c60
test eax, eax
lea eax, [esp + 0x80]
push eax
push dword [ebp + 0x30]
cmovne ebx, esi
push ebp
call fcn.00480ae0
test eax, eax
lea eax, [esp + 0x28]
push eax
push dword [ebp + 0x30]
cmovne ebx, esi
push ebp
call fcn.00480ae0
mov edi, dword [esp + 0x84]
add esp, 0x24
test eax, eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
je 0x4804b3
or esi, esi
mov ebx, dword [esp + 0x64]
add edi, ebx
mov dword [esp + 0x18], edi
test esi, esi
jne 0x480841
test ebx, ebx
je 0x48075e
sub edi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
je 0x4805a7
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00481d70
add esp, 0x14
test eax, eax
jne 0x4805a4
mov dword [esp + 0x18], eax
jmp 0x4805a7
mov esi, ebx
test ebx, ebx
jne 0x480465
mov edx, dword [esp + 0xa0]
test edx, edx
je 0x48050e
mov eax, dword [esp + 0xa4]
cmp edi, eax
jae 0x4804da
mov ecx, edi
mov byte [edi + edx], bl
mov dword [esp + 0x18], ecx
jmp 0x4804e0
mov ecx, eax
mov dword [esp + 0x18], eax
mov esi, ebx
test edi, edi
je 0x48050c
test eax, eax
je 0x48050c
mov eax, dword [ebp + 4]
push ecx
push edx
push dword [ebp + 0x30]
push dword [ebp + 0x1c]
call eax
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp eax, ecx
je 0x48050c
or esi, 0xffffffff
sub edi, ecx
jmp 0x480465
sub edi, ecx
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x480465
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], ebx
cmp ebx, eax
jb 0x480534
mov dword [esp + 0x10], eax
test edi, edi
je 0x480564
push 1
mov eax, edi
cdq
push edx
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00481d70
mov ecx, dword [esp + 0xbc]
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0xac]
jne 0x480561
xor edi, edi
jmp 0x480564
or esi, 0xffffffff
test ebx, ebx
je 0x480595
test eax, eax
je 0x480595
push dword [esp + 0x10]
mov eax, dword [ebp + 4]
push ecx
push dword [ebp + 0x30]
push dword [ebp + 0x1c]
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
je 0x480599
mov eax, ebx
or esi, 0xffffffff
sub eax, ecx
add edi, eax
jmp 0x48046b
mov ecx, dword [esp + 0x10]
mov eax, ebx
sub eax, ecx
add edi, eax
jmp 0x48046b
or esi, 0xffffffff
test ebx, ebx
je 0x480756
lea edi, [ebp + 0x18]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x24]
push 2
push ecx
push eax
push dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], edi
call eax
add esp, 0x10
cmp eax, 2
jne 0x4805eb
mov ax, word [esp + 0x24]
movzx edi, ah
shl edi, 8
movzx eax, al
or edi, eax
mov dword [esp + 0x34], edi
jmp 0x48060b
push dword [esp + 0x28]
mov eax, dword [edi]
push dword [ebp + 0x1c]
mov dword [esp + 0x3c], 0
call eax
add esp, 8
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x10]
push 2
push ecx
push eax
push dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 4]
call eax
add esp, 0x10
cmp eax, 2
jne 0x48063f
mov ax, word [esp + 0x10]
movzx edi, ah
movzx eax, al
shl edi, 8
or edi, eax
lea eax, [ebp + 0x18]
jmp 0x480660
mov eax, dword [esp + 0x1c]
xor edi, edi
push dword [esp + 0x28]
push dword [ebp + 0x1c]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
je 0x48065c
or esi, 0xffffffff
jmp 0x480664
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], 1
jne 0x480722
cmp dword [esp + 0x58], 0xffffffff
jne 0x48069c
cmp dword [esp + 0x5c], 0
jne 0x48069c
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480b50
mov ebx, dword [esp + 0x70]
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x50], 0xffffffff
jne 0x4806c9
cmp dword [esp + 0x54], 0
jne 0x4806c9
lea eax, [esp + 0x50]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480b50
mov ebx, dword [esp + 0x70]
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
cmp dword [esp + 0x20], 0xffffffff
jne 0x4806fa
cmp dword [esp + 0x30], 0
jne 0x4806fa
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480b50
add esp, 0xc
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x6c], 0xffff
jne 0x48073d
lea eax, [esp + 0x6c]
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00480ae0
mov ebx, dword [esp + 0x70]
add esp, 0xc
test eax, eax
je 0x48073d
or esi, 0xffffffff
jmp 0x48073d
push 1
push 0
push edi
push dword [ebp + 0x30]
push ebp
call fcn.00481d70
add esp, 0x14
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
mov eax, dword [esp + 0x14]
add eax, 4
add eax, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp eax, ebx
jb 0x4805b2
test esi, esi
jne 0x480841
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x4807e4
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0xb4]
cmp edi, ebx
jae 0x480782
mov byte [edi + ecx], 0
mov dword [esp + 0x14], edi
jmp 0x480786
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4807b0
push 1
cdq
push edx
push eax
push dword [ebp + 0x30]
push ebp
call fcn.00481d70
mov ecx, dword [esp + 0xc4]
add esp, 0x14
test eax, eax
mov eax, 0xffffffff
cmovne esi, eax
test edi, edi
je 0x4807e0
test ebx, ebx
je 0x4807e0
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 4]
push edi
push ecx
push dword [ebp + 0x30]
push dword [ebp + 0x1c]
call eax
add esp, 0x10
cmp eax, edi
je 0x4807e0
pop edi
or esi, 0xffffffff
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x80
ret
test esi, esi
jne 0x480841
mov eax, dword [esp + 0x98]
test eax, eax
je 0x480829
movups xmm0, xmmword [esp + 0x38]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x58]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [eax + 0x40], xmm0
movq xmm0, qword [esp + 0x88]
movq qword [eax + 0x50], xmm0
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x480841
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x80
ret