Function at 0x413950
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x4147a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa08
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
mov edi, dword [sym.imp.GDI32.dll_GetCharWidthA]
xor esi, esi
cmp esi, 0x2c831
jge 0x413994
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffA]
push ebx
push ebx
push ebx
push ebx
call edi
cmp dword [0x926bd4], 0x6fb
jne 0x4139b2
push ebx
lea eax, [esp + 0x218]
push eax
push ebx
call ebp
cmp esi, 0x3120cd8
jle 0x4139d1
cmp dword [esp + 0x14], 0x134170
je 0x4139d1
cmp dword [esp + 0x1d8], 0xe70b9d
jne 0x4139dc
inc esi
cmp esi, 0x4f0fe3
jl 0x413983
jmp 0x413a08
cmp dword [0x926bd4], 0x28
jne 0x413a08
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x6c]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
cmp dword [0x926bd4], 0xcf8
jne 0x413ece
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x1d0]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x234]
push edx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push ebx
call fcn.004078a1
add esp, 4
push ebx
push ebx
call fcn.00411c1a
add esp, 8
lea eax, [esp + 0x24]
push eax
call fcn.00406220
mov dword [esp + 0x24], 0x404254
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov eax, 1
mov dword [esp + 0xa20], eax
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1b0], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x6c], 0x404298
mov dword [esp + 0x7c], 0x4042a0
mov byte [esp + 0xa20], 3
mov ebp, 6
push 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xd0], 0x40423c
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 0x201
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xdc], ebx
call fcn.00407b2e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x413b50
call fcn.00406e19
mov dword [esi], eax
call fcn.00406bd8
push ebx
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00406f02
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x413b45
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x20]
call fcn.00406f2a
jmp 0x413b52
xor esi, esi
lea ecx, [esp + 0x84]
lea edi, [esp + 0x1c]
lea eax, [esp + 0xcc]
mov dword [esp + 0xfc], esi
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ebx
call fcn.004052e0
mov edi, eax
mov dword [esp + 0xa20], ebp
call fcn.00406480
mov byte [esp + 0xa20], 5
mov edi, dword [esp + 0x1c]
mov ebp, eax
cmp edi, ebx
je 0x413bda
push ebx
lea ecx, [esp + 0x18]
call fcn.00406f02
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x413bb8
cmp eax, 0xffffffff
jae 0x413bb8
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.00406f2a
cmp esi, ebx
je 0x413bda
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
push 0x20
mov ecx, ebp
call eax
mov byte [esp + 0x10c], al
cmp dword [esp + 0x104], ebx
jne 0x413c20
mov eax, dword [esp + 0xd8]
or eax, 4
and eax, 0x17
mov dword [esp + 0xd8], eax
test dword [esp + 0xdc], eax
je 0x413c20
push ebx
lea ecx, [esp + 0xd0]
call fcn.00405200
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x7c], 0x404244
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x6c], 0x40424c
mov dword [esp + 0xa20], 9
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x84]
mov esi, 0x404294
push ecx
mov dword [esp + eax + 0x70], esi
call fcn.00406220
mov edi, 0x404254
mov dword [esp + 0x84], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0xa24], 0xb
call fcn.00405460
push ebx
call fcn.00407b1f
add esp, 4
push ebx
call fcn.004079f4
add esp, 4
push ebx
push ebx
call fcn.00407a21
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xd4]
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + edx + 0x6c], esi
test byte [esp + 0xc4], 1
lea eax, [esp + 0x84]
mov dword [esp + 0x20], eax
mov dword [esp + 0x84], edi
je 0x413cf2
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
push eax
call fcn.00407a16
add esp, 4
mov edx, dword [esp + 0x94]
mov dword [edx], ebx
mov eax, dword [esp + 0xa4]
mov dword [eax], ebx
mov ecx, dword [esp + 0xb4]
mov dword [ecx], ebx
mov edx, dword [esp + 0x98]
mov dword [edx], ebx
mov eax, dword [esp + 0xa8]
mov dword [eax], ebx
mov ecx, dword [esp + 0xb8]
mov dword [ecx], ebx
and dword [esp + 0xc4], 0xfffffffe
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x84], 0x4041fc
mov byte [esp + 0xa20], 0xd
mov eax, dword [esp + 0xbc]
mov ebp, eax
cmp eax, ebx
je 0x413da7
mov edi, dword [eax]
cmp edi, ebx
je 0x413d99
push ebx
lea ecx, [esp + 0x18]
call fcn.00406f02
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x413d77
cmp eax, 0xffffffff
jae 0x413d77
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.00406f2a
cmp esi, ebx
je 0x413d99
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.00407a16
add esp, 4
mov edi, 0x404254
lea ecx, [esp + 0x88]
mov byte [esp + 0xa20], 0xc
call fcn.00406f5b
mov byte [esp + 0xa20], 2
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x6c], 0x40424c
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x7c], 0x404244
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xcc]
mov dword [esp + eax + 0x6c], 0x40423c
push ecx
mov dword [esp + 0xd0], 0x4041f4
call fcn.00406b0e
add esp, 4
test byte [esp + 0x64], 1
mov dword [esp + 0x24], edi
je 0x413e25
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
call fcn.00407a16
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov ecx, dword [esp + 0x44]
mov dword [ecx], ebx
mov edx, dword [esp + 0x54]
mov dword [edx], ebx
mov eax, dword [esp + 0x38]
mov dword [eax], ebx
mov ecx, dword [esp + 0x48]
mov dword [ecx], ebx
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
and dword [esp + 0x64], 0xfffffffe
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], 0x4041fc
mov dword [esp + 0xa20], 0xe
mov eax, dword [esp + 0x5c]
mov ebp, eax
cmp eax, ebx
je 0x413eba
mov edi, dword [eax]
cmp edi, ebx
je 0x413eb1
push ebx
lea ecx, [esp + 0x18]
call fcn.00406f02
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x413e8f
cmp eax, 0xffffffff
jae 0x413e8f
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.00406f2a
cmp esi, ebx
je 0x413eb1
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.00407a16
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0xa20], 0xffffffff
call fcn.00406f5b
mov eax, 0x5d1
add dword [0x926bd4], eax
mov eax, dword [0x926bd4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x9253cc], eax
mov eax, dword [0x926bd4]
xor edi, edi
cmp eax, ebx
jbe 0x413f45
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetStringTypeW]
cmp eax, 0xfe
jne 0x413f1c
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x6c]
push ecx
push 0x403f98
call esi
call fcn.004133e0
mov eax, dword [0x926bd4]
cmp eax, 0x8d
jne 0x413f40
lea edx, [esp + 0x18]
push edx
push ebx
push 0x403fa8
push ebx
call ebp
mov eax, dword [0x926bd4]
inc edi
cmp edi, eax
jb 0x413f02
cmp eax, 0x70
jne 0x413f57
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, dword [0x926bd4]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov edi, 0x9682ab
cmp eax, 3
jne 0x413f74
push 0x403fd8
push ebx
call esi
mov eax, dword [0x926bd4]
dec edi
jne 0x413f62
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
jmp 0x413f90
mov dword [0x9253d4], edi
cmp eax, 0x222
jne 0x413fb2
push ebx
push ebx
push ebx
push 0x404048
push 0x40405c
push ebx
call esi
mov eax, dword [0x926bd4]
dec ebp
jne 0x413f90
mov byte [0x47c798], 0
call fcn.004132e0
call fcn.00413730
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalUnlock]
xor esi, esi
cmp dword [0x926bd4], 0xba
jne 0x413fed
push 0x404080
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x414006
mov eax, 0
add dword [0x9253cc], eax
inc esi
cmp esi, 0x1605a
jl 0x413fd4
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov dword [esp + 0x18], 0x1e6dcb
nop
cmp dword [0x926bd4], 0x85
jne 0x414065
push 0
call esi
push 0
call edi
push 0x4040f8
push 0x404110
push 0x404130
call ebp
push 0
push 0
lea eax, [esp + 0x61c]
push eax
push 0
call ebx
dec dword [esp + 0x18]
jne 0x414030
mov ecx, 0x73
mov edx, 0x6d
mov word [0x926bda], cx
mov word [0x926bde], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0x926be2], ax
mov word [0x926bee], dx
mov word [0x926be0], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0x926bd8
mov dword [0x926be8], 0x6c0064
mov word [0x926bdc], dx
mov word [0x926bd8], ax
mov word [0x926bec], cx
mov dword [0x926be4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xa14
ret