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

Disassembly:
push 0xffffffffffffffff
push 0x5db7b3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
cpuid
mov dword [esp + 0x3c], 0xffffffff
lea ebp, [esp + 0x3c]
mov dword [ebp], eax
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], edx
mov eax, edx
xor ecx, ecx
cpuid
lea ebp, [esp + 0x3c]
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x14]
cmp edx, 1
jne 0x41569d
mov eax, dword [esp + 0x3c]
mov ecx, eax
sar ecx, 0xc
and ecx, 3
mov esi, eax
mov edi, eax
mov dword [esp + 0x24], ecx
mov ecx, eax
sar eax, 0x14
and eax, 0xff
sar ecx, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
and ecx, 0xf
mov dword [esp + 0x1c], ecx
mov ecx, eax
sar eax, 8
and eax, 0xff
add eax, eax
sar esi, 4
sar edi, 8
and ecx, 0xff
add eax, eax
and esi, 0xf
and edi, 0xf
add eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x18]
jbe 0x415624
xor ecx, ecx
mov eax, SysReAllocString
cpuid
lea ebp, [esp + 0x3c]
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ebx, dword [esp + 0x3c]
push 0x40
lea edx, [esp + 0x70]
push 0
push edx
mov dword [esp + 0x24], ebx
call fcn.005baaa0
mov eax, SysReAllocString
add esp, 0xc
mov dword [esp + 0x14], eax
cmp ebx, eax
jb 0x4157a5
nop
xor ecx, ecx
cpuid
lea ebp, [esp + 0x3c]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x415731
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x415796
cmp eax, 0x80000003
jne 0x415763
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
jmp 0x415796
cmp eax, reloc.OLEAUT32.dll_SysReAllocStringLen
jne 0x415796
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jbe 0x4156f0
mov ebx, dword [esp + 0x30]
mov ecx, ebx
call fcn.00403b10
lea eax, [esp + 0x4c]
mov dword [esp + 0xb8], 0
mov ebp, 1
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebp
call fcn.0040a380
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0xbc], ebp
call fcn.0040a380
push 0x61c0c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 2
call fcn.00419700
add esp, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push edi
mov byte [esp + 0xd0], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push esi
push ecx
push edx
mov ecx, eax
call fcn.0040a620
push eax
push ebx
call fcn.00403700
add esp, 0x2c
lea ecx, [esp + 0x38]
call fcn.0040a610
lea ecx, [esp + 0x14]
call fcn.0040a610
lea ecx, [esp + 0x18]
call fcn.0040a610
mov eax, ebx
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.005b6c8b
add esp, 0xa8
ret 4