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

Disassembly:
push 0xffffffffffffffff
push 0x559d58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
call fcn.0049eff0
mov esi, vtable.cWCStr.0
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 4]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0
call fcn.00406a80
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.0049eff0
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x14]
push 2
push 0x577abc
push ecx
mov byte [esp + 0x60], 1
call fcn.0051a35a
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x46f129
push 0
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
mov dword [esp + 0x28], eax
call fcn.0044d4f0
mov ebx, eax
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.004dd6e0
mov esi, eax
mov eax, dword [esp + 0x78]
add esp, 0x18
test eax, eax
je 0x46f111
mov dword [eax], ebx
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0x10
push ecx
call fcn.0042cae0
add esp, 0x10
jmp 0x46f1bd
cmp word [eax], 0
je 0x46f155
nop
push 3
push 0x577ab4
push eax
call fcn.0051a35a
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x46f199
add eax, 2
mov dword [esp + 0x14], eax
cmp word [eax], 0
jne 0x46f130
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
mov dword [esp + 0x3c], esi
call fcn.0049ee80
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x2c], esi
call fcn.0049ee80
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
push 0x10
lea ecx, [esp + 0x18]
add eax, 2
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.0051d4f5
add esp, 0xc
push 0xffffffffffffffff
push esi
mov ecx, edi
mov ebx, edx
mov ebp, eax
call fcn.00406a80
mov edx, ebp
xor esi, esi
xor edi, edi
or edx, ebx
je 0x46f276
push ebx
push ebp
call fcn.004b5ed0
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
mov esi, eax
mov edi, edx
call fcn.0049eff0
mov dword [esp + 0x1c], vtable.cWCStr.0
push 0x40
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 2
call fcn.0049f100
push edi
push esi
call fcn.0043b9b0
add esp, 8
test al, al
je 0x46f232
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push 1
push edi
push esi
push eax
push ecx
call fcn.0043ba30
add esp, 0x14
jmp 0x46f246
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edi
push esi
push edx
push eax
call fcn.0043b950
add esp, 0x10
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
push ecx
push 0x576ebc
push edx
call fcn.00408140
mov ebx, vtable.cWCS.0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
mov dword [esp + 0x1c], ebx
call fcn.0049ee80
jmp 0x46f27b
mov ebx, vtable.cWCS.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
mov dword [esp + 0x3c], ebx
call fcn.0049ee80
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x2c], ebx
call fcn.0049ee80
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret