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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov edi, dword [ebp + 8]
mov dword [esp + 4], ecx
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x50], edx
movzx eax, byte [edi + 0xc9]
mov ebx, esi
cmp al, 8
mov byte [esp + 0xb], al
mov eax, dword [edi + 0xcc]
sete cl
mov dword [esp + 0x10], eax
lea edx, [eax + ecx*8 + 4]
mov eax, dword [edi + 0xc4]
sub edx, eax
sub ebx, edx
lea edx, [edi + 0xa8]
mov edi, dword [edi + 0xf0]
mov dword [esp + 0x1c], edi
lea edi, [edi + 8]
jb 0x480d85
cmp ebx, eax
jae 0x480d85
mov ebx, dword [esp + 0x10]
lea ecx, [ecx*8 + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
mov edi, esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x14], 0
sub esi, ecx
not edi
add edi, ecx
add edi, ebx
mov ecx, dword [ebp + 8]
sub esi, ebx
xor ebx, ebx
mov dword [esp + 0x20], edi
add eax, dword [ecx + 0xc0]
xor ecx, ecx
mov edi, eax
nop dword [eax]
movzx eax, byte [edi + esi]
cmp ecx, 0x3f
mov byte [esp + 0x10], al
jne 0x480d41
cmp al, 2
jae 0x480d9e
movzx eax, byte [esp + 0x10]
xor edx, edx
mov dword [esp + 0xc], esi
mov esi, 0
and al, 0x7f
movzx eax, al
shld edx, eax, cl
shl eax, cl
test cl, 0x20
cmovne edx, eax
cmovne eax, esi
or ebx, edx
or dword [esp + 0x14], eax
cmp byte [esp + 0x10], 0
jns 0x480dc3
mov esi, dword [esp + 0xc]
dec dword [esp + 0x20]
add ecx, 7
inc esi
jne 0x480d30
xor eax, eax
mov bl, 0x13
jmp 0x480da0
mov eax, dword [esp + 4]
mov dword [eax], 0x38
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0
jmp 0x480dbb
mov bl, 6
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0x10]
mov byte [ecx], bl
mov byte [ecx + 1], dl
mov dword [ecx + 4], 0
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea eax, [edi + eax + 1]
or ecx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
je 0x480f76
mov edx, dword [esp + 0x1c]
mov ecx, ebx
test ebx, ebx
jne 0x480f82
mov eax, dword [esp + 0x14]
dec eax
cmp eax, dword [edx + 0x10]
jae 0x480f82
imul ecx, eax, 0x68
add ecx, dword [edx + 0xc]
cmp byte [ecx + 0x62], 1
jne 0x480e13
mov dword [esp + 0x64], 1
call fcn.00418740
test edx, edx
je 0x481090
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x2e
mov dword [esp + 0x14], 0
shl ebx, 4
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x10], eax
jmp 0x480e8f
cmp eax, 3
je 0x480f2d
cmp eax, 0x31
jne 0x480e83
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
call fcn.0047c9e0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
add edi, 0x10
add ebx, 0xfffffff0
je 0x481067
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push esi
push dword [eax + 0x20]
call fcn.0047ae60
add esp, 8
mov eax, dword [esp + 0x68]
xor eax, 0x2e
or eax, dword [esp + 0x6c]
je 0x481049
movzx eax, word [esp + 0x78]
cmp eax, 0x46
jle 0x480e50
cmp eax, 0x47
je 0x480e5e
cmp eax, 0x6e
je 0x480ef4
cmp eax, 0x2007
jne 0x480e83
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.0047c9e0
movzx eax, byte [esp + 0xb]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0x14]
push eax
call fcn.0047a7b0
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x480e83
jmp 0x4810a3
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.0047c9e0
movzx eax, byte [esp + 0xb]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0x14]
push eax
call fcn.0047a7b0
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x480e83
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x480e83
mov eax, dword [esp + 4]
mov byte [eax], 0x37
jmp 0x480dbb
mov eax, dword [edx + 0x14]
mov bl, 0x12
test eax, eax
je 0x480da0
mov edx, dword [edx + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
movzx eax, word [eax + 0x4d6]
mov ebx, 0xffffffff
lea ecx, [eax*8]
mov dword [esp + 0x4c], eax
nop dword [eax]
test ecx, ecx
je 0x48100a
mov eax, dword [esp + 0x18]
mov esi, dword [eax + ebx*8 + 0xc]
mov edx, dword [eax + ebx*8 + 8]
xor eax, eax
mov dword [esp + 0x20], esi
xor esi, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
xor edx, edi
or edx, esi
mov edx, dword [esp + 0xc]
setne al
cmp edi, dword [esp + 0x1c]
sbb edx, dword [esp + 0x20]
mov edx, 0xff
cmovb eax, edx
inc ebx
add ecx, 0xfffffff8
cmp al, 1
je 0x480fc0
movzx eax, al
test eax, eax
jne 0x48100e
jmp 0x48102f
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub ecx, 1
jb 0x4810e7
mov eax, dword [eax + ebx*4 + 0x4d8]
mov dword [esp + 0x24], ecx
jmp 0x480f9e
mov ecx, dword [esp + 0x18]
imul eax, ebx, 0x68
lea ecx, [ecx + eax + 0x58]
cmp byte [ecx + 0x62], 1
je 0x480e0b
jmp 0x480e13
movsd xmm0, qword [esp + 0x70]
mov eax, dword [esp + 4]
movsd xmm1, qword [esp + 0x78]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x480dbb
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x48107f
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x48109b
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov eax, edx
xor eax, 0x2e
or eax, ebx
jne 0x4810bd
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x480dbb
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov byte [edx], 0x4b
jmp 0x480dbb
mov esi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x50]
mov ecx, dword [esp + 4]
dec esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push dword [esp + 0x34]
push ebx
call fcn.00480990
add esp, 0x1c
jmp 0x480dbb
mov ecx, dword [esp + 4]
mov bl, 0x12
jmp 0x480da4