Function at 0x46b080
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525918
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
call fcn.0049dae0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0x550ab8
call fcn.00408f70
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46b156
push 0x54fc00
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x46b156
mov ecx, dword [esi]
lea eax, [ebp - 0x34]
or ecx, 0x20019
push eax
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00408e90
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x46b156
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x34]
push eax
call fcn.0046b330
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x46b156
push 0x54fc24
push eax
call edi
test eax, eax
je 0x46b156
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x46b156
push ecx
call eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push 0x20019
mov dword [ebp - 0x34], 0
call fcn.00495b10
mov ebx, eax
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46b1ee
push 0x54fc00
push eax
call edi
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46b1ee
test ebx, ebx
je 0x46b1ee
mov ecx, dword [esi]
lea eax, [ebp - 0x34]
or ecx, 0x20019
push eax
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00408e90
push eax
push ebx
call dword [ebp - 0x38]
test eax, eax
jne 0x46b1ee
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x34]
push eax
call fcn.0046b330
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x46b1ee
push 0x54fc24
push eax
call edi
test eax, eax
je 0x46b1ee
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x46b1ee
push ecx
call eax
mov dword [esi], 0x100
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46b264
push 0x54fc00
push eax
call edi
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46b264
mov ecx, dword [esi]
lea eax, [ebp - 0x34]
or ecx, 0x20019
push eax
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00408e90
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [ebp - 0x38]
test eax, eax
jne 0x46b264
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x34]
push eax
call fcn.0046b330
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x46b264
push 0x54fc24
push eax
call edi
test eax, eax
je 0x46b264
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x46b264
push ecx
call eax
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x46b2db
push 0x54fc00
push eax
call edi
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46b2db
test ebx, ebx
je 0x46b2db
mov ecx, dword [esi]
lea eax, [ebp - 0x34]
or ecx, 0x20019
push eax
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00408e90
push eax
push ebx
call dword [ebp - 0x38]
test eax, eax
jne 0x46b2db
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x34]
push eax
call fcn.0046b330
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 4]
test eax, eax
je 0x46b2db
push 0x54fc24
push eax
call edi
test eax, eax
je 0x46b2db
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x46b2db
push ecx
call eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00495ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00408080
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.004e6b81
add esp, 8
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e679a
mov esp, ebp
pop ebp
ret 4