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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcb63
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x6c21e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
push ecx
call fcn.005b1290
push 0
push 0x5fb7ac
call fcn.005b45a0
push 0x104
mov dword [esi + 0xb8], 0
call fcn.0041ea84
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea ecx, [edi + 0x90]
mov dword [edi + 0x80], 0
call fcn.00516ef0
lea ecx, [edi + 0x9c]
call fcn.00516ef0
lea ecx, [edi + 0xa8]
call fcn.00516ef0
lea ecx, [edi + 0xb4]
call fcn.00516ef0
lea ecx, [edi + 0xc0]
call fcn.00516ef0
lea ecx, [edi + 0xcc]
call fcn.00516ef0
push 0x90
push 0
push edi
mov dword [edi + 0xd8], 0x41600000
mov dword [edi + 0xdc], 0x40800000
mov dword [edi + 0xe0], 6
mov dword [edi + 0xe4], 0xff606070
mov dword [edi + 0xe8], 0xff202030
mov dword [edi + 0xec], 0xff808090
mov dword [edi + 0xf0], 0xff404050
mov dword [edi + 0xf4], 0xa09f9f9f
mov dword [edi + 0xf8], 0xe0efefef
mov dword [edi + 0xfc], 0xffffff
mov dword [edi + 0x100], 1
call fcn.00420570
mov eax, dword [ebx + 8]
add esp, 0xc
and eax, 8
mov dword [ebp - 0x28], eax
je 0x476668
push 0x615614
push 0xffffffffffffffff
lea ecx, [esi + 0x14b0]
call fcn.004e73c0
push 0
push 1
mov ecx, esi
call fcn.00482050
mov eax, dword [esi + 0x13a8]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
sub eax, 0x14
mov ecx, dword [esi + 0x104]
push 0
push eax
call fcn.0050bb70
push ecx
push 0x68
mov ecx, esi
mov dword [edi + 8], eax
call fcn.004738e0
push ecx
push 0x99
mov ecx, esi
mov dword [edi + 0xc], eax
call fcn.004738e0
push ecx
push 0x9e
mov ecx, esi
mov dword [edi + 0x10], eax
call fcn.004738e0
push ecx
push 0x72
mov ecx, esi
mov dword [edi + 0x14], eax
call fcn.004738e0
push ecx
push 0x7d
mov ecx, esi
mov dword [edi + 0x18], eax
call fcn.004738e0
push ecx
push 0x80
mov ecx, esi
mov dword [edi + 0x20], eax
call fcn.004738e0
push ecx
push 0x95
mov ecx, esi
mov dword [edi + 0x24], eax
call fcn.004738e0
push ecx
push 0xb3
mov ecx, esi
mov dword [edi + 0x28], eax
call fcn.004738e0
push ecx
push 0x86
mov ecx, esi
mov dword [edi + 0x2c], eax
call fcn.004738e0
push ecx
push 0x8b
mov ecx, esi
mov dword [edi + 0x38], eax
call fcn.004738e0
push ecx
push 0x103
mov ecx, esi
mov dword [edi + 0x3c], eax
call fcn.004738e0
push ecx
push 0x7a
mov ecx, esi
mov dword [edi + 0x34], eax
call fcn.004738e0
push ecx
push 0x8e
mov ecx, esi
mov dword [edi + 0x48], eax
call fcn.004738e0
push ecx
mov dword [edi + 0x4c], eax
push 0xa7
mov ecx, esi
call fcn.004738e0
push ecx
push 0x9c
mov ecx, esi
mov dword [edi + 0x50], eax
call fcn.004738e0
push ecx
push 0x76
mov ecx, esi
mov dword [edi + 0x54], eax
call fcn.004738e0
push ecx
push 0x7e
mov ecx, esi
mov dword [edi + 0x58], eax
call fcn.004738e0
push ecx
push 0x6e
mov ecx, esi
mov dword [edi + 0x5c], eax
call fcn.004738e0
push ecx
push 0x79
mov ecx, esi
mov dword [edi + 0x60], eax
call fcn.004738e0
push ecx
push 0xce
mov ecx, esi
mov dword [edi + 0x64], eax
call fcn.004738e0
push ecx
push 0x100
mov ecx, esi
mov dword [edi + 0x68], eax
call fcn.004738e0
push ecx
push 0x107
mov ecx, esi
mov dword [edi + 0x6c], eax
call fcn.004738e0
mov dword [edi + 0x70], eax
lea ecx, [edi + 0xc0]
mov eax, dword [ebx + 8]
push 0x6155f4
mov dword [edi + 0x7c], 5
mov dword [edi + 0x8c], eax
call fcn.00516e30
movups xmm0, xmmword [esi + 0x13ac]
movups xmmword [edi + 0xd8], xmm0
movups xmm0, xmmword [esi + 0x13bc]
movups xmmword [edi + 0xe8], xmm0
movq xmm0, qword [esi + 0x13cc]
movq qword [edi + 0xf8], xmm0
mov eax, dword [esi + 0x13d4]
mov dword [edi + 0x100], eax
mov dword [edi + 0xd8], 0x41600000
mov ecx, dword [esi + 0x1eec]
cmp ecx, 4
jne 0x476858
lea ecx, [esi + 0x124]
call fcn.00516ab0
jmp 0x476868
cmp ecx, 2
mov eax, 0x615650
mov edx, 0x615698
cmovne eax, edx
cmp dword [ebp - 0x28], 0
mov dword [edi + 0x88], eax
je 0x47698b
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push 0x5b0ff0
push 0
push 0
mov dword [ebp - 0x1c], edi
call dword [0x5cd380]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
cmp esi, eax
je 0x4768b5
mov byte [ebp - 0x29], 1
test esi, esi
jne 0x4768b9
mov byte [ebp - 0x29], 0
push 0x6155f4
push 0x61570c
push 0
push 3
push 3
call dword [0x5cd3fc]
mov edi, dword [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0047cd90
test dword [ebx + 8], 0x800
mov dword [edi + 0xb8], eax
je 0x47690e
cmp byte [ebp - 0x29], 0
mov ecx, 0x6157c8
push 0
push 0
mov eax, 0x615728
cmove eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0044b0d0
movzx edi, byte [ebp - 0x29]
jmp 0x476974
xor edx, edx
mov ecx, esi
call fcn.004fc850
test al, al
je 0x47693c
nop dword [eax + eax]
push 0
push 0
mov ecx, edi
call fcn.00482050
test eax, eax
jne 0x476971
xor edx, edx
mov ecx, esi
call fcn.004fc850
test al, al
jne 0x476920
lea eax, [ebp - 0x18]
push eax
push esi
call dword [0x5cd444]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x4769f9
test esi, esi
je 0x4769f9
push esi
call dword [0x5cd390]
jmp 0x4769f9
or edi, 0xffffffff
cmp esi, 0xffffffff
je 0x476984
test esi, esi
je 0x476984
push esi
call dword [0x5cd390]
mov eax, edi
jmp 0x476a75
push 1
push 0x6155f4
mov ecx, esi
call fcn.0044fbd0
mov ecx, dword [ebp - 0x30]
mov esi, eax
push esi
push 0x6155f4
call fcn.0044fa20
mov eax, dword [ebp - 0x30]
push 0x6155f4
mov ecx, dword [eax + 0x14a8]
mov dword [edi], ecx
lea ecx, [eax + 0x13e8]
call fcn.00516e30
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add eax, 0x14ac
cmp dword [eax], ecx
cmove eax, ecx
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004bf8d0
mov ecx, dword [ebp - 0x30]
push esi
push 0x6155f4
mov dword [ebp - 0x28], eax
call fcn.0044f8d0
push ecx
mov ecx, edi
call fcn.004029e0
mov edi, dword [ebp - 0x30]
push 0
push 0x6155f4
mov ecx, edi
call fcn.005b4a60
test byte [ebx + 8], 2
je 0x476a70
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.00516ef0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, esi
cdq
push edx
push eax
call fcn.00515ed0
mov ecx, 0x615830
cmp esi, 1
mov eax, 0x615820
cmovne eax, ecx
lea ecx, [ebp - 0x24]
push 0x61580c
push eax
call fcn.00516ab0
push eax
push 0x615848
mov ecx, edi
call fcn.0044b0d0
lea ecx, [ebp - 0x24]
call fcn.00516d50
jmp 0x476a73
mov esi, dword [ebp - 0x28]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e865
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4