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

Disassembly:
push 0xffffffffffffffff
push 0x4d349b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
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.00432670
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 0x430702
cmp eax, 0xea
jne 0x4309c0
lea esi, [esp + 0x78]
call fcn.00432760
mov esi, dword [eax + 8]
mov edi, dword [esp + 0x24]
push 0xc
call fcn.004ab619
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0xd4], ebx
cmp eax, ebx
je 0x430754
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 0x43075a
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 0x430994
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x2c], ebx
jbe 0x430994
cmp edi, ebx
je 0x43098c
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 0x4307f0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.004092d0
mov byte [esp + 0xd4], 5
or dword [esp + 0x1c], 1
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x40]
call fcn.0042c5f0
add esp, 4
test al, al
je 0x43084b
lea edx, [esp + 0xac]
lea ecx, [esp + 0x90]
call fcn.0042c810
mov byte [esp + 0x1b], 1
test al, al
jne 0x43084f
mov byte [esp + 0x1b], bl
mov dword [esp + 0xd4], 4
test byte [esp + 0x1c], 1
je 0x430889
and dword [esp + 0x1c], 0xfffffffe
cmp dword [esp + 0x54], 8
jb 0x43087a
mov edx, dword [esp + 0x40]
push edx
call fcn.0045a597
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 0x4308f9
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 0x4308a5
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004092d0
mov byte [esp + 0xd4], 6
inc dword [esp + 0xdc]
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x70], 8
jb 0x4308ea
mov eax, dword [esp + 0x5c]
push eax
call fcn.0045a597
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 0x430922
mov edx, dword [esp + 0xb0]
push edx
call fcn.0045a597
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 0x43095b
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0045a597
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 0x430790
jmp 0x430994
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 0x4306c4
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.004aa641
add esp, 0xc4
ret