Function at 0x410c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfe82
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x513200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x4b0], eax
call fcn.004090f0
mov ecx, eax
call fcn.00409330
test al, al
je 0x410cd7
mov al, 1
jmp 0x411020
test ebx, ebx
je 0x410d8f
mov ecx, ebx
mov eax, 0x4fd220
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410d0c
test dx, dx
je 0x410d08
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410d0c
add eax, 4
add ecx, 4
test dx, dx
jne 0x410ce6
xor eax, eax
jmp 0x410d11
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410d8f
lea ecx, [ebp - 0x134]
call fcn.0040e5f0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00410b30
cmp dword [ebp - 0x130], 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x12c]
jne 0x410d53
mov dword [ebp - 0x4a4], 0
jmp 0x410d67
test dl, dl
lea eax, [ebp - 0x128]
cmove eax, ecx
add eax, 4
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
test dl, dl
jne 0x410d8f
lea eax, [ebp - 0x128]
cmp ecx, eax
je 0x410d8f
push ecx
call fcn.00496f41
add esp, 4
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x410d9e
mov eax, dword [esi + 8]
add eax, 4
mov dword [ebp - 0x4c4], eax
call fcn.00432730
or edi, 0xffffffff
mov bh, 1
mov dword [ebp - 0x4c0], edi
mov byte [ebp - 0x4bc], bh
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040efb0
test al, al
je 0x410f19
xor bh, bh
mov byte [ebp - 0x4bc], bh
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x410dea
mov eax, dword [esi + 8]
push dword [ebp - 0x4b0]
add eax, 4
push dword [ebp - 0x4a4]
push dword [ebp - 0x4b4]
push eax
push str.open
push dword [ebp - 0x4a8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor edi, edi
mov dword [ebp - 0x4a8], eax
cmp eax, 0x20
jg 0x410ff7
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
mov dword [ebp - 0x4c0], edi
jne 0x410e37
mov eax, dword [esi + 8]
sub esp, 0x10
lea ecx, [ebp - 0x134]
add eax, 4
push 0
push eax
call fcn.0040e650
push 0x4fd244
lea ecx, [ebp - 0x258]
call fcn.00403600
mov esi, eax
push dword [ebp - 0x4a8]
mov byte [ebp - 4], 5
push 0x4fc45c
push esi
call fcn.004048f0
push 0x4fd160
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0x18
lea eax, [esi + 0xc]
cmp byte [esi + 0x11c], 0
jne 0x410e94
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x4ac]
lea ecx, [ebp - 0x134]
push ecx
add eax, 4
mov ecx, esi
push eax
call fcn.0040e240
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x410ed8
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x410ed8
push eax
call fcn.00496f41
add esp, 4
mov byte [ebp - 4], 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x410f05
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x410f05
push eax
call fcn.00496f41
add esp, 4
mov edx, dword [ebp - 0x4a8]
mov ecx, esi
call fcn.004141d0
xor bl, bl
jmp 0x410ff9
call fcn.004090f0
mov al, byte [eax + 6]
test al, al
je 0x41103e
mov ecx, esi
call fcn.0040efb0
test al, al
jne 0x410f8c
mov ecx, esi
call fcn.0040ef80
test al, al
jne 0x410f8c
sub esp, 0x10
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x4c0], edi
push 0
call fcn.00404600
push eax
lea ecx, [ebp - 0x258]
call fcn.0040e650
mov ecx, dword [ebp - 0x4ac]
lea eax, [ebp - 0x258]
push eax
push str.b_rN0R
mov byte [ebp - 4], 2
call fcn.0040e240
lea ecx, [ebp - 0x258]
call fcn.0040ea20
xor bl, bl
jmp 0x410ff9
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x410f9b
mov eax, dword [esi + 8]
add eax, 4
lea ecx, [ebp - 0x4a0]
push eax
call fcn.0042fb70
push dword [ebp - 0x4b0]
mov esi, dword [ebp - 0x4ac]
lea ecx, [ebp - 0x4a0]
push dword [ebp - 0x4a4]
mov byte [ebp - 4], 3
push dword [ebp - 0x4b4]
push dword [ebp - 0x4a8]
push esi
call fcn.0042feb0
test al, al
jne 0x410fea
mov ecx, esi
mov edi, 0xa
call fcn.00426320
jmp 0x410fec
xor bh, bh
lea ecx, [ebp - 0x4a0]
call fcn.004110e0
mov bl, 1
mov dword [ebp - 4], 6
test bh, bh
je 0x41101e
call fcn.00432730
cmp dword [eax + 0x124], 0
je 0x41101e
mov ecx, dword [ebp - 0x4c4]
push edi
call fcn.00433030
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489940
mov esp, ebp
pop ebp
ret 0x18
call fcn.004090f0
mov al, byte [eax + 0xa8b]
test al, al
jne 0x411060
call fcn.004090f0
mov al, byte [eax + 0xacf]
test al, al
je 0x41109a
cmp al, 1
jne 0x41109a
mov ecx, dword [0x52a554]
test ecx, ecx
je 0x41109a
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x411079
mov eax, dword [esi + 8]
push dword [ebp - 0x4b0]
mov edx, dword [ecx]
add eax, 4
push dword [ebp - 0x4a4]
push dword [ebp - 0x4b4]
push eax
call dword [edx]
xor bh, bh
jmp 0x410ff7
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], 0
push eax
push dword [ebp - 0x4ac]
mov ecx, esi
call fcn.004139f0
test al, al
jne 0x410ddb
mov edi, dword [ebp - 0x4b8]
xor eax, eax
cmp edi, 2
cmove edi, eax
xor bl, bl
jmp 0x410ff9