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

Disassembly:
push 0xffffffffffffffff
push 0x563610
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 4]
call fcn.004de7d0
test al, al
jne 0x4de9e3
or edi, 0xffffffff
push edi
push 0
lea ecx, [esp + 0x30]
call fcn.0049eff0
mov esi, vtable.cWCStr.0
mov dword [esp + 0x28], esi
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x28]
push eax
add ecx, 0x138
mov dword [esp + 0x74], 0
call fcn.0042bef0
push edi
push 0
lea ecx, [esp + 0x50]
call fcn.0049eff0
mov dword [esp + 0x48], esi
push edi
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 1
call fcn.0049eff0
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 2
call fcn.0049e900
mov bl, al
test bl, bl
jne 0x4de976
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.0042d340
add esp, 0x14
test al, al
je 0x4de976
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xd8]
mov byte [esp + 0x16], 1
cmp ecx, dword [esp + 0x18]
jne 0x4deb79
mov edx, dword [eax + 0xdc]
cmp edx, dword [esp + 0x1c]
jne 0x4deb79
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x4c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4de98c
test dx, dx
je 0x4de972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4de98c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4de950
xor eax, eax
jmp 0x4de990
mov eax, dword [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e], 0
call fcn.00406a80
jmp 0x4de998
sbb eax, eax
sbb eax, edi
test eax, eax
jne 0x4deb79
cmp byte [ebp + 1], 0
je 0x4de9f9
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 1
mov dword [esp + 0x38], esi
call fcn.0049ee80
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
mov dword [esp + 0x48], esi
call fcn.0049ee80
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], edi
mov dword [esp + 0x28], esi
call fcn.0049ee80
cmp byte [esp + 0x16], 0
je 0x4debb3
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov byte [esp + 0x17], 0
test bl, bl
jne 0x4dea0d
cmp byte [esp + 0x16], bl
je 0x4dea0d
mov byte [esp + 0x17], 1
push edi
push 0
lea ecx, [esp + 0x60]
call fcn.0049eff0
mov dword [esp + 0x58], esi
mov byte [esp + 0x70], 3
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xd8]
xor esi, esi
xor edi, edi
cmp ecx, dword [0x5b2fa8]
jne 0x4dea45
mov edx, dword [eax + 0xdc]
cmp edx, dword [0x5b2fac]
je 0x4dea50
xor eax, eax
call fcn.004dcb30
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xdc]
mov edx, dword [eax + 0xd8]
mov eax, dword [ebp + 0x1c]
push edi
push esi
push ecx
mov ecx, dword [eax]
push edx
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.0042d130
add esp, 0x1c
or esi, edi
je 0x4dea97
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
push 0xffffffffffffffff
push eax
push ecx
call fcn.0049ea40
add esp, 0xc
test eax, eax
je 0x4dea22
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 4]
push edx
add ecx, 0x138
call fcn.0042e780
mov ecx, ebp
call fcn.004debd0
test al, al
jne 0x4deafd
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 2
mov dword [esp + 0x58], esi
call fcn.0049ee80
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 1
mov dword [esp + 0x38], esi
call fcn.0049ee80
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
mov dword [esp + 0x48], esi
call fcn.0049ee80
mov dword [esp + 0x70], 0xffffffff
jmp 0x4deba6
cmp byte [esp + 0x17], 0
je 0x4deb13
mov eax, dword [esp + 0x2c]
push 1
push eax
call fcn.004dcf30
add esp, 8
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 2
mov dword [esp + 0x58], esi
call fcn.0049ee80
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 1
mov dword [esp + 0x38], esi
call fcn.0049ee80
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
mov dword [esp + 0x48], esi
call fcn.0049ee80
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x28], esi
call fcn.0049ee80
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 1
mov dword [esp + 0x38], esi
call fcn.0049ee80
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0
mov dword [esp + 0x48], esi
call fcn.0049ee80
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret