Function at 0x4129c2
Capabilities:
Create process on windows

Disassembly:
enter 0x848, 2
push ebx
push ecx
push edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x110]
call fcn.00401940
mov dword [ebp - 0xc], esp
lea edi, [ebp - 0x24c]
mov esi, 0x498f92
push 0xa
call fcn.00401950
movzx eax, byte [ebp - 0x110]
movsx ebx, ax
test ebx, ebx
jle 0x412a4b
mov word [ebp - 0x250], bx
mov word [ebp - 0x234], 0
inc word [ebp - 0x234]
movsx eax, word [ebp - 0x234]
mov dword [ebp - 0x254], eax
movsx ebx, word [ebp - 0x234]
mov al, byte [ebp + ebx - 0x110]
push eax
call fcn.004111c0
mov ecx, dword [ebp - 0x254]
mov byte [ebp + ecx - 0x110], al
dec word [ebp - 0x250]
jne 0x412a0d
lea edi, [ebp - 0x118]
mov esi, 0x498f93
push 4
call fcn.00401950
lea edi, [ebp - 0x228]
mov esi, 0x498f94
call fcn.00401940
push 0x498f95
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
ja 0x412d4f
push 0x498f9b
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
ja 0x412d4f
push 0x498fa0
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
ja 0x412d4f
push 0x498fa5
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
ja 0x412d4f
lea eax, [ebp - 0x128]
push eax
movzx ebx, byte [ebp - 0x110]
add ebx, 5
push ebx
call fcn.00403920
push dword [ebp - 0x128]
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498faa
call fcn.00401af0
mov eax, edi
push eax
call fcn.00401a00
push 0x42
push dword [ebp - 0x128]
call sub.kernel32.dll__lopen
mov word [ebp - 0x230], ax
cmp ax, 0
jle 0x412b77
movsx ebx, ax
push ebx
call sub.kernel32.dll__lclose
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498faf
call fcn.00401af0
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x350]
call fcn.00401940
lea edi, [ebp - 0x118]
mov esi, 0x498fb4
push 4
call fcn.00401950
jmp 0x412d33
push dword [ebp - 0x128]
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498fb8
call fcn.00401af0
mov eax, edi
push eax
call fcn.00401a00
push 0x42
push dword [ebp - 0x128]
call sub.kernel32.dll__lopen
mov word [ebp - 0x230], ax
cmp ax, 0
jle 0x412c06
movsx ebx, ax
push ebx
call sub.kernel32.dll__lclose
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498fbe
call fcn.00401af0
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x350]
call fcn.00401940
lea edi, [ebp - 0x118]
mov esi, 0x498fc4
push 4
call fcn.00401950
jmp 0x412d33
push dword [ebp - 0x128]
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498fc9
call fcn.00401af0
mov eax, edi
push eax
call fcn.00401a00
push 0x42
push dword [ebp - 0x128]
call sub.kernel32.dll__lopen
mov word [ebp - 0x230], ax
cmp ax, 0
jle 0x412c95
movsx ebx, ax
push ebx
call sub.kernel32.dll__lclose
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498fce
call fcn.00401af0
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x350]
call fcn.00401940
lea edi, [ebp - 0x118]
mov esi, 0x498fd3
push 4
call fcn.00401950
jmp 0x412d33
push dword [ebp - 0x128]
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498fd7
call fcn.00401af0
mov eax, edi
push eax
call fcn.00401a00
push 0x42
push dword [ebp - 0x128]
call sub.kernel32.dll__lopen
mov word [ebp - 0x230], ax
cmp ax, 0
jle 0x412d21
movsx ebx, ax
push ebx
call sub.kernel32.dll__lclose
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x350]
call fcn.00401b30
mov esi, 0x498fdc
call fcn.00401af0
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x350]
call fcn.00401940
lea edi, [ebp - 0x118]
mov esi, 0x498fe1
push 4
call fcn.00401950
jmp 0x412d33
lea edi, [ebp - 0x118]
mov esi, 0x498fe5
push 4
call fcn.00401950
lea eax, [ebp - 0x128]
push eax
movzx ebx, byte [ebp - 0x110]
add ebx, 5
push ebx
call fcn.004030f0
jmp 0x412ded
push 0x498fe6
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
jbe 0x412d78
lea edi, [ebp - 0x118]
mov esi, 0x498feb
push 4
call fcn.00401950
jmp 0x412ddc
push 0x498fef
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
jbe 0x412da1
lea edi, [ebp - 0x118]
mov esi, 0x498ff5
push 4
call fcn.00401950
jmp 0x412ddc
push 0x498ffa
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca70
test eax, eax
jbe 0x412dca
lea edi, [ebp - 0x118]
mov esi, 0x498fff
push 4
call fcn.00401950
jmp 0x412ddc
lea edi, [ebp - 0x118]
mov esi, 0x499003
push 4
call fcn.00401950
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x110]
call fcn.00401940
mov byte [ebp - 0x10], 0
lea esi, [ebp - 0x228]
mov edi, 0x499007
call fcn.004130c0
test al, al
je 0x413067
lea esi, [ebp - 0x118]
mov edi, 0x499008
call fcn.004130c0
test al, al
je 0x412f81
lea eax, [ebp - 0x24c]
push eax
call fcn.00413460
lea ebx, [ebp - 0x128]
push ebx
push 0xff
call fcn.00403920
push 0xa
lea eax, [ebp - 0x240]
mov byte [eax], 0
push eax
mov eax, dword [0x4a91ad]
push dword [eax + 0xaf5]
push 0xa
call fcn.00413430
add esp, 8
push dword [ebp - 0x128]
mov esi, 0x4a90ad
lea edi, [ebp - 0x850]
call fcn.00401b30
mov esi, 0x49900c
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x750]
call fcn.00401b30
lea esi, [ebp - 0x228]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x650]
call fcn.00401b30
mov esi, 0x499019
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x550]
call fcn.00401b30
lea esi, [ebp - 0x24c]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x450]
call fcn.00401b30
mov esi, 0x49901c
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x350]
call fcn.00401b30
lea esi, [ebp - 0x240]
call fcn.00401af0
mov eax, edi
push eax
call fcn.00401a00
push 0x64
push 0x4e20
mov eax, dword [0x4a91ad]
call fcn.00413402
push 5
push dword [ebp - 0x128]
call sub.kernel32.dll_WinExec
mov word [ebp - 0x234], ax
lea ebx, [ebp - 0x128]
push ebx
push 0xff
call fcn.004030f0
lea eax, [ebp - 0x124]
push eax
mov eax, dword [0x4a91ad]
call fcn.00412252
cmp al, 0x2c
jne 0x412f33
push 0x64
mov eax, dword [0x4a91ad]
call fcn.004133d2
cmp word [ebp - 0x234], 0x1f
jle 0x412f71
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x24c]
call fcn.00401940
jmp 0x412f81
lea edi, [ebp - 0x228]
mov esi, 0x49901e
call fcn.00401940
lea esi, [ebp - 0x228]
mov edi, 0x49901f
call fcn.004130c0
test al, al
je 0x413067
call fcn.00413350
cmp word [ebp - 0x230], 0
jle 0x41303c
push 2
lea eax, [ebp - 0x124]
push eax
movsx ebx, word [ebp - 0x230]
push ebx
call sub.kernel32.dll__lread
lea edi, [ebp - 0x120]
mov esi, 0x499020
push 6
call fcn.00401950
movzx eax, word [ebp - 0x124]
push eax
call fcn.00413340
movzx ebx, al
mov byte [ebp - 0x11f], bl
movzx eax, word [ebp - 0x124]
push eax
call fcn.00413330
movzx ebx, al
mov byte [ebp - 0x11e], bl
lea esi, [ebp - 0x120]
mov edi, 0x499023
call fcn.00410f80
test al, al
je 0x41302f
push dword [ebp + 0xc]
mov ax, word [ebp - 0x230]
push eax
mov eax, dword [ebp - 4]
call fcn.004130e2
test al, al
je 0x41302f
mov byte [ebp - 0x10], 1
movsx eax, word [ebp - 0x230]
push eax
call sub.kernel32.dll__lclose
lea esi, [ebp - 0x24c]
mov edi, 0x499026
call fcn.004130c0
test al, al
je 0x413067
push 0x4a9229
mov eax, esi
push eax
call fcn.00401e60
push 0x4a9229
call fcn.00413080
mov al, byte [ebp - 0x10]
pop edx
pop ecx
pop ebx
leave
ret 8