Function at 0x5473b0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x59d4e2
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
cmp dword [ebx + 0x10], 0
je 0x54787f
push 9
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x44]
push 0x5ba2b8
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.00404a80
mov dword [esp + 0xb8], 0
mov eax, dword [0x7e23f4]
test al, 1
jne 0x547482
or eax, 1
mov dword [0x7e23f4], eax
mov byte [esp + 0xb8], 1
mov dword [0x7e23f0], 0
call fcn.004c1de0
push 0x59ffb0
call fcn.00565027
add esp, 4
mov byte [esp + 0xb8], 0
lea eax, [esp + 0x40]
mov ecx, 0x7e23f0
push eax
call fcn.004c1fa0
mov esi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x5474b5
push dword [esp + 0x40]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
push 0xc
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], eax
push 0x5be5d8
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
call fcn.00404a80
mov dword [esp + 0xb8], 2
mov eax, dword [0x7e23f4]
test al, 1
jne 0x54753d
or eax, 1
mov dword [0x7e23f4], eax
mov byte [esp + 0xb8], 3
mov dword [0x7e23f0], 0
call fcn.004c1de0
push 0x59ffb0
call fcn.00565027
add esp, 4
mov byte [esp + 0xb8], 2
lea eax, [esp + 0x28]
mov ecx, 0x7e23f0
push eax
call fcn.004c1fa0
mov ebp, eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x54756c
push dword [esp + 0x28]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
test esi, esi
je 0x54787f
test ebp, ebp
je 0x54787f
push 0x5be5f4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
push 0x5be5c0
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call esi
push 0x5be6e0
push ebp
mov dword [esp + 0x2c], eax
call esi
push 0x5be6ec
push ebp
mov dword [esp + 0x20], eax
call esi
push 0x5c1898
push ebp
mov dword [esp + 0x1c], eax
call esi
push 0x5c1888
push ebp
mov dword [esp + 0x24], eax
call esi
cmp dword [esp + 0x20], 0
mov dword [esp + 0x58], eax
je 0x54787f
mov esi, dword [esp + 0x24]
test esi, esi
je 0x54787f
cmp dword [esp + 0x18], 0
je 0x54787f
cmp dword [esp + 0x14], 0
je 0x54787f
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x54787f
test eax, eax
je 0x54787f
lea ecx, [esp + 0x1c]
call fcn.005589a0
mov dword [esp + 0xb8], 4
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call esi
test eax, eax
jns 0x54765f
cmp eax, 0x80010119
je 0x54765f
xor bl, bl
jmp 0x547867
mov dword [esp + 0x5c], 0
mov byte [esp + 0xb8], 6
lea eax, [esp + 0x5c]
push eax
push 0x5c18c8
push 1
push 0
push 0x5c18d8
call dword [esp + 0x34]
test eax, eax
js 0x54784f
cmp dword [esp + 0x5c], 0
je 0x54784f
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push eax
call esi
lea eax, [esp + 0x7c]
push eax
call esi
lea eax, [esp + 0x9c]
push eax
call esi
lea eax, [esp + 0x8c]
push eax
call esi
movdqu xmm0, xmmword [esp + 0x8c]
mov eax, dword [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movdqu xmm0, xmmword [esp + 0xcc]
movdqu xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movdqu xmm0, xmmword [esp + 0xbc]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [esp + 0xac]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x28]
mov esi, eax
lea eax, [esp + 0x6c]
push eax
call dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
call dword [esp + 0x18]
lea eax, [esp + 0x9c]
push eax
call dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
call dword [esp + 0x18]
test esi, esi
js 0x54784f
mov dword [esp + 0x60], 0
mov byte [esp + 0xb8], 0xa
lea edx, [esp + 0x60]
mov eax, dword [esp + 0x5c]
push edx
push 0x5a87e8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x547835
cmp dword [esp + 0x60], 0
je 0x547835
mov dword [esp + 0x64], 0
mov byte [esp + 0xb8], 0xe
cmp dword [ebx + 0x14], 8
jb 0x547794
mov ebx, dword [ebx]
push ebx
call ebp
mov ebx, eax
test ebx, ebx
jne 0x5477a1
xor bl, bl
jmp 0x54781d
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x64]
push edx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push ebx
mov esi, eax
call dword [esp + 0x5c]
test esi, esi
js 0x547815
mov eax, dword [esp + 0x64]
test eax, eax
je 0x547815
mov dword [esp + 0x68], 0
lea edx, [esp + 0x68]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x5477df
xor bl, bl
jmp 0x54781d
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x547815
cmp ecx, 1
jne 0x5477f0
mov dword [edi], ecx
jmp 0x54781b
cmp ecx, 2
jne 0x5477f9
mov dword [edi], ecx
jmp 0x54781b
cmp ecx, 3
jne 0x547802
mov dword [edi], ecx
jmp 0x54781b
mov edx, 4
mov eax, 9
cmp ecx, edx
cmove eax, edx
mov dword [edi], eax
jmp 0x54781b
mov dword [edi], 0
mov bl, 1
mov byte [esp + 0xb8], 0xa
mov eax, dword [esp + 0x64]
test eax, eax
je 0x547837
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x547837
xor bl, bl
mov byte [esp + 0xb8], 6
mov eax, dword [esp + 0x60]
test eax, eax
je 0x547851
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x547851
xor bl, bl
mov byte [esp + 0xb8], 4
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x547867
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00558af0
mov al, bl
jmp 0x547881
xor al, al
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00564de8
add esp, 0xa8
ret 8