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

Disassembly:
push 0xffffffffffffffff
push 0x952141
mov eax, dword fs:[0]
push eax
sub esp, 0x9b4
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x9b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x9c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9e8]
mov esi, dword [esp + 0x9ec]
push 7
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
push eax
push 1
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetControlWOW
push 0x80000002
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x34], esi
call fcn.0088b120
mov ebp, dword [esp + 0x9f0]
add esp, 0x18
cmp eax, ebx
jne 0x8e9f45
mov dword [esp + 0x18], 0x208
mov eax, str.cmdline
cmp ebp, 0x10
je 0x8e9ee9
mov eax, str.wowcmdline
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x7c0]
push edx
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x7c]
push ecx
push ebx
push eax
push edx
call fcn.0088c910
add esp, 0x18
cmp eax, ebx
je 0x8e9f18
xor eax, eax
mov word [esp + 0x7bc], ax
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0086b0d0
cmp word [esp + 0x7bc], bx
jne 0x8e9f6b
cmp ebp, 0x10
jne 0x8e9f51
push str.__SystemRoot__system32_ntvdm.exe_
push 0x104
lea eax, [esp + 0x7c4]
push eax
jmp 0x8e9f63
xor edx, edx
mov word [esp + 0x7bc], dx
jmp 0x8e9f2c
push str.__SystemRoot__system32_ntvdm.exe___a__SystemRoot__system32krnl386.exe
push 0x104
lea ecx, [esp + 0x7c4]
push ecx
call fcn.0091cabe
add esp, 0xc
push 0x104
lea edx, [esp + 0x5b8]
push edx
lea eax, [esp + 0x7c4]
push eax
call dword [0x9822b8]
test eax, eax
jne 0x8e9fb2
cmp esi, ebx
je 0x8e9fab
lea ecx, [esp + 0x7bc]
push ecx
call dword [0x982264]
push eax
push str.__Error__d_while_expanding_ntvdm_command_line__ls_
push esi
call fcn.0090aa60
add esp, 0x10
xor eax, eax
jmp 0x8eaab5
lea ecx, [esp + 0xfc]
call fcn.0090a020
mov dword [esp + 0x9d0], ebx
mov ax, word [esp + 0x5b4]
cmp ax, 0x22
jne 0x8ea060
mov ax, word [esp + 0x5b6]
mov edx, 0x22
lea edi, [esp + 0x5b6]
cmp dx, ax
je 0x8ea00b
movzx eax, ax
xor ecx, ecx
cmp cx, ax
je 0x8ea00b
movzx eax, word [edi + 2]
add edi, 2
mov edx, 0x22
cmp dx, ax
jne 0x8e9ff3
push ebx
lea ecx, [esp + 0x100]
call fcn.00909e10
push 0x22
push 1
lea ecx, [esp + 0x104]
call fcn.00909400
lea ecx, [esp + 0x5b6]
mov eax, edi
sub eax, ecx
sar eax, 1
mov edx, ecx
push eax
push edx
lea ecx, [esp + 0x104]
call fcn.0090a030
push 0x22
push 1
lea ecx, [esp + 0x104]
call fcn.00909400
cmp word [edi], 0x22
jne 0x8ea0d6
add edi, 2
jmp 0x8ea0d6
mov ecx, 0x20
lea edi, [esp + 0x5b4]
cmp cx, ax
je 0x8ea08c
movzx eax, ax
xor edx, edx
cmp dx, ax
je 0x8ea08c
movzx eax, word [edi + 2]
add edi, 2
mov ecx, 0x20
cmp cx, ax
jne 0x8ea074
push ebx
lea ecx, [esp + 0x100]
call fcn.00909e10
push 0x22
push 1
lea ecx, [esp + 0x104]
call fcn.00909400
lea eax, [esp + 0x5b4]
mov edx, edi
sub edx, eax
sar edx, 1
mov ecx, eax
push edx
push ecx
lea ecx, [esp + 0x104]
call fcn.0090a030
push 0x22
push 1
lea ecx, [esp + 0x104]
call fcn.00909400
or esi, 0xffffffff
push esi
push 0x9712d0
lea ecx, [esp + 0x104]
call fcn.0090a030
cmp dword [esp + 0x9dc], ebx
je 0x8ea111
mov edx, dword [esp + 0x9dc]
push edx
lea eax, [esp + 0x100]
push 0x9712c4
push eax
call fcn.0090aa60
add esp, 0xc
cmp ebp, 0x10
je 0x8ea190
push esi
push 0x9712bc
lea ecx, [esp + 0x104]
call fcn.0090a030
mov ecx, dword [0x99d10c]
cmp dword [ecx + 0x10], ebx
je 0x8ea14a
cmp ebp, 0x40
jne 0x8ea14a
push esi
push 0x9712b8
lea ecx, [esp + 0x104]
call fcn.0090a030
push esi
push edi
lea ecx, [esp + 0x104]
call fcn.0090a030
push 4
push str.__a
push edi
call fcn.0091d384
add esp, 0xc
test eax, eax
jne 0x8ea190
push 0x95a2d0
push edi
call fcn.0091d3fa
add esp, 8
test eax, eax
jne 0x8ea190
push esi
push 0x95a2d0
lea ecx, [esp + 0x104]
call fcn.0090a030
lea ecx, [esp + 0x244]
call fcn.0090a020
mov byte [esp + 0x9d0], 1
lea ecx, [esp + 0x1a0]
call fcn.0090a020
mov byte [esp + 0x9d0], 2
mov ecx, dword [esp + 0xfc]
push ebx
lea edx, [esp + 0x248]
push edx
lea eax, [esp + 0x1a8]
push eax
push ecx
push ebx
call fcn.00844890
add esp, 0x14
test al, al
je 0x8ea215
mov eax, dword [esp + 0x1a0]
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push eax
call dword [0x98252c]
test al, al
jne 0x8ea256
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x8ea215
mov ecx, dword [esp + 0x1a0]
push ecx
push str._Unable_to_convert__ls_to_native_filename__
push eax
call fcn.0090aa60
add esp, 0xc
mov byte [esp + 0x9d0], 1
lea ecx, [esp + 0x1a0]
call fcn.009098c0
mov byte [esp + 0x9d0], bl
lea ecx, [esp + 0x244]
call fcn.009098c0
mov dword [esp + 0x9d0], esi
lea ecx, [esp + 0xfc]
call fcn.009098c0
xor eax, eax
jmp 0x8eaab5
xor eax, eax
push 0x20
push 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x60]
lea edx, [esp + 0x2c]
push ecx
mov dword [esp + 0x6c], edx
push 0x100020
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x6c], 0x18
mov dword [esp + 0x78], 0x40
call dword [0x982524]
mov edi, eax
cmp edi, ebx
jge 0x8ea324
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x8ea2ca
mov ecx, dword [esp + 0x24]
push ecx
push str._Unable_to_open__ls_natively__
push eax
call fcn.0090aa60
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call dword [0x982528]
push edi
call dword [0x982354]
push eax
call dword [0x9822c8]
mov byte [esp + 0x9d0], 1
lea ecx, [esp + 0x1a0]
call fcn.009098c0
mov byte [esp + 0x9d0], bl
lea ecx, [esp + 0x244]
call fcn.009098c0
mov dword [esp + 0x9d0], esi
lea ecx, [esp + 0xfc]
call fcn.009098c0
xor eax, eax
jmp 0x8eaab5
mov eax, dword [esp + 0x34]
push eax
push 0x1000000
push 0x10
push ebx
push ebx
push 0xf001f
lea ecx, [esp + 0x44]
push ecx
call dword [0x9822f8]
mov edx, dword [esp + 0x34]
mov ebp, dword [0x98232c]
push edx
mov edi, eax
call ebp
cmp edi, ebx
jge 0x8ea3c5
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x8ea370
mov ecx, dword [esp + 0x24]
push ecx
push str._Unable_to_create_section_for__ls__
push eax
call fcn.0090aa60
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call dword [0x982528]
push edi
call fcn.00864f50
add esp, 4
mov byte [esp + 0x9d0], 1
lea ecx, [esp + 0x1a0]
call fcn.009098c0
mov byte [esp + 0x9d0], bl
lea ecx, [esp + 0x244]
call fcn.009098c0
mov dword [esp + 0x9d0], esi
lea ecx, [esp + 0xfc]
call fcn.009098c0
xor eax, eax
jmp 0x8eaab5
mov edi, dword [0x9822a0]
push 0x20
push ebx
push 2
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
call edi
mov edx, dword [esp + 0x4c]
push eax
push edx
call dword [0x9822f4]
mov eax, dword [esp + 0x30]
push eax
call dword [0x9822a4]
mov ecx, dword [esp + 0x30]
push ecx
call edi
push eax
call dword [0x982328]
mov edx, dword [esp + 0x2c]
push ebx
push ebx
push edx
push ebx
push esi
push ebx
push 0x2000000
lea eax, [esp + 0x30]
push eax
call dword [0x982a88]
mov edi, eax
cmp edi, ebx
jge 0x8ea44d
cmp dword [esp + 0x1c], ebx
je 0x8ea441
mov ecx, dword [esp + 0x1c]
push esi
push str._Unable_to_create_NTVDM_process__
call fcn.0090a030
mov ecx, dword [esp + 0x2c]
push ecx
call ebp
jmp 0x8ea370
mov ecx, dword [esp + 0x2c]
push ebx
push 0x34
lea eax, [esp + 0xd0]
push eax
push 1
push ecx
call dword [0x982a84]
mov edx, dword [esp + 0x2c]
push edx
mov edi, eax
call ebp
cmp edi, ebx
jge 0x8ea4ad
cmp dword [esp + 0x1c], ebx
je 0x8ea490
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push edi
push eax
push str._Unable_to_query_section_info_for__ls_status_0x_x__
push ecx
call fcn.0090aa60
add esp, 0x10
mov edx, dword [esp + 0x14]
push esi
push edx
call dword [0x982304]
mov eax, dword [esp + 0x14]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
jmp 0x8ea375
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x9d8]
mov edi, dword [esp + 0x9dc]
push 1
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.008e95d0
add esp, 4
test eax, eax
jne 0x8ea55b
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x8ea4f6
call dword [0x982264]
push eax
push str._CsrUpdateVDMEntry_failed_with_error__d__
push esi
call fcn.0090aa60
add esp, 0xc
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [0x982304]
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea edx, [esp + 0x20]
push edx
call dword [0x982528]
mov byte [esp + 0x9d0], 1
lea ecx, [esp + 0x1a0]
call fcn.009098c0
mov byte [esp + 0x9d0], 0
lea ecx, [esp + 0x244]
call fcn.009098c0
mov dword [esp + 0x9d0], 0xffffffff
lea ecx, [esp + 0xfc]
call fcn.009098c0
xor eax, eax
jmp 0x8eaab5
mov edx, dword [esp + 0x14]
push 0x40
push 0x2000
lea eax, [esp + 0x54]
push eax
push 0
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x64], 0x1ffffff
mov dword [esp + 0x5c], 1
call dword [0x982334]
mov esi, eax
test esi, esi
jge 0x8ea5de
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x8ea5a6
push esi
push str._Unable_to_reserve_low_memory_for_VDM_status_0x_x__
push eax
call fcn.0090aa60
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea5b1
push eax
call ebp
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [0x982304]
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea edx, [esp + 0x20]
push edx
call dword [0x982528]
push esi
call fcn.00864f50
add esp, 4
jmp 0x8ea515
mov ecx, dword [esp + 0x14]
push 0
push 0x18
lea eax, [esp + 0x84]
push eax
push 0
push ecx
call dword [0x982300]
mov esi, eax
test esi, esi
jge 0x8ea64c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x8ea614
push esi
push str._Unable_to_query_VDM_process_information_status_0x_x__
push eax
call fcn.0090aa60
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea61f
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [0x982304]
mov eax, dword [esp + 0x14]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
call dword [0x982528]
push esi
call fcn.00864f50
add esp, 4
jmp 0x8ea515
mov edx, dword [esp + 0x9d8]
mov eax, dword [esp + 0x9e4]
mov ebx, dword [esp + 0x9e0]
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1a4]
push eax
mov eax, dword [esp + 0x88]
push ebx
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
mov edx, esi
call fcn.008e97b0
add esp, 0x18
test eax, eax
jne 0x8ea6bf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea6a1
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [0x982304]
mov edx, dword [esp + 0x14]
push edx
call ebp
lea eax, [esp + 0x20]
push eax
jmp 0x8ea50f
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
push esi
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.008e9c40
add esp, 0x14
test eax, eax
jge 0x8ea712
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea6f4
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [0x982304]
mov eax, dword [esp + 0x14]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
jmp 0x8ea50f
push 0x2cc
xor edi, edi
lea edx, [esp + 0x2ec]
push edi
push edx
call fcn.0091bcb0
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov eax, 0x20
push 1
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], eax
mov dword [esp + 0x3b4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x390], eax
add ecx, 0xfffffffc
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2f0]
push eax
mov dword [esp + 0x3b8], ecx
lea ecx, [esp + 0x78]
push ecx
push edx
push edi
push 0x1fffff
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x308], 0x10007
mov dword [esp + 0x394], edi
mov dword [esp + 0x398], 0x38
mov dword [esp + 0x3c4], 0x18
mov dword [esp + 0x3c8], 0x3000
mov dword [esp + 0x3c0], edi
call dword [0x982340]
mov edi, eax
test edi, edi
jge 0x8ea817
test esi, esi
je 0x8ea7e3
push edi
push str._Unable_to_create_initial_thread_in_VDM_status_0x_x__
push esi
call fcn.0090aa60
add esp, 0xc
mov ecx, dword [esp + 0x18]
push ecx
call ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [0x982304]
mov eax, dword [esp + 0x14]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
call dword [0x982528]
push edi
call fcn.00864f50
add esp, 4
jmp 0x8ea515
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x78]
push edx
push 0x18
lea eax, [esp + 0x9c]
push eax
push 0
push ecx
call dword [0x982300]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2e8]
push edx
push esi
push eax
push ecx
call fcn.00845340
add esp, 0x10
test eax, eax
jge 0x8ea87f
test esi, esi
je 0x8ea864
push str._CreateNtvdm::InjectBootLoaderIntoChild_failed__
push esi
call fcn.0090aa60
add esp, 8
mov edx, dword [esp + 0x28]
push edx
call ebp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea4f6
push eax
call ebp
jmp 0x8ea4f6
mov ecx, dword [esp + 0x9d8]
mov edx, dword [esp + 0x9dc]
mov eax, ecx
sub eax, 0x10
neg eax
sbb eax, eax
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xac]
and eax, 0x8000000
and ebx, 0x1800
or eax, ebx
push eax
mov eax, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1b4]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x40]
call fcn.008e8c20
add esp, 0x1c
test eax, eax
jne 0x8ea900
test esi, esi
je 0x8ea8f4
call dword [0x982264]
push eax
push str._CsrCreateProcess_failed_with_error__d__
push esi
call fcn.0090aa60
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
call ebp
jmp 0x8ea6e9
call fcn.008444d0
mov edx, dword [esp + 0xfc]
mov edi, dword [eax + 0x24]
mov ebx, dword [esp + 0x1a0]
push 0
push edx
call fcn.008445f0
push eax
call fcn.00844620
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x60]
push ebx
push eax
push 0
push edi
push ecx
push edx
call fcn.00848560
add esp, 0x28
test al, al
jne 0x8ea999
test esi, esi
je 0x8ea968
mov eax, dword [0x998168]
mov ecx, dword [eax]
shr ecx, 0x1c
test cl, 1
je 0x8ea968
push 0xffffffffffffffff
push str._CreateProcess::CreateChildIblock_failed_
mov ecx, esi
call fcn.0090a030
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea973
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [0x982304]
mov eax, dword [esp + 0x14]
push eax
call ebp
push 0xc0000022
call fcn.00864f50
add esp, 4
jmp 0x8ea515
lea ecx, [esp + 0x20]
push ecx
call dword [0x982528]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x1a0]
push edx
push eax
call fcn.00845820
mov ecx, dword [esp + 0x30]
add esp, 8
push 0
push ecx
call dword [0x982a80]
mov edi, eax
test edi, edi
jge 0x8eaa0f
test esi, esi
je 0x8ea9e2
push edi
push str._Unable_to_resume_thread_in_VDM_status_0x_x__
push esi
call fcn.0090aa60
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8ea9ed
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [0x982304]
mov eax, dword [esp + 0x14]
push eax
call ebp
push edi
call fcn.00864f50
add esp, 4
jmp 0x8ea515
mov esi, dword [esp + 0x40]
test esi, esi
je 0x8eaa63
mov eax, dword [esp + 0x18]
test eax, eax
je 0x8eaa43
cmp dword [esp + 0x9d8], 0x20
jne 0x8eaa37
mov ecx, dword [esp + 0x14]
add eax, 2
push ecx
mov dword [esi], eax
call ebp
jmp 0x8eaa49
mov ecx, dword [esp + 0x14]
inc eax
push ecx
mov dword [esi], eax
call ebp
jmp 0x8eaa49
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jmp 0x8eaa71
mov eax, dword [esp + 0x28]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov byte [esp + 0x9d0], 1
lea ecx, [esp + 0x1a0]
call fcn.009098c0
mov byte [esp + 0x9d0], 0
lea ecx, [esp + 0x244]
call fcn.009098c0
mov dword [esp + 0x9d0], 0xffffffff
lea ecx, [esp + 0xfc]
call fcn.009098c0
mov eax, 1
mov ecx, dword [esp + 0x9c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9b0]
xor ecx, esp
call fcn.0091b0aa
add esp, 0x9c0
ret