Function at 0x4129d2
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 0x412a5b
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.004111d0
mov ecx, dword [ebp - 0x254]
mov byte [ebp + ecx - 0x110], al
dec word [ebp - 0x250]
jne 0x412a1d
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.0040ca80
test eax, eax
ja 0x412d5f
push 0x498f9b
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca80
test eax, eax
ja 0x412d5f
push 0x498fa0
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca80
test eax, eax
ja 0x412d5f
push 0x498fa5
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca80
test eax, eax
ja 0x412d5f
lea eax, [ebp - 0x128]
push eax
movzx ebx, byte [ebp - 0x110]
add ebx, 5
push ebx
call fcn.00403930
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 0x412b87
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 0x412d43
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 0x412c16
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 0x412d43
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 0x412ca5
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 0x412d43
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 0x412d31
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 0x412d43
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.00403100
jmp 0x412dfd
push 0x498fe6
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca80
test eax, eax
jbe 0x412d88
lea edi, [ebp - 0x118]
mov esi, 0x498feb
push 4
call fcn.00401950
jmp 0x412dec
push 0x498fef
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca80
test eax, eax
jbe 0x412db1
lea edi, [ebp - 0x118]
mov esi, 0x498ff5
push 4
call fcn.00401950
jmp 0x412dec
push 0x498ffa
lea eax, [ebp - 0x110]
push eax
call fcn.0040ca80
test eax, eax
jbe 0x412dda
lea edi, [ebp - 0x118]
mov esi, 0x498fff
push 4
call fcn.00401950
jmp 0x412dec
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.004130d0
test al, al
je 0x413077
lea esi, [ebp - 0x118]
mov edi, 0x499008
call fcn.004130d0
test al, al
je 0x412f91
lea eax, [ebp - 0x24c]
push eax
call fcn.00413470
lea ebx, [ebp - 0x128]
push ebx
push 0xff
call fcn.00403930
push 0xa
lea eax, [ebp - 0x240]
mov byte [eax], 0
push eax
mov eax, dword [0x4a91ad]
push dword [eax + 0xaf5]
push 0xa
call fcn.00413440
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.00413412
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.00403100
lea eax, [ebp - 0x124]
push eax
mov eax, dword [0x4a91ad]
call fcn.00412262
cmp al, 0x2c
jne 0x412f43
push 0x64
mov eax, dword [0x4a91ad]
call fcn.004133e2
cmp word [ebp - 0x234], 0x1f
jle 0x412f81
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x24c]
call fcn.00401940
jmp 0x412f91
lea edi, [ebp - 0x228]
mov esi, 0x49901e
call fcn.00401940
lea esi, [ebp - 0x228]
mov edi, 0x49901f
call fcn.004130d0
test al, al
je 0x413077
call fcn.00413360
cmp word [ebp - 0x230], 0
jle 0x41304c
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.00413350
movzx ebx, al
mov byte [ebp - 0x11f], bl
movzx eax, word [ebp - 0x124]
push eax
call fcn.00413340
movzx ebx, al
mov byte [ebp - 0x11e], bl
lea esi, [ebp - 0x120]
mov edi, 0x499023
call fcn.00410f90
test al, al
je 0x41303f
push dword [ebp + 0xc]
mov ax, word [ebp - 0x230]
push eax
mov eax, dword [ebp - 4]
call fcn.004130f2
test al, al
je 0x41303f
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.004130d0
test al, al
je 0x413077
push 0x4a9229
mov eax, esi
push eax
call fcn.00401e60
push 0x4a9229
call fcn.00413090
mov al, byte [ebp - 0x10]
pop edx
pop ecx
pop ebx
leave
ret 8