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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55e678
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5b7f60]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x5b7f60]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], esi
cmp dword [edi + 8], ebx
je 0x420f28
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.004217d0
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov esi, dword [esi + 0x78]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], esi
cmp esi, dword [edx + 0x7c]
je 0x4210ea
jmp 0x420f44
mov esi, dword [esp + 0x10]
mov ecx, dword [esi]
cmp dword [ecx + 0x78], ebx
je 0x420fde
lea eax, [esp + 0x4c]
push eax
call fcn.004201e0
lea edx, [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0x90], ebx
call fcn.004215b0
mov ecx, esi
mov esi, eax
call fcn.00421500
mov dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx + 4]
lea esi, [esp + esi + 0x78]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov edx, dword [esp + 0x6c]
push edx
call fcn.0043097b
mov eax, dword [esp + 0x78]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push eax
call esi
cmp dword [esp + 0x64], 8
jb 0x420fba
mov ecx, dword [esp + 0x50]
push ecx
call esi
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x4c]
push edx
jmp 0x4210cc
mov dword [esp + 0x18], 0x58dcc8
mov dword [esp + 0x44], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x48], eax
mov dword [esp + 0x90], 1
push 7
xor eax, eax
push 0x590200
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
call fcn.00402040
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [ecx + 4]
mov edx, dword [esp + eax + 0x44]
lea eax, [esp + eax + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x90], 2
call fcn.004215b0
mov ecx, esi
mov esi, eax
call fcn.00421500
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 4]
lea esi, [esp + esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0043097b
mov edx, dword [esp + 0x44]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push edx
call esi
cmp dword [esp + 0x30], 8
jb 0x4210ad
mov eax, dword [esp + 0x1c]
push eax
call esi
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x10], eax
cmp eax, dword [edx + 0x7c]
jne 0x420f40
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.005319a6
mov esp, ebp
pop ebp
ret