Function at 0x46e250
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4950fe
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4b6798]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x46e44d
cmp dword [esp + 0x14], ebx
jle 0x46e44d
mov eax, dword [edi + ebx*4]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x46e2e6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x40]
call fcn.00409bc0
push 7
push str._debug:
mov eax, esi
push eax
xor eax, eax
mov dword [esp + 0xec], 0
call fcn.00403340
test eax, eax
jne 0x46e394
push 0xffffffffffffffff
lea ecx, [eax + 7]
lea esi, [esp + 0x5c]
lea edx, [esp + 0x40]
call fcn.00402e20
mov edi, eax
lea esi, [esp + 0x3c]
mov byte [esp + 0xe0], 1
call fcn.004030e0
mov esi, 8
cmp dword [esp + 0x6c], esi
jb 0x46e35c
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004736d0
add esp, 4
mov eax, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], dx
cmp dword [esp + 0x50], esi
jae 0x46e381
lea eax, [esp + 0x3c]
push eax
call fcn.00477281
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x46e399
mov esi, 8
mov dword [esp + 0xe0], 0xffffffff
cmp dword [esp + 0x50], esi
jb 0x46e3b7
mov eax, dword [esp + 0x3c]
push eax
call fcn.004736d0
add esp, 4
xor ecx, ecx
inc ebx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
cmp ebx, dword [esp + 0x14]
jl 0x46e2c7
mov edi, dword [esp + 0x10]
test edi, edi
je 0x46e44d
mov eax, dword [0x4e1a64]
test eax, eax
jne 0x46e40e
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46e422
push str.MessageBoxTimeoutW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e1a64], eax
test eax, eax
je 0x46e422
push 1
push 0
push 0
push str.IE_Tab
push str.Loading_debugger
push 0
call eax
call fcn.004703d0
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004736db
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0046e0b0
mov ecx, SysReAllocString
call fcn.0046e0b0
call fcn.0046f2f0
call fcn.00423a50
call fcn.00435580
cmp byte [0x4e1a19], 0
jne 0x46e49a
push 0x4339d0
push 0x4e17bc
mov byte [0x4e1a19], 1
call fcn.004579e0
add esp, 8
call fcn.004357a0
call fcn.00435600
test al, al
jne 0x46e4f9
lea edx, [esp + 0x74]
push edx
call fcn.00469eb0
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0xe4], 2
call fcn.0046afb0
lea ecx, [esp + 0x74]
push ecx
call fcn.0046a120
test al, al
jne 0x46e4e5
push 0
lea edx, [esp + 0x78]
push edx
xor edx, edx
xor ecx, ecx
call fcn.0046a3a0
lea ecx, [esp + 0x74]
mov dword [esp + 0xe0], 0xffffffff
call fcn.00469f60
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4e1578
push 0x67
push eax
call esi
mov edi, dword [esp + 0x18]
push 0x64
push 0x4e14b0
push 0x6d
push edi
call esi
movzx eax, byte [0x4e1657]
neg eax
sbb eax, eax
and eax, 5
push eax
push edi
call fcn.0046e620
add esp, 8
test eax, eax
je 0x46e427
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call edi
test eax, eax
je 0x46e5b0
mov ebx, dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
call fcn.00435600
test al, al
je 0x46e574
push 0xffffffffffffffff
call ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x46e59f
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x46e567
mov eax, dword [0x4e1798]
lea esi, [eax + 0x2c]
mov edi, eax
mov eax, dword [esi]
test eax, eax
jne 0x46e5ce
call fcn.00464370
mov eax, dword [esp + 0x28]
jmp 0x46e429
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x28]
push ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.00435600
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]