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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x4f3070]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 0xf4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, edx
mov dword [esp + 0x2c], ecx
test byte [eax + 0x4c], 1
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], eax
jne 0x480c7d
mov eax, dword [edi + 0x20]
lea ecx, [edx + edx*8]
shl ecx, 3
mov dword [esp + 0x3c], ecx
add ecx, 8
mov dword [esp + 0x1c], eax
add eax, ecx
cmp dword [edi + 0x44], 0
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x14]
jne 0x480c7d
cmp dword [ecx + 0x44], 0
jne 0x480c7d
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x20]
test eax, eax
je 0x480c21
cmp dword [edi + 0x3c], 0
jne 0x480c7d
test eax, eax
je 0x480c21
cmp dword [eax + 0x10], 0
jne 0x480c7d
test dword [edi + 4], 0x100
je 0x480c2e
test eax, eax
jne 0x480c7d
mov esi, dword [edx]
test esi, esi
je 0x480c7d
test byte [ecx + 4], 1
jne 0x480c7d
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x480c52
mov edi, dword [esp + 0x1c]
cmp dword [edi], 1
mov edi, dword [esp + 0x28]
jg 0x480c7d
test edx, edx
jne 0x480c7d
cmp dword [edi + 0x30], 0
je 0x480c5e
cmp dword [ecx + 0x30], 0
jne 0x480c7d
test edx, edx
je 0x480c68
cmp dword [ecx + 0x30], 0
jne 0x480c7d
test eax, eax
je 0x480c93
cmp dword [edi + 0x24], 0
jne 0x480c7d
test eax, eax
je 0x480c93
mov eax, dword [edi + 4]
test al, 1
je 0x480c96
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
test dword [ecx + 4], 0x2000
jne 0x480c7d
mov edi, dword [esp + 0x24]
test byte [edi + 0x24], 0x20
mov edi, dword [esp + 0x28]
je 0x480cd0
mov dword [esp + 0x38], 1
cmp esi, 1
jg 0x480c7d
test edx, edx
jne 0x480c7d
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x480c7d
mov eax, dword [edi + 4]
test al, 1
jne 0x480c7d
cmp dword [ecx + 0x34], 0
lea esi, [ecx + 0x34]
mov dword [esp + 0x18], esi
je 0x480d54
cmp dword [ecx + 0x30], 0
jne 0x480c7d
test edx, edx
jne 0x480c7d
test al, 1
jne 0x480c7d
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x480c7d
test byte [ecx + 4], 9
jne 0x480c7d
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x480d0a
cmp byte [ecx], 0x85
jne 0x480c7d
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x480c7d
cmp dword [ecx + 0x44], 0
jne 0x480c7d
mov ecx, edx
test ecx, ecx
jne 0x480cf4
mov esi, dword [edi + 0x30]
test esi, esi
je 0x480d54
mov edx, dword [esi]
test edx, edx
jle 0x480d54
xor eax, eax
nop word [eax + eax]
cmp word [esi + eax + 0x14], 0
je 0x480c7d
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x480d40
mov eax, dword [esp + 0x24]
mov edx, 0x15
mov esi, dword [esp + 0x2c]
mov ecx, esi
push 0
push 0
mov eax, dword [eax + 8]
push 0
mov dword [esi + 0xf4], eax
call fcn.0045ead0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esi + 0xf4], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x480e2a
mov eax, dword [esp + 0x28]
mov edx, eax
mov edi, dword [edi + 0x30]
push 0
mov ecx, dword [eax + 0x34]
mov esi, dword [eax + 0x3c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x30], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x3c], 0
call fcn.00452060
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx + 0x30], edi
mov edi, ecx
mov dword [ecx + 0x3c], esi
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x20], ecx
mov byte [edi], 0x85
test eax, eax
jne 0x480df3
mov eax, dword [esp + 0x18]
jmp 0x480e04
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x480e01
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], edi
mov esi, dword [esp + 0x30]
mov dword [edi + 0x34], eax
cmp byte [esi + 0x51], 0
jne 0x4811dc
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x480d96
jmp 0x480e2e
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
call fcn.00417620
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [eax + 8]
call fcn.00417620
mov eax, dword [esp + 0x24]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.00417620
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 0x10]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
test edx, edx
je 0x480eba
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x480eaf
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x104]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x104], edx
jmp 0x480eb3
dec eax
mov dword [edx + 0x20], eax
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x14]
nop
mov eax, dword [ecx + 0x20]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
mov esi, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x480eea
mov eax, dword [esp + 0x24]
mov al, byte [eax + 0x24]
mov byte [esp + 0x13], al
jmp 0x480f48
mov eax, dword [esp + 0x2c]
push 0
push 0x50
mov ecx, dword [eax]
call fcn.00417970
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x481176
push 0x48
mov dword [eax + 4], 1
mov dword [eax], 1
add eax, 8
push 0
push eax
call fcn.004b6f30
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ecx + 0x34], 0xffffffff
mov eax, dword [ecx]
lea eax, [eax + eax*8]
mov dword [ecx + eax*8 - 0x38], 0
mov dword [ecx + eax*8 - 0x3c], 0
mov dword [edi + 0x20], ecx
cmp esi, 1
jle 0x480f76
mov eax, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x2c]
inc eax
push eax
lea eax, [esi - 1]
push eax
call fcn.00465920
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x481176
mov dword [edi + 0x20], ecx
test esi, esi
jle 0x480ff3
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
add esi, 8
mov eax, dword [esp + 0x18]
add edi, 8
add edi, ecx
mov dword [esp + 0x20], eax
mov edx, dword [edi + 0x34]
mov ecx, dword [esp + 0x30]
call fcn.00465710
movups xmm0, xmmword [esi]
push 0x48
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movq xmm0, qword [esi + 0x40]
movq qword [edi + 0x40], xmm0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
call fcn.004b6f30
add esp, 0xc
lea edi, [edi + 0x48]
add esi, 0x48
sub dword [esp + 0x20], 1
jne 0x480f92
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov al, byte [esp + 0x13]
mov byte [edx + ecx + 0x2c], al
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x481040
test dword [edi + 4], 0x400000
jne 0x481040
xor ecx, ecx
cmp dword [edx], ecx
jle 0x481036
lea eax, [edx + 0x14]
nop dword [eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x481020
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x30], edx
mov dword [eax + 0x30], 0
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], eax
mov dword [ecx + 0x24], 0
jbe 0x481068
mov edx, dword [esp + 0x34]
mov ecx, eax
call fcn.0047a840
mov eax, dword [esp + 0x20]
test eax, eax
je 0x481089
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x481086
push ecx
mov ecx, dword [esp + 0x30]
mov edx, 0x2c
push eax
call fcn.00451040
add esp, 8
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x51], 0
jne 0x4810ce
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov edx, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
push 0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], eax
call fcn.004809f0
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
and eax, 0x100
or dword [edi + 4], eax
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x4810ee
mov dword [edi + 0x3c], eax
mov dword [ecx + 0x3c], 0
test esi, esi
jle 0x481160
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esi, 0x40
add esi, dword [esp + 0x3c]
cmp dword [esi - 0x28], 0
je 0x481150
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movaps xmmword [esp + 0x60], xmm0
lea eax, [esi - 0x38]
mov edx, edi
movq qword [esp + 0x70], xmm0
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], 0x480b40
mov dword [esp + 0x68], fcn.00416bd0
mov dword [esp + 0x78], eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044dae0
mov eax, dword [esp + 0x18]
add esi, 0x48
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x481101
mov ecx, dword [esp + 0x14]
mov edi, dword [edi + 0x34]
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ecx
test edi, edi
jne 0x480ec0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x80]
mov esi, dword [esp + 0x48]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
mov edx, esi
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x458b50
mov dword [esp + 0x88], fcn.00416bd0
call fcn.0044dae0
test esi, esi
je 0x4811dc
mov ecx, dword [esp + 0x30]
mov edx, esi
push 1
call fcn.0047a1a0
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004b4119
mov esp, ebp
pop ebp
ret