Function at 0x401050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44394c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x4576e8]
xor eax, ebp
mov dword [ebp - 0x3d8], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x488], ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [ebp - 0x488]
call fcn.00411fb5
push 0
call fcn.004156fa
add esp, 4
push 0x4466cc
mov ecx, dword [ebp - 0x488]
call fcn.00414b62
mov eax, dword [ebp - 0x488]
cmp dword [eax + 0x48], 0
je 0x4010cb
mov ecx, dword [ebp - 0x488]
mov edx, dword [ecx + 0x48]
movsx eax, byte [edx]
test eax, eax
jne 0x4010d2
xor eax, eax
jmp 0x4016f5
mov dword [ebp - 0x384], 1
mov ecx, dword [ebp - 0x488]
mov edx, dword [ecx + 0x48]
push edx
lea ecx, [ebp - 0x38c]
call fcn.00401cc0
mov dword [ebp - 4], 0
push 0
push 0x4466ec
lea ecx, [ebp - 0x38c]
call fcn.004018d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40116f
lea ecx, [ebp - 0x38c]
call fcn.00401db0
sub eax, dword [ebp - 0x18]
sub eax, 1
push eax
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x38c]
call fcn.00401950
lea ecx, [ebp - 0x394]
call fcn.00401da0
push eax
call fcn.0042e53f
add esp, 4
mov dword [ebp - 0x390], eax
cmp dword [ebp - 0x390], 0
jne 0x401164
mov dword [ebp - 0x384], 0
lea ecx, [ebp - 0x394]
call fcn.00401d40
cmp dword [ebp - 0x384], 0
jne 0x401456
lea ecx, [ebp - 0x398]
call fcn.00401c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3d4]
call fcn.00401c80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x39c]
push edx
lea ecx, [ebp - 0x38c]
call fcn.004019d0
mov byte [ebp - 4], 3
push 0
push 0x4466f0
lea ecx, [ebp - 0x38c]
call fcn.004018d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40127d
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x460]
push ecx
lea ecx, [ebp - 0x39c]
call fcn.004019d0
mov dword [ebp - 0x48c], eax
mov edx, dword [ebp - 0x48c]
mov dword [ebp - 0x490], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x490]
push eax
lea ecx, [ebp - 0x398]
call fcn.00401d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x460]
call fcn.00401d40
lea ecx, [ebp - 0x39c]
call fcn.00401db0
sub eax, dword [ebp - 0x18]
sub eax, 1
push eax
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x39c]
call fcn.00401950
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x498], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x498]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.00401d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x464]
call fcn.00401d40
jmp 0x40128f
lea ecx, [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x398]
call fcn.00401d60
lea ecx, [ebp - 0x398]
call fcn.00401a90
movzx edx, al
test edx, edx
je 0x4012f5
mov dword [ebp - 0x468], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x39c]
call fcn.00401d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3d4]
call fcn.00401d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x398]
call fcn.00401d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38c]
call fcn.00401d40
mov eax, dword [ebp - 0x468]
jmp 0x4016f5
lea ecx, [ebp - 0x3d4]
call fcn.00401a90
movzx eax, al
test eax, eax
je 0x401340
mov byte [ebp - 0x45c], 0
push 0x7f
push 0
lea ecx, [ebp - 0x45b]
push ecx
call fcn.0042e940
add esp, 0xc
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.libGetHDSign.dll_HD_GetHDSign]
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.00401d80
lea ecx, [ebp - 0x3d0]
call fcn.004055d0
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x46c], esp
lea edx, [ebp - 0x398]
push edx
call fcn.00401ca0
mov dword [ebp - 0x49c], eax
lea ecx, [ebp - 0x3d0]
call fcn.00405790
push ecx
mov ecx, esp
mov dword [ebp - 0x470], esp
lea eax, [ebp - 0x3d4]
push eax
call fcn.00401ca0
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x3d0]
call fcn.00406410
push 0
push 0x4466f4
lea ecx, [ebp - 0x3d4]
call fcn.004018d0
cmp eax, 0xffffffff
jne 0x4013bd
lea ecx, [ebp - 0x3d0]
call fcn.004068e0
push 0x8a4
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4013e8
push 0x7530
mov edx, dword [ebp - 0x3d0]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x3d0]
call fcn.004061c0
mov dword [ebp - 0x474], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3d0]
call fcn.00405720
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x39c]
call fcn.00401d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3d4]
call fcn.00401d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x398]
call fcn.00401d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38c]
call fcn.00401d40
mov eax, dword [ebp - 0x474]
jmp 0x4016f5
lea ecx, [ebp - 0x380]
call fcn.00401c80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00401c80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38c]
push ecx
lea ecx, [ebp - 0x388]
call fcn.00401ca0
mov byte [ebp - 4], 9
push 0
push 0x446700
lea ecx, [ebp - 0x38c]
call fcn.004018d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40154d
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x388]
call fcn.004019d0
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4a8]
push edx
lea ecx, [ebp - 0x380]
call fcn.00401d60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x478]
call fcn.00401d40
lea ecx, [ebp - 0x388]
call fcn.00401db0
sub eax, dword [ebp - 0x18]
sub eax, 1
push eax
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x388]
call fcn.00401950
mov dword [ebp - 0x4ac], eax
mov ecx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x4b0]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x47c]
call fcn.00401d40
jmp 0x40155f
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x380]
call fcn.00401d60
lea ecx, [ebp - 0x380]
call fcn.00401a90
movzx ecx, al
test ecx, ecx
je 0x4015c2
mov dword [ebp - 0x480], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x388]
call fcn.00401d40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00401d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x380]
call fcn.00401d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38c]
call fcn.00401d40
mov eax, dword [ebp - 0x480]
jmp 0x4016f5
push 0
lea ecx, [ebp - 0x37c]
call fcn.004028e0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x380]
push edx
lea ecx, [ebp - 0x160]
call fcn.00401d60
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x164]
call fcn.00401d60
mov ecx, dword [ebp - 0x488]
lea edx, [ebp - 0x37c]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0x37c]
call fcn.004148b6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x20], 0
je 0x40166f
lea ecx, [ebp - 0x15c]
call fcn.00401a90
movzx eax, al
test eax, eax
je 0x401643
push 5
push 0
push 0
push 0x446704
push 0x446714
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40166f
push 5
push 0
push 0
lea ecx, [ebp - 0x15c]
call fcn.00401a50
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401dd0
push 0x8a4
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x40169a
push 0x7530
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x484], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x37c]
call fcn.00401770
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x388]
call fcn.00401d40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.00401d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x380]
call fcn.00401d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38c]
call fcn.00401d40
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3d8]
xor ecx, ebp
call fcn.0042e930
mov esp, ebp
pop ebp
ret