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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451310
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
add eax, 0xffffff9a
cmp eax, 0xab
ja case.0x42a067.108
movzx eax, byte [eax + 0x42a2e8]
mov esi, dword [ebp + 8]
jmp dword [eax*4 + 0x42a2cc]
mov edi, esi
lea esi, [edi + 0x18]
xor ebx, ebx
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x42a09a
mov ecx, dword [eax]
push ecx
add edi, 0x30
call fcn.0042a780
cmp esi, ebx
je case.0x42a067.108
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x42a067.108
mov eax, dword [ebp + 0x1c]
test eax, eax
je case.0x42a067.108
mov edx, dword [eax]
mov eax, dword [edx + 8]
mov ecx, 1
mov word [eax], cx
jmp case.0x42a067.108
mov esi, dword [ebp + 0x1c]
test esi, esi
je case.0x42a067.108
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je case.0x42a067.108
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test eax, eax
je case.0x42a067.108
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 1
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
js 0x42a123
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x42a067.108
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x42a067.108
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je case.0x42a067.108
mov ecx, dword [esi + 0xc]
test ecx, ecx
je case.0x42a067.108
cmp dword [ebx + 8], 6
jb case.0x42a067.108
mov eax, dword [ebx]
cmp word [eax + 0x60], 9
jne case.0x42a067.108
cmp ecx, dword [eax + 0x68]
jne case.0x42a067.108
mov eax, dword [eax + 0x58]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 8]
call fcn.00401e30
mov dword [esp + 0x30], 2
cmp dword [esi + 0x40], 0
je 0x42a1cc
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.00401a60
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
test eax, eax
jne 0x42a1cc
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
mov eax, 1
mov word [edx], ax
lea ecx, [esp + 0x14]
call fcn.00402630
jmp case.0x42a067.108
mov edi, dword [ebp + 0x1c]
test edi, edi
je case.0x42a067.106
cmp dword [esi + 0xc], 0
je case.0x42a067.106
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], 3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00401e30
mov byte [esp + 0x30], 4
mov edx, dword [edi]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax + 8]
call fcn.00401e30
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 5
call fcn.0040e050
add esp, 4
test al, al
je 0x42a283
lea edi, [esi + 0x14]
lea eax, [esp + 0x10]
call fcn.004138d0
cmp dword [esi + 0x40], 0
je 0x42a283
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
call fcn.00401a60
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push esi
call edx
lea ecx, [esp + 0x10]
call fcn.00402630
lea ecx, [esp + 0x1c]
call fcn.00402630
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp case.0x42a067.108
cmp dword [esi + 0x40], 0
je case.0x42a067.108
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24