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

Disassembly:
push 0xffffffffffffffff
push 0x4d20bb
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
lea ebp, [ebx + 7]
lea esi, [esp + 0x84]
call fcn.004319e0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
push ebx
push 3
push ebx
call eax
mov dword [esp + 0x30], eax
cmp eax, ebx
je 0x42faa2
cmp eax, 0xea
jne 0x42fd60
lea esi, [esp + 0x78]
call fcn.00431ad0
mov esi, dword [eax + 8]
mov edi, dword [esp + 0x24]
push 0xc
call fcn.004aa724
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0xd4], ebx
cmp eax, ebx
je 0x42faf4
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [esp + 0xd4], 1
mov dword [eax], vtable.StartupAreas::FreeProcPtr_unsigned_long_int____stdcall___void____struct__USER_INFO_3__.0
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov byte [esp + 0xd4], bl
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x42fafa
mov dword [esp + 0x20], ebx
mov esi, ebx
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0x74], esi
mov dword [esp + 0xd4], 2
mov eax, dword [esp + 0x24]
mov edi, eax
cmp eax, ebx
je 0x42fd34
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42fd34
cmp edi, ebx
je 0x42fd2c
xor ecx, ecx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
mov byte [esp + 0xd4], 3
xor edx, edx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], dx
mov byte [esp + 0xd4], 4
mov ecx, dword [edi]
xor eax, eax
mov word [esp + 0x40], ax
mov eax, ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42fb90
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00409920
mov byte [esp + 0xd4], 5
or dword [esp + 0x1c], 1
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x40]
call fcn.0042ba60
add esp, 4
test al, al
je 0x42fbeb
lea edx, [esp + 0xac]
lea ecx, [esp + 0x90]
call fcn.0042bc80
mov byte [esp + 0x1b], 1
test al, al
jne 0x42fbef
mov byte [esp + 0x1b], bl
mov dword [esp + 0xd4], 4
test byte [esp + 0x1c], 1
je 0x42fc29
and dword [esp + 0x1c], 0xfffffffe
cmp dword [esp + 0x54], 8
jb 0x42fc1a
mov edx, dword [esp + 0x40]
push edx
call fcn.004a9741
add esp, 4
xor eax, eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
cmp byte [esp + 0x1b], bl
je 0x42fc99
mov ecx, dword [edi]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42fc45
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00409920
mov byte [esp + 0xd4], 6
inc dword [esp + 0xdc]
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x70], 8
jb 0x42fc8a
mov eax, dword [esp + 0x5c]
push eax
call fcn.004a9741
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
add edi, 0x74
mov byte [esp + 0xd4], 3
mov esi, 8
cmp dword [esp + 0xc4], esi
jb 0x42fcc2
mov edx, dword [esp + 0xb0]
push edx
call fcn.004a9741
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], ax
mov byte [esp + 0xd4], 2
cmp dword [esp + 0xa8], esi
jb 0x42fcfb
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004a9741
add esp, 4
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
inc eax
xor edx, edx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jb 0x42fb30
jmp 0x42fd34
mov dword [esp + 0x30], 0xc
mov dword [esp + 0xd4], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
cmp dword [esp + 0x30], 0xea
je 0x42fa64
mov al, 1
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a974c
add esp, 0xc4
ret