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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
mov esi, ecx
push edi
push 0
mov dword [esp + 0x1c], esi
lea ecx, [esi + 8]
mov byte [esi], 0
call fcn.0040d72a
mov eax, 0x3485ac91
mov dword [esp + 0x20], 0xee5bd2a5
mov edx, 0xa5620fee
mov dword [esp + 0x24], eax
mov ecx, 0xffb2cff4
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
sub esp, 0x10
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x44], eax
lea eax, [ebp + 0x20]
mov dword [esp + 0x4c], ecx
mov ecx, esp
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], 0xee5bb0c1
pxor xmm1, xmmword [esp + 0x40]
push eax
movaps xmmword [esp + 0x34], xmm1
call fcn.0040f39b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.0040dfa6
lea ecx, [esp + 0x7c]
call fcn.004819d6
mov edi, dword [esp + 0x7c]
add esp, 0x18
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x4c], eax
cmp edi, eax
je 0x480e57
mov eax, 0x3485ac91
mov dword [esp + 0x70], 0xee5bb0c1
mov edx, 0xa5620fee
mov dword [esp + 0x74], eax
mov ecx, 0xffb2cff4
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], edx
xor eax, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0xee5bb0c1
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
sub esp, 0x18
mov dword [esp + 0x38], eax
mov ecx, esp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push edi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040dfa6
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.0040dfa6
lea edx, [esp + 0x50]
lea ecx, [esp + 0xe8]
call fcn.0048159b
add esp, 0x30
mov dword [esp + 0x50], 0x8239d1b5
mov dword [esp + 0x54], 0x3485dff4
lea eax, [esp + 0x50]
mov dword [esp + 0x58], 0xa5620fee
mov ecx, esi
mov dword [esp + 0x5c], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x50]
pxor xmm0, xmmword [esp + 0x70]
push eax
movaps xmmword [esp + 0x54], xmm0
call fcn.0040efd9
mov esi, eax
lea ecx, [esp + 0x98]
lea eax, [esp + 0xb8]
push eax
call fcn.0040f39b
lea eax, [esp + 0x98]
mov ecx, esi
push eax
call fcn.0040b3cb
push dword [esp + 0x98]
lea ecx, [esp + 0xa4]
call fcn.0040d446
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x8239d1b5
mov dword [esp + 0x34], 0x55ebf3f4
mov dword [esp + 0x38], 0xa5116a83
mov dword [esp + 0x3c], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x30]
pxor xmm0, xmmword [esp + 0x80]
push eax
movaps xmmword [esp + 0x34], xmm0
call fcn.0040efd9
push edi
lea ecx, [esp + 0xac]
mov esi, eax
call fcn.0040f39b
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
call fcn.0040b3cb
push dword [esp + 0xa8]
lea ecx, [esp + 0xb4]
call fcn.0040d446
sub esp, 0x10
xor eax, eax
mov esi, esp
sub esp, 0x18
mov ecx, esp
push edi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040dfa6
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.0040dfa6
sub esp, 0xc
lea eax, [esp + 0x6c]
mov ecx, esp
push eax
call fcn.0040c2ae
mov ecx, esi
call fcn.00480e78
mov ecx, dword [esp + 0x64]
add esp, 0x3c
push edi
call fcn.0040b4c5
mov ecx, eax
call fcn.0040b5bd
lea ecx, [esp + 0xb8]
call fcn.004077ce
mov esi, dword [esp + 0x20]
test esi, esi
je 0x480e3e
mov eax, dword [esp + 0x24]
cmp esi, eax
je 0x480dee
mov edi, eax
mov ecx, esi
call fcn.004077ce
push 0x18
pop eax
add esi, eax
cmp esi, edi
jne 0x480dd6
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
sub eax, esi
mov dword [esp + 0x14], esi
push 0x18
cdq
pop ecx
idiv ecx
imul eax, eax, 0x18
mov dword [esp + 0x1c], eax
cmp eax, 0x1000
jb 0x480e25
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.0041e009
xor eax, eax
pop ecx
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jmp 0x480e40
xor eax, eax
mov esi, dword [esp + 0x18]
push 0x18
pop ecx
add edi, ecx
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x4c]
jne 0x480c2c
lea ecx, [esp + 0x64]
call fcn.0040da76
lea ecx, [ebp + 8]
call fcn.004077ce
lea ecx, [ebp + 0x20]
call fcn.004077ce
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret