Function at 0x4c7610
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x100
call 0x4c761f
pop eax
mov ecx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x118]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0xe8], ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0xec], eax
lea eax, [ebp + 0x20]
push eax
push ecx
call fcn.004bc9e0
add esp, 8
mov eax, dword [esp + 0xf0]
test eax, eax
mov dword [esp + 0x38], eax
je 0x4c7791
push 1
push 4
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x4c90be
mov ecx, eax
mov dword [eax], 0x48544150
add eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x14]
mov word [esp + 0x1c], 0
lea eax, [esp + 0x60]
push ecx
push eax
call fcn.004cc1d0
add esp, 8
mov edx, dword [esp + 0xf8]
test edx, edx
je 0x4c77ba
mov eax, dword [esp + 0xf4]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], 0
mov dword [esp + 0xb8], eax
mov dword [esp], esi
mov dword [esp + 0x10], ecx
movzx esi, word [edx + 0x1ea]
lea ecx, [edx + 0xb4]
lea edi, [edx - 8]
mov ebp, 0xffffffff
mov dword [esp + 0x9c], edx
lea eax, [esi + esi*8]
mov dword [esp + 0x98], esi
lea ebx, [eax + eax*2]
add ebx, esi
nop word cs:[eax + eax]
nop
test ebx, ebx
je 0x4c7760
lea esi, [ecx + 0x1c]
push 1
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
add ebx, 0xffffffe4
add edi, 0x10
inc ebp
cmp eax, 3
mov ecx, esi
je 0x4c7720
cmp eax, 1
jne 0x4c779b
jmp 0x4c7767
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x9c]
sub eax, 1
jb 0x4c7c25
mov edx, dword [edx + ebp*4 + 0x1ec]
mov dword [esp + 0xb8], eax
jmp 0x4c76e9
mov dword [esp + 8], 0
jmp 0x4c77eb
cmp eax, 2
jne 0x4c90b5
mov eax, dword [edi - 4]
mov ecx, dword [edi]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x118]
jmp 0x4c77c2
mov dword [esp + 8], 0
push 1
push 4
push dword [esp + 0x14]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c77eb
add eax, eax
push 2
push eax
push dword [esp + 0x6c]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x114]
test esi, esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], esi
je 0x4c7832
mov ecx, 0x4bcfb0
cmp esi, 4
jb 0x4c7823
mov eax, dword [str._GetSystemTimePreciseAsFileTime]
cmp eax, dword [ebx]
mov eax, 0x4bcfd0
cmove ecx, eax
movzx eax, byte [esi + ebx - 1]
push eax
call ecx
add esp, 4
test al, al
je 0x4c78a5
mov eax, 0x5643bc
mov dword [esp + 0xa4], 2
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
cmp dword [esp + 0xf0], 0
mov dword [edi + 4], ecx
mov dword [edi], eax
mov dword [edi + 8], 2
je 0x4c796f
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x4c794f
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
xor ecx, ecx
jmp 0x4c7956
cmp esi, 3
mov dword [esp], ebx
jbe 0x4c7993
movzx eax, byte [esi + ebx - 4]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
mov al, 1
cmp cl, 0x2e
jne 0x4c791c
movzx ecx, byte [ebx + esi - 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x65
jne 0x4c791c
movzx ecx, byte [ebx + esi - 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x78
jne 0x4c791c
movzx eax, byte [ebx + esi - 1]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
setne al
xor ecx, ecx
nop
cmp esi, ecx
je 0x4c7a93
movzx edx, byte [ebx + ecx]
cmp edx, 0x2f
je 0x4c7937
inc ecx
cmp edx, 0x5c
jne 0x4c7920
test al, al
jne 0x4c79b7
lea eax, [esp + 0xa0]
push esi
push ebx
push eax
call fcn.004c70b0
jmp 0x4c7bbc
xor eax, eax
mov ecx, 2
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x50]
push eax
call fcn.004cb5c0
add esp, 4
cmp dword [esp + 0xe8], 3
jb 0x4c7986
push dword [esp + 0xec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
add esp, 0x100
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esi
mov ecx, ebx
nop word [eax + eax]
test eax, eax
je 0x4c7a93
movzx edx, byte [ecx]
cmp edx, 0x2f
je 0x4c79b7
inc ecx
dec eax
cmp edx, 0x5c
jne 0x4c79a0
xor ecx, ecx
test esi, esi
setns al
js 0x4c90c4
mov cl, al
mov dword [esp + 0x10], ecx
push ecx
push esi
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x4c90cb
mov ebx, eax
push esi
push dword [esp + 4]
push eax
call fcn.004f5b80
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], 0
lea esi, [esp + 0x50]
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x14]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
push 4
push str..exeprogram_not_found
push esi
call fcn.004c4d90
add esp, 0xc
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x14], xmm0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push esi
call fcn.004c9170
add esp, 0xc
cmp dword [esp + 0x54], 0
je 0x4c7b7c
mov eax, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
mov dword [esp + 0xac], eax
movsd qword [esp + 0xa4], xmm0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4c7bb0
jmp 0x4c7bbf
lea eax, [ebx + esi]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x9c], eax
jmp 0x4c7abb
xor edi, edi
test dx, dx
je 0x4c7b6b
mov dx, 1
test di, di
jne 0x4c7ab0
cmp ecx, eax
je 0x4c7bfb
movzx ebx, byte [ecx]
test bl, bl
js 0x4c7ad6
inc ecx
jmp 0x4c7b2a
movzx ebp, byte [ecx + 1]
mov edi, ebx
and edi, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x4c7b20
movzx eax, byte [ecx + 2]
shl ebp, 6
and eax, 0x3f
or eax, ebp
cmp bl, 0xf0
jb 0x4c7b38
movzx ebx, byte [ecx + 3]
and edi, 7
shl eax, 6
add ecx, 4
shl edi, 0x12
and ebx, 0x3f
or ebx, eax
or ebx, edi
mov eax, dword [esp + 0x9c]
cmp ebx, 0xffff
jbe 0x4c7b2a
jmp 0x4c7b51
shl edi, 6
add ecx, 2
or edi, ebp
mov ebx, edi
xor edi, edi
mov edx, ebx
mov ebx, dword [esp]
test dx, dx
jne 0x4c7abb
jmp 0x4c7b6b
shl edi, 0xc
add ecx, 3
or eax, edi
mov ebx, eax
mov eax, dword [esp + 0x9c]
cmp ebx, 0xffff
jbe 0x4c7b2a
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
mov ebx, dword [esp]
test dx, dx
jne 0x4c7abb
mov edi, dword [esp + 0x114]
mov eax, 0x56438c
jmp 0x4c7837
lea eax, [esp + 0x14]
push 0
push str.nul_byte_found_in_provided_data
push eax
call fcn.004c3d30
add esp, 0xc
lea eax, [esp + 0xa0]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
call fcn.004c70b0
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c7bbf
push 1
push eax
push dword [esp + 0x20]
call fcn.0040dc90
add esp, 0xc
cmp dword [esp + 0xa0], 0
jne 0x4c7849
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
cmp esi, 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x9c], ecx
jae 0x4c7f6d
jmp 0x4c7f88
cmp esi, 7
ja 0x4c7c2a
mov edx, dword [esp + 0x10]
dec esi
nop word cs:[eax + eax]
nop
sub esi, 1
setb cl
cmp byte [ebx], 0x2e
sete al
je 0x4c7c40
inc ebx
test cl, cl
je 0x4c7c10
jmp 0x4c7c40
jmp 0x4c77b1
push esi
push ebx
push 0x2e
call fcn.004dbbe0
add esp, 0xc
mov edx, dword [esp + 0x10]
cmp eax, 1
sete al
mov byte [esp + 7], al
lea eax, [esp + 0xd4]
mov dword [esp + 0xdc], eax
lea eax, [esp + 7]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x4c7d86
add edx, eax
lea esi, [esp + 0xbc]
lea ebx, [esp + 0x50]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov word [esp + 0xc4], 0
mov byte [esp + 0xc8], 1
nop word cs:[eax + eax]
push esi
push ebx
call fcn.004c4a40
add esp, 8
movzx eax, byte [esp + 0x5c]
cmp al, 2
je 0x4c7d86
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
test edi, edi
jne 0x4c7cd9
test edx, edx
je 0x4c7ca0
push 1
push edx
push ecx
call fcn.0040dc90
add esp, 0xc
jmp 0x4c7ca0
lea ebx, [esp + 0x5d]
lea esi, [esp + 0x21]
mov ah, byte [ebx + 2]
movzx ebp, word [ebx]
mov byte [esi + 2], ah
mov word [esi], bp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], al
push dword [esp + 0xd8]
push dword [esp + 0xd8]
lea eax, [esp + 0x1c]
push eax
call fcn.004c3380
add esp, 0xc
cmp byte [esp + 7], 0
jne 0x4c7d33
push 3
push str.exeNULcmd.exe
lea eax, [esp + 0x1c]
push eax
call fcn.004c3d30
add esp, 0xc
push dword [esp + 0x1c]
push dword [esp + 0x1c]
lea ebx, [esp + 0x58]
push ebx
call fcn.004c9170
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x118]
test eax, eax
je 0x4c7d66
push 1
push eax
push dword [esp + 0x20]
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [esp + 0x54]
lea esi, [esp + 0xbc]
test ecx, ecx
je 0x4c7ca0
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
jmp 0x4c7f4f
lea eax, [esp + 0x14]
push eax
call fcn.004c9d50
add esp, 4
cmp byte [esp + 0x20], 2
jne 0x4c7de4
cmp byte [esp + 0x14], 3
mov edi, dword [esp + 0x114]
jne 0x4c7ea5
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
push dword [esi]
call dword [eax]
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4c7dd2
push dword [ecx + 8]
push eax
push dword [esi]
call fcn.0040dc90
add esp, 0xc
push 4
push 0xc
push esi
call fcn.0040dc90
add esp, 0xc
jmp 0x4c7ea5
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
push ebx
push edi
call fcn.004c4070
add esp, 8
cmp ebx, edx
mov dword [esp + 0x50], esi
lea esi, [esp + 0x50]
mov dword [esp + 0x54], edi
cmovb edx, ebx
test eax, eax
cmove edx, ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebp
push dword [esp + 0xd8]
push dword [esp + 0xd8]
push esi
call fcn.004c3380
add esp, 0xc
cmp byte [esp + 7], 0
jne 0x4c7e4a
push 3
push str.exeNULcmd.exe
push esi
call fcn.004c3d30
add esp, 0xc
lea eax, [esp + 0xbc]
push dword [esp + 0x58]
push dword [esp + 0x58]
push eax
call fcn.004c9170
add esp, 0xc
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x114]
mov ebp, dword [esp + 0x118]
test eax, eax
je 0x4c7e87
push 1
push eax
push dword [esp + 0x5c]
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4c7ea5
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xc4]
jmp 0x4c7f4f
lea ebp, [esp + 0xdc]
lea esi, [esp + 0x50]
push ebp
push esi
call fcn.004c9ba0
add esp, 8
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x4c7eca
test ecx, ecx
jne 0x4c7f40
test eax, eax
je 0x4c7f04
cmp byte [esp + 0x54], 3
jne 0x4c7f1e
mov eax, dword [ecx + 4]
push dword [ecx]
mov ebx, ecx
call dword [eax]
mov edx, ebx
add esp, 4
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4c7efd
push dword [ecx + 8]
push eax
push dword [edx]
call fcn.0040dc90
mov edx, ebx
add esp, 0xc
push 4
push 0xc
push edx
jmp 0x4c7f16
test ecx, ecx
je 0x4c7f1e
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c7f1e
add eax, eax
push 2
push eax
push ecx
call fcn.0040dc90
add esp, 0xc
push ebp
push esi
call fcn.004caae0
add esp, 8
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x4c8ba8
test ecx, ecx
je 0x4c8ba8
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x118]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
cmp esi, 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x9c], ecx
jb 0x4c7f88
mov ebx, dword [esp + 0xa8]
cmp word [ebx + esi*2 - 0xa], 0x2e
jne 0x4c7f88
cmp word [ebx + esi*2 - 2], 0
je 0x4c8720
movzx eax, byte [ebp + 0x59]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x50]
mov edi, dword [ebp + 0x54]
mov ebp, dword [ebp + 0x18]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
mov byte [esp], al
add ebp, ebx
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov word [eax + ecx*2], 0x22
inc dword [esp + 0x1c]
mov dword [esp + 0x50], ebp
lea ebp, [esp + 0x14]
lea eax, [esp + 0x50]
mov dword [esp + 0x54], ebx
mov word [esp + 0x58], 0
push eax
push ebp
call fcn.004cbef0
add esp, 8
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jne 0x4c800f
push eax
push ebp
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2], 0x22
mov eax, dword [esp + 0x1c]
inc eax
test edi, edi
mov dword [esp + 0x1c], eax
je 0x4c809c
movzx eax, byte [esp]
shl edi, 2
lea edi, [edi + edi*4]
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jne 0x4c8058
push eax
push ebp
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2], 0x20
inc dword [esp + 0x1c]
push dword [esp]
push esi
mov ebx, ebp
push ebp
lea eax, [esp + 0xc8]
push eax
call fcn.004c6950
add esp, 0x10
movzx ecx, byte [esp + 0xbc]
cmp cl, 4
jne 0x4c81a5
add esi, 0x14
add edi, 0xffffffec
mov ebp, ebx
jne 0x4c8040
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x118]
mov bl, 1
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x98], esi
mov dword [esp], edi
cmp eax, edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
jne 0x4c8101
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.004ceb90
add esp, 8
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov word [ecx + eax*2], 0
inc dword [esp + 0xa8]
mov eax, 0x400
mov ecx, 0x608
cmp byte [ebp + 0x58], 0
cmove ecx, eax
or ecx, dword [ebp + 0x48]
cmp dword [esp + 0x38], 0
mov dword [esp + 0xe4], ecx
je 0x4c8204
mov esi, dword [esp + 0xfc]
mov edi, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0
test esi, esi
jne 0x4c8186
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], 0
inc dword [esp + 0x44]
test ebx, ebx
je 0x4c824c
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
jmp 0x4c8253
movzx eax, byte [esp + 0xc3]
movzx esi, word [esp + 0xc1]
mov edi, dword [esp + 0xbd]
shl eax, 0x10
or esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c81de
add eax, eax
push 2
push eax
push dword [esp + 0x20]
mov ebx, ecx
call fcn.0040dc90
mov ecx, ebx
add esp, 0xc
shld esi, edi, 8
shl edi, 8
movzx eax, cl
or eax, edi
mov edi, dword [esp + 0x114]
mov dword [edi + 4], esi
mov dword [edi], eax
mov dword [edi + 8], 2
xor ebx, ebx
jmp 0x4c8f65
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
cmp byte [ebp + 0xc], 2
jne 0x4c85d9
mov dword [esp + 0x38], 0
mov dword [esp + 0x94], 2
mov dword [esp + 0xcc], 0
jmp 0x4c8819
xor esi, esi
mov eax, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004cae60
add esp, 8
movzx eax, byte [esp + 0x5c]
cmp al, 2
je 0x4c8585
mov byte [esp + 0xb3], al
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
add esi, ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x78]
mov byte [esp + 0xb2], al
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], eax
mov eax, ecx
jmp 0x4c82fb
xor ebx, ebx
test dx, dx
je 0x4c86b9
mov dx, 1
test bx, bx
jne 0x4c82f0
cmp eax, esi
je 0x4c8390
movzx ebx, byte [eax]
test bl, bl
js 0x4c8318
inc eax
mov edi, ebx
jmp 0x4c8374
movzx ecx, byte [eax + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x4c8353
movzx ebp, byte [eax + 2]
shl ecx, 6
and ebp, 0x3f
or ebp, ecx
cmp bl, 0xf0
jb 0x4c835d
movzx ecx, byte [eax + 3]
and edi, 7
shl ebp, 6
add eax, 4
shl edi, 0x12
and ecx, 0x3f
or ecx, ebp
or edi, ecx
jmp 0x4c8365
shl edi, 6
add eax, 2
or edi, ecx
jmp 0x4c8374
shl edi, 0xc
add eax, 3
or edi, ebp
mov ebp, dword [esp + 0x118]
cmp edi, 0xffff
ja 0x4c837d
xor ebx, ebx
mov edx, edi
jmp 0x4c82f2
and edi, 0x3ff
or edi, 0xdc00
mov ebx, edi
jmp 0x4c82f2
cmp byte [esp + 0xb3], 2
je 0x4c9095
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4c83bb
push 1
push eax
push dword [esp + 0x9c]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xd0]
sub eax, esi
lea edi, [ecx + ecx]
cmp eax, ecx
jb 0x4c856d
lea eax, [esi + esi]
add eax, dword [esp + 0x40]
push edi
push ebx
push eax
call fcn.004f5b80
add esp, 0xc
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x38]
add ecx, esi
test eax, eax
mov dword [esp + 0x44], ecx
je 0x4c8417
add eax, eax
push 2
push eax
push ebx
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x3c]
jne 0x4c842f
push ecx
lea eax, [esp + 0x40]
push eax
call fcn.004ceb90
add esp, 8
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
xor esi, esi
mov word [eax + ecx*2], 0x3d
mov eax, dword [esp + 0xc]
inc dword [esp + 0x44]
add dword [esp + 8], eax
jmp 0x4c8454
xor esi, esi
test cx, cx
je 0x4c8bed
mov cx, 1
test si, si
jne 0x4c8449
cmp eax, dword [esp + 8]
je 0x4c84dd
movzx ebx, byte [eax]
test bl, bl
js 0x4c846f
inc eax
mov edx, ebx
jmp 0x4c84c4
movzx edi, byte [eax + 1]
mov edx, ebx
and edx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x4c84aa
movzx esi, byte [eax + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x4c84b4
movzx edi, byte [eax + 3]
and edx, 7
shl esi, 6
add eax, 4
shl edx, 0x12
and edi, 0x3f
or edi, esi
or edx, edi
jmp 0x4c84bc
shl edx, 6
add eax, 2
or edx, edi
jmp 0x4c84c4
shl edx, 0xc
add eax, 3
or edx, esi
cmp edx, 0xffff
ja 0x4c84ca
xor esi, esi
mov ecx, edx
jmp 0x4c844b
and edx, 0x3ff
or edx, 0xdc00
mov esi, edx
jmp 0x4c844b
cmp byte [esp + 0xb2], 2
je 0x4c90a8
mov eax, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xc0], esi
mov word [esp + 0xc4], 0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004cbef0
add esp, 8
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c8534
push 1
push eax
push esi
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x3c]
jne 0x4c8550
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov word [ecx + eax*2], 0
inc dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
jmp 0x4c8269
push ecx
push esi
lea eax, [esp + 0x44]
push eax
call fcn.00505980
add esp, 0xc
mov esi, dword [esp + 0x44]
jmp 0x4c83de
lea eax, [esp + 0x14]
push eax
call fcn.004cb5c0
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x3c]
jne 0x4c85ae
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov word [ecx + eax*2], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xc], ecx
cmp byte [ebp + 0xc], 2
je 0x4c8229
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
xor edi, edi
add ecx, edx
mov dword [esp + 0x38], edx
jmp 0x4c85fb
xor edi, edi
test si, si
je 0x4c8692
mov si, 1
test di, di
jne 0x4c85f0
cmp edx, ecx
je 0x4c87b8
movzx ebx, byte [edx]
test bl, bl
js 0x4c8616
inc edx
jmp 0x4c8676
movzx eax, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x4c8651
movzx ebp, byte [edx + 2]
shl eax, 6
and ebp, 0x3f
or ebp, eax
cmp bl, 0xf0
jb 0x4c865d
movzx ebx, byte [edx + 3]
and edi, 7
shl ebp, 6
add edx, 4
shl edi, 0x12
and ebx, 0x3f
or ebx, ebp
or ebx, edi
jmp 0x4c8667
shl edi, 6
add edx, 2
or edi, eax
mov ebx, edi
jmp 0x4c8676
shl edi, 0xc
add edx, 3
or ebp, edi
mov ebx, ebp
mov ebp, dword [esp + 0x118]
cmp ebx, 0xffff
ja 0x4c867f
xor edi, edi
mov esi, ebx
jmp 0x4c85f2
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
jmp 0x4c85f2
mov edi, dword [esp + 0x114]
mov ebx, dword [esp]
mov ebp, dword [esp + 8]
mov dword [edi], 2
mov dword [edi + 4], 0x56438c
mov dword [edi + 8], 2
jmp 0x4c8f09
mov eax, dword [esp + 0xb4]
mov edi, 2
mov esi, 0x56438c
test eax, eax
je 0x4c86e0
push 1
push eax
push dword [esp + 0x9c]
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x4c86fb
push 1
push ecx
push eax
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c8c11
add eax, eax
push 2
push eax
push dword [esp + 0xd8]
call fcn.0040dc90
add esp, 0xc
jmp 0x4c8c11
movzx eax, word [ebx + esi*2 - 8]
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x4c7f88
mov edx, dword [esp + 0xe4]
add edx, dword [ecx*4 + 0x4c90dc]
jmp edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
lea esi, [esp + 0x14]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov word [esp + 0x58], 0
push eax
push esi
call fcn.004cc1d0
add esp, 8
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jne 0x4c87f5
push eax
push esi
call fcn.004ceb90
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0xcc], ecx
movzx ebx, byte [esp + 0x124]
xorps xmm0, xmm0
movups xmmword [esp + 0xbc], xmm0
push 0x574a98
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x574a48]
test eax, 0x7fffffff
jne 0x4c8e26
xor eax, eax
movzx edx, byte [0x574a9c]
xor ecx, ecx
mov dword [esp + 0x40], 0x574a98
mov dword [esp + 0xb4], eax
mov byte [esp + 0x44], al
lea esi, [esp + 0xe8]
lea eax, [esp + 0xdc]
mov edi, dword [ebp + 0x38]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xdc], 1
test dl, dl
mov byte [esp + 0x4c], dl
lea edx, [ebp + 0x30]
setne cl
test bl, bl
mov ebx, ebp
cmovne eax, esi
cmp dword [ebp + 0x30], 5
lea ebp, [ebp + 0x40]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x50]
cmove edx, eax
cmp dword [ebx + 0x40], 5
lea eax, [esp + 0x14]
cmove ebp, esi
push eax
push 0xfffffffffffffff6
call fcn.004c9230
add esp, 8
movzx eax, byte [esp + 0x50]
cmp al, 4
jne 0x4c8b47
add ebx, 0x38
cmp edi, 5
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x50]
cmove ebx, esi
mov esi, dword [esp + 0x54]
mov edx, ebx
push eax
push 0xfffffffffffffff5
call fcn.004c9230
add esp, 8
movzx eax, byte [esp + 0x50]
cmp al, 4
jne 0x4c8b7b
mov edi, dword [esp + 0x54]
lea ebx, [esp + 0x50]
lea eax, [esp + 0x24]
mov edx, ebp
mov ecx, ebx
push eax
push 0xfffffffffffffff4
call fcn.004c9230
add esp, 8
movzx eax, byte [esp + 0x50]
cmp al, 4
jne 0x4c8c51
mov ebp, dword [esp + 0x54]
test esi, esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x50], 0x44
jne 0x4c89df
test edi, edi
jne 0x4c89df
test ebp, ebp
je 0x4c89fc
mov dword [esp + 0x7c], 0x100
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
lea eax, [esp + 0xbc]
push eax
push ebx
push dword [esp + 0xd4]
push dword [esp + 0xdc]
push dword [esp + 0xf4]
push 1
push 0
push 0
push dword [esp + 0xc4]
push dword [esp + 0xbc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4c8e32
mov eax, dword [esp + 0x114]
movsd xmm1, qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x24]
movsd xmm2, qword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0xbc]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 8], xmm2
movsd qword [eax], xmm1
push ebp
call ebx
push edi
call ebx
push esi
call ebx
cmp dword [esp + 0xdc], 3
jb 0x4c8a97
push dword [esp + 0xe0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x3c]
call fcn.004c7480
mov eax, dword [esp + 0x38]
mov esi, dword [esp]
mov ebx, dword [esp + 8]
test eax, eax
je 0x4c8ac3
add eax, eax
push 2
push eax
push dword [esp + 0x9c]
call fcn.0040dc90
add esp, 0xc
mov edi, dword [esp + 0x114]
test ebx, ebx
je 0x4c8adf
add ebx, ebx
push 2
push ebx
push dword [esp + 0x14]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4c8afe
add eax, eax
push 2
push eax
push dword [esp + 0xac]
call fcn.0040dc90
add esp, 0xc
test esi, esi
je 0x4c8b16
add esi, esi
push 2
push esi
push dword [esp + 0xa0]
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xb8]
test ecx, ecx
sete al
or dl, al
jne 0x4c796f
add ecx, ecx
push 2
push ecx
push dword [esp + 0xa4]
call fcn.0040dc90
add esp, 0xc
jmp 0x4c796f
movzx ecx, byte [esp + 0x53]
mov edi, dword [esp + 0x114]
movzx esi, word [esp + 0x51]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp]
mov ebp, dword [esp + 8]
mov byte [edi + 3], cl
mov word [edi + 1], si
mov byte [edi], al
mov dword [edi + 4], edx
mov dword [edi + 8], 2
jmp 0x4c8e79
mov edi, dword [esp + 0x114]
movzx ecx, byte [esp + 0x53]
movzx ebx, word [esp + 0x51]
mov edx, dword [esp + 0x54]
mov byte [edi + 3], cl
mov word [edi + 1], bx
mov byte [edi], al
mov dword [edi + 4], edx
mov dword [edi + 8], 2
jmp 0x4c8e6b
test eax, eax
je 0x4c8c7e
cmp byte [esp + 0x54], 3
jne 0x4c8c98
mov eax, dword [ecx + 4]
push dword [ecx]
mov ebx, ecx
call dword [eax]
mov edx, ebx
add esp, 4
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4c8be3
push dword [ecx + 8]
push eax
push dword [edx]
call fcn.0040dc90
mov edx, ebx
add esp, 0xc
push 4
push 0xc
push edx
jmp 0x4c8c90
mov eax, dword [esp + 0x4c]
mov esi, 0x56438c
mov edi, 2
test eax, eax
je 0x4c8c0e
push 1
push eax
push dword [esp + 0x14]
call fcn.0040dc90
add esp, 0xc
mov ebx, dword [esp]
lea eax, [esp + 0x14]
push eax
call fcn.004cb5c0
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c8c37
add eax, eax
push 2
push eax
push dword [esp + 0x48]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0x114]
mov dword [eax], edi
mov dword [eax + 4], esi
mov edi, eax
mov dword [eax + 8], 2
jmp 0x4c8f1e
movzx ecx, byte [esp + 0x53]
mov edx, dword [esp + 0x114]
movzx ebp, word [esp + 0x51]
mov ebx, dword [esp + 0x54]
mov byte [edx + 3], cl
mov word [edx + 1], bp
mov byte [edx], al
mov dword [edx + 4], ebx
mov dword [edx + 8], 2
jmp 0x4c8e5d
test ecx, ecx
je 0x4c8c98
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c8c98
add eax, eax
push 2
push eax
push ecx
call fcn.0040dc90
add esp, 0xc
lea eax, [esp + 0x3c]
push 4
push str.PATHprogram_path_has_no_file_name
push eax
call fcn.004c4c60
add esp, 0xc
cmp byte [esp + 0x48], 2
je 0x4c8e11
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
lea ebx, [esp + 0xbc]
add edx, ecx
mov dword [esp], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov word [esp + 0xc4], 0
mov byte [esp + 0xc8], 1
push ebx
push esi
call fcn.004c4a40
add esp, 8
movzx eax, byte [esp + 0x5c]
cmp al, 2
je 0x4c8df4
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
test edi, edi
jne 0x4c8d2c
test edx, edx
je 0x4c8cf3
push 1
push edx
push ecx
call fcn.0040dc90
add esp, 0xc
jmp 0x4c8cf3
lea esi, [esp + 0x5d]
lea ebp, [esp + 0x21]
mov ah, byte [esi + 2]
movzx ebx, word [esi]
mov byte [ebp + 2], ah
mov word [ebp], bx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], al
push dword [esp + 0xd8]
push dword [esp + 0xd8]
lea eax, [esp + 0x1c]
push eax
call fcn.004c3380
add esp, 0xc
cmp byte [esp + 7], 0
jne 0x4c8d87
push 3
push str.exeNULcmd.exe
lea eax, [esp + 0x1c]
push eax
call fcn.004c3d30
add esp, 0xc
push dword [esp + 0x1c]
push dword [esp + 0x1c]
lea esi, [esp + 0x58]
push esi
call fcn.004c9170
add esp, 0xc
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0xbc]
test eax, eax
je 0x4c8dba
push 1
push eax
push dword [esp + 0x20]
call fcn.0040dc90
add esp, 0xc
mov edi, dword [esp + 0x54]
test edi, edi
je 0x4c8cf3
mov eax, dword [esp]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
test eax, eax
je 0x4c8de4
push 1
push eax
push dword [esp + 0x18]
call fcn.0040dc90
add esp, 0xc
mov ebp, dword [esp + 0x118]
mov ecx, edi
mov eax, ebx
jmp 0x4c7f4f
mov eax, dword [esp]
mov edi, dword [esp + 0x114]
test eax, eax
je 0x4c8e11
push 1
push eax
push dword [esp + 0x18]
call fcn.0040dc90
add esp, 0xc
mov dword [esp + 0xa4], 2
mov eax, 0x5643e0
jmp 0x4c7842
call fcn.00505c90
xor al, 1
jmp 0x4c8849
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x114]
mov byte [ecx + 3], 0
mov word [ecx + 1], 0
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], 2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x114]
mov ebx, dword [esp]
mov ebp, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xdc], 3
jb 0x4c8e90
push dword [esp + 0xe0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0x4c8ea1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], 0
je 0x4c8eb2
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], 0
je 0x4c8ec3
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x4c], 0
cmp byte [esp + 0xb4], 0
jne 0x4c8ee2
mov eax, dword [0x574a48]
test eax, 0x7fffffff
jne 0x4c9060
push 0x574a98
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c8f09
add eax, eax
push 2
push eax
push dword [esp + 0x9c]
call fcn.0040dc90
add esp, 0xc
test ebp, ebp
je 0x4c8f1e
add ebp, ebp
push 2
push ebp
push dword [esp + 0x14]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4c8f3d
add eax, eax
push 2
push eax
push dword [esp + 0xac]
call fcn.0040dc90
add esp, 0xc
test ebx, ebx
je 0x4c8f55
add ebx, ebx
push 2
push ebx
push dword [esp + 0xa0]
call fcn.0040dc90
add esp, 0xc
cmp byte [esp + 0xb8], 0
mov bl, 1
jne 0x4c796f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c8f81
add eax, eax
push 2
push eax
push dword [esp + 0xa4]
call fcn.0040dc90
add esp, 0xc
cmp dword [esp + 0xf0], 0
sete al
or bl, al
je 0x4c7871
jmp 0x4c796f
call fcn.00505c90
test al, al
jne 0x4c8ee2
mov byte [0x574a9c], 1
jmp 0x4c8ee2
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0xb4]
jmp 0x4c86e0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0xc]
jmp 0x4c8c0e
call fcn.004c4870
ud2
push 1
push 4
jmp 0x4c90d0
call fcn.004ccfb0
ud2
push dword [esp + 0x10]
push esi
call fcn.005062c0
add esp, 8
ud2