Function at 0x49e130
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [edi]
test ebx, ebx
jne 0x49e177
push 0x40d9f0
push ecx
push 0x40e5e0
mov edx, 0x40e5c0
mov ecx, 0x40e5b0
call fcn.00430610
add esp, 0xc
test eax, eax
je 0x49e8e3
mov ebx, dword [eax + 0x70]
test ebx, ebx
je 0x49e8e3
mov eax, dword [esi]
lea edx, [esi + 4]
sub eax, 4
mov ecx, ebx
push eax
call fcn.004140e0
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
call fcn.00411150
mov esi, eax
mov ecx, ebx
push 0
push bind
mov edx, esi
call fcn.004245d0
add esp, 8
mov edx, esi
mov ecx, ebx
call fcn.00411a80
xor esi, esi
test ebx, ebx
je 0x49e1f3
push 0x621dc8
or edx, 0xffffffff
mov ecx, ebx
call fcn.00410720
add esp, 4
test eax, eax
je 0x49e1f3
push 0x621dc8
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040fe40
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
call fcn.00412c40
mov ecx, ebx
mov esi, eax
call fcn.00415510
lea eax, [esi - 1]
cmp eax, 0x7f
ja case.0x49e206.3
movzx eax, byte [eax + 0x49e950]
jmp dword [eax*4 + 0x49e938]
mov ecx, dword [edi]
or edx, 0xffffffff
push 0
push 0
push 0x621dd0
call fcn.00470870
mov ecx, dword [edi]
add esp, 0xc
mov esi, eax
or edx, 0xffffffff
lea eax, [esp + 0x14]
push eax
push 0
push 0x621dd8
call fcn.00470870
mov ecx, dword [edi]
add esp, 0xc
mov edx, esi
push dword [esp + 0x14]
push eax
call fcn.00456970
add esp, 8
jmp case.0x49e206.3
push 0
push 0x621de0
or edx, 0xffffffff
mov ecx, ebx
call fcn.00470930
mov esi, eax
or edx, 0xffffffff
push 0
push 0x621df0
mov ecx, ebx
mov dword [esp + 0x28], esi
call fcn.00470930
push 0x621e04
or edx, 0xffffffff
mov dword [esp + 0x30], eax
mov ecx, ebx
xor ebp, ebp
call fcn.00410720
add esp, 0x14
test eax, eax
je 0x49e389
push str.argv
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040fe40
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
call fcn.004125d0
mov ebp, eax
test ebp, ebp
jle 0x49e387
lea ecx, [ebp*4 + 4]
cmp ecx, 0x1000
jbe 0x49e32b
mov ecx, ebx
call fcn.00414830
mov edx, 1
mov ecx, ebx
call fcn.00414020
push 0x621e14
mov edx, 0xfffffffe
mov ecx, ebx
call fcn.00410110
add esp, 4
mov edx, str.argv_list_was_invalid
mov ecx, ebx
call fcn.00414170
push 0x621e34
mov edx, 0xfffffffe
mov ecx, ebx
call fcn.00410110
add esp, 4
mov ecx, ebx
call fcn.0049a9e0
mov ecx, ebx
call fcn.00415510
jmp case.0x49e206.3
xor esi, esi
mov dword [esp + 0x14], 0x62c420
test ebp, ebp
jle 0x49e36b
nop dword [eax]
push esi
or edx, 0xffffffff
mov ecx, ebx
call fcn.0040fef0
add esp, 4
or edx, 0xffffffff
mov ecx, ebx
call fcn.00411e60
mov ecx, ebx
mov dword [esi*4 + 0x62c420], eax
call fcn.00415510
inc esi
cmp esi, ebp
jl 0x49e340
mov ecx, ebx
mov dword [esi*4 + 0x62c420], 0
call fcn.00415510
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x49e389
xor ebp, ebp
mov ecx, dword [edi]
test ecx, ecx
je 0x49e39b
mov ecx, dword [ecx + 0x2c]
call fcn.00430440
xor ebx, ebx
mov dword [edi], ebx
push edi
push 0x49df20
push 0
push 0
push 0
push ebp
push dword [edi + 8]
push dword [esp + 0x38]
call fcn.0049d970
mov edx, esi
mov ecx, eax
call fcn.0049d9e0
mov ecx, eax
mov dword [edi], eax
call fcn.00414690
mov ecx, dword [edi]
mov edx, edi
call fcn.004141d0
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621e3c
call fcn.00410110
mov ecx, dword [edi]
add esp, 0x24
call fcn.00415510
mov ecx, dword [edi]
call fcn.00414830
mov ecx, dword [edi]
mov edx, dword [ecx + 0x44]
cmp edx, dword [ecx + 0x38]
jae 0x49e924
movsd xmm0, qword [0x5f1eb8]
lea eax, [edx + 8]
mov dword [ecx + 0x44], eax
movsd qword [edx], xmm0
push 0x621e58
mov ecx, dword [edi]
mov edx, 0xfffffffe
call fcn.00410110
add esp, 4
mov ecx, dword [edi]
call fcn.0049a9e0
jmp case.0x49e206.3
mov ecx, dword [edi]
or edx, 0xffffffff
push 0xffffffffffffffff
push 0x621e60
call fcn.00470930
mov ecx, dword [edi]
add esp, 8
mov esi, eax
test ecx, ecx
jne 0x49e4c1
mov ecx, ebx
call fcn.00414830
mov edx, 2
mov ecx, ebx
call fcn.00414020
push 0x621e6c
mov edx, 0xfffffffe
mov ecx, ebx
call fcn.00410110
add esp, 4
test esi, esi
js 0x49e495
mov edx, esi
mov ecx, ebx
call fcn.00414020
push 0x621e74
mov edx, 0xfffffffe
mov ecx, ebx
call fcn.00410110
add esp, 4
mov edx, str.Cannot_call_execute_without_first_calling_INIT
mov ecx, ebx
call fcn.00414170
push 0x621eb0
mov edx, 0xfffffffe
mov ecx, ebx
call fcn.00410110
add esp, 4
mov ecx, ebx
call fcn.0049a9e0
jmp case.0x49e206.3
push 0x621eb8
or edx, 0xffffffff
call fcn.00410720
mov ecx, dword [edi]
add esp, 4
or edx, 0xffffffff
test eax, eax
je 0x49e63d
lea eax, [esp + 0x14]
push eax
push 0
push 0x621ec0
call fcn.00470870
mov ecx, dword [edi]
add esp, 0xc
mov edx, eax
push 0
push 0
push dword [esp + 0x1c]
call fcn.0049e030
add esp, 0xc
test eax, eax
jne 0x49e5b4
mov ecx, dword [edi]
xor edx, edx
call fcn.0040e7d0
test eax, eax
jne 0x49e5b4
mov ecx, dword [edi]
call fcn.00414830
mov ecx, dword [edi]
mov edx, 2
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621ec8
call fcn.00410110
add esp, 4
test esi, esi
js 0x49e567
mov ecx, dword [edi]
mov edx, esi
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621ed0
call fcn.00410110
add esp, 4
mov ecx, dword [edi]
mov eax, dword [ecx + 0x44]
mov edx, dword [ecx + 0x40]
sub eax, edx
sar eax, 3
lea esi, [eax - 2]
cmp esi, eax
jae 0x49e582
lea eax, [edx + esi*8]
test eax, eax
jne 0x49e587
mov eax, 0x5ee574
mov edx, 0xfff3
cmp word [eax + 6], dx
je 0x49e425
mov edx, 0xfffffffe
call fcn.004115c0
mov ecx, dword [edi]
or edx, 0xffffffff
call fcn.0040f230
push 0x621edc
jmp 0x49e416
mov ecx, dword [edi]
or edx, 0xffffffff
push 0
call fcn.00413080
mov ecx, dword [edi]
add esp, 4
mov edx, eax
call fcn.00414170
mov ecx, dword [edi]
mov edx, 0xfffffffe
call fcn.00411550
mov ecx, dword [edi]
call fcn.00415510
mov ecx, dword [edi]
call fcn.00414830
mov ecx, dword [edi]
mov edx, 2
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621ee4
call fcn.00410110
add esp, 4
test esi, esi
js 0x49e627
mov ecx, dword [edi]
mov edx, esi
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621eec
call fcn.00410110
add esp, 4
mov ecx, dword [edi]
mov edx, 0xfffffffe
call fcn.00411550
push 0x621ef8
jmp 0x49e416
push 0x621f00
call fcn.00410720
mov ecx, dword [edi]
add esp, 4
test eax, eax
je 0x49e7b2
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
push 0
push str.path
call fcn.00470870
mov ecx, dword [edi]
add esp, 0xc
mov edx, eax
push dword [esp + 0x14]
call fcn.0049dfd0
add esp, 4
test eax, eax
jne 0x49e729
mov ecx, dword [edi]
xor edx, edx
call fcn.0040e7d0
test eax, eax
je 0x49e729
mov ecx, dword [edi]
call fcn.00414830
mov ecx, dword [edi]
mov edx, 2
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621f10
call fcn.00410110
add esp, 4
test esi, esi
js 0x49e6dc
mov ecx, dword [edi]
mov edx, esi
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621f18
call fcn.00410110
add esp, 4
mov ecx, dword [edi]
mov eax, dword [ecx + 0x44]
mov edx, dword [ecx + 0x40]
sub eax, edx
sar eax, 3
lea esi, [eax - 2]
cmp esi, eax
jae 0x49e6f7
lea eax, [edx + esi*8]
test eax, eax
jne 0x49e6fc
mov eax, 0x5ee574
mov edx, 0xfff3
cmp word [eax + 6], dx
je 0x49e425
mov edx, 0xfffffffe
call fcn.004115c0
mov ecx, dword [edi]
or edx, 0xffffffff
call fcn.0040f230
push 0x621f24
jmp 0x49e416
mov ecx, dword [edi]
or edx, 0xffffffff
push 0
call fcn.00413080
mov ecx, dword [edi]
add esp, 4
mov edx, eax
call fcn.00414170
mov ecx, dword [edi]
mov edx, 0xfffffffe
call fcn.00411550
mov ecx, dword [edi]
call fcn.00415510
mov ecx, dword [edi]
call fcn.00414830
mov ecx, dword [edi]
mov edx, 2
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621f2c
call fcn.00410110
add esp, 4
test esi, esi
js 0x49e79c
mov ecx, dword [edi]
mov edx, esi
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621f34
call fcn.00410110
add esp, 4
mov ecx, dword [edi]
mov edx, 0xfffffffe
call fcn.00411550
push 0x621f40
jmp 0x49e416
call fcn.00414830
mov ecx, dword [edi]
mov edx, 2
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621f48
call fcn.00410110
add esp, 4
test esi, esi
js 0x49e7f8
mov ecx, dword [edi]
mov edx, esi
call fcn.00414020
mov ecx, dword [edi]
mov edx, 0xfffffffe
push 0x621f50
call fcn.00410110
add esp, 4
mov ecx, dword [edi]
mov edx, str.Malformed_Command
call fcn.00414170
push 0x621f70
jmp 0x49e416
mov ecx, dword [edi + 4]
mov edx, 0x621f78
push 0
call fcn.0045e2d0
add esp, 4
test eax, eax
je case.0x49e206.3
mov ecx, dword [edi]
or edx, 0xffffffff
push 0
push 0
push 0x621f80
call fcn.00470870
mov esi, eax
add esp, 0xc
test esi, esi
je case.0x49e206.3
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [edx + 4]
call fcn.00415060
mov ecx, dword [edi]
or edx, 0xffffffff
push 0x621f88
call fcn.0040fe40
mov ecx, dword [edi]
add esp, 4
mov edx, 0xfffffffe
call fcn.00411550
mov ecx, dword [edi]
mov edx, 0x621f90
call fcn.00414170
mov ecx, dword [edi]
mov edx, esi
call fcn.00414170
mov ecx, dword [edi]
call fcn.0040f2b0
mov ecx, dword [edi]
mov edx, 2
push 0
call fcn.0040e880
add esp, 4
test eax, eax
je 0x49e8b3
push 0x621f98
push dword [edi]
call fcn.00471950
add esp, 8
mov ecx, dword [edi]
call fcn.00415510
jmp case.0x49e206.3
mov ecx, dword [edi]
test ecx, ecx
je case.0x49e206.3
mov ecx, dword [ecx + 0x2c]
call fcn.00430440
test ebx, ebx
je 0x49e8db
cmp dword [edi], 0
jne 0x49e8db
mov ecx, dword [ebx + 0x2c]
call fcn.00430440
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x854
mov edx, 0x621d44
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x854
push str...microscriptILibDuktape_ScriptContainer.c
push 0x621da4
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
push str.cannot_push_beyond_allocated_stack
push 0x3001094
mov edx, 0x605a20
call fcn.0040d970
push esp
loop 4843908
add byte [ecx], dh
in al, 0x49
add byte [0xe0049e2], cl
call 0xe905e993
dec ecx
add dl, cl
call 0x149e99b
add eax, 0x5050502
add eax, 84215045
add eax, 84083973
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add al, 81
push ecx
push esi
mov esi, dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.004aed40
test eax, eax
je 0x49ea6b
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x49e9f7
mov eax, dword [esi - 0x10]
add eax, 0x10
add eax, esi
jmp 0x49e9f9
xor eax, eax
mov edi, dword [eax]
test ecx, ecx
je 0x49ea07
lea edx, [esi + 0x14]
add edx, dword [esi - 0x10]
jmp 0x49ea0c
mov edx, 4
mov edx, dword [edx]
push ecx
mov ecx, edi
call fcn.0049e130
add esp, 4
mov ecx, esi
call fcn.004aed40
test eax, eax
je 0x49ea6b
cmp dword [esi + 0x40], 0
jne 0x49ea37
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ecx
ret
mov ecx, esi
call fcn.004b6ab0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x49ea6b
cmp dword [eax + 0x2c], 0
je 0x49ea6b
mov dword [eax + 0x2c], 0
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push 0x4b6ee0
push edx
mov edx, dword [edx + 0x28]
push 0
call fcn.004b53f0
add esp, 0xc
pop edi
pop esi
pop ecx
ret