Function at 0x403410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push esi
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00403fe0
mov byte [ebp - 0x4d], 0x41
mov al, byte [ebp - 0x4d]
mov byte [ebp - 0xd8], al
cmp byte [ebp - 0xd8], 8
je 0x403440
jmp 0x403489
movzx ecx, byte [ebp - 0x4d]
add ecx, 0xdc
mov byte [ebp - 0x4d], cl
movzx edx, byte [ebp - 0x4d]
sub edx, 0xbc
mov byte [ebp - 0x4d], dl
lea eax, [ebp - 0x4d]
push eax
lea ecx, [ebp - 0x4d]
push ecx
call dword [sym.imp.SHELL32.dll_ILIsEqual]
mov dword [ebp - 0xac], eax
call fcn.00401ad0
movzx edx, byte [ebp - 0x4d]
and edx, 0x59
mov byte [ebp - 0x4d], dl
movzx eax, byte [ebp - 0x4d]
push eax
call fcn.00402d60
jmp 0x4034c7
mov ecx, dword [section..data]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0x34], 0x5dfa
mov edx, 0x7c
mov word [ebp - 0x5c], dx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xc1], 0x50
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x58], edx
movzx eax, byte [ebp - 0x4d]
cmp eax, 0xc0
jne 0x4034db
movzx ecx, byte [ebp - 0x4d]
sar ecx, 1
mov byte [ebp - 0x4d], cl
mov edx, 0x72a
mov word [ebp - 0xb0], dx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x30]
shl eax, cl
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x4d]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx]
mov byte [ebp - 0xdc], dl
cmp byte [ebp - 0xdc], 0x40
je 0x403555
cmp byte [ebp - 0xdc], 0xc1
je 0x403529
jmp 0x403561
movzx eax, word [ebp - 0xb0]
or eax, 0x471
mov word [ebp - 0xb0], ax
mov ecx, dword [ebp - 0x58]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
add eax, dword [edx]
mov dword [ebp - 0xb4], eax
jmp 0x403561
push 1
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov dl, byte [ebp - 0xc1]
mov byte [ebp - 0xd1], dl
movzx eax, word [ebp - 0xb0]
cmp eax, 0x361
jg 0x403624
mov ecx, dword [ebp - 0xc8]
sub ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
movzx eax, word [ebp - 0x5c]
push eax
mov dl, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0x34]
call fcn.00402bd0
mov ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx]
sub edx, 0x1a
mov byte [ebp - 0x4d], dl
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0xcc], eax
movzx ecx, word [ebp - 0xb0]
add ecx, 0x925
cmp ecx, 0xab
jl 0x403600
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
add eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], edx
call fcn.00401ad0
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.SHELL32.dll_ILCreateFromPathA]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
xor edx, edx
div dword [ebp - 0x54]
cmp eax, dword [ebp - 0x34]
jae 0x4036a7
lea edx, [ebp - 0x34]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x4d]
mov dword [ebp - 0xa0], ecx
movzx edx, byte [ebp - 0x4d]
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax]
xor edx, ecx
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [eax]
cmp edx, ecx
jg 0x4036a7
movsx edx, word [ebp - 0x5c]
cmp edx, 0x248
jle 0x4036a7
mov eax, dword [ebp - 0xa0]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x4d]
sar edx, cl
mov eax, dword [ebp - 0xa0]
mov byte [eax], dl
call fcn.00403410
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc8]
shl edx, cl
mov dword [ebp - 0x30], edx
call fcn.00403410
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
and ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0xd0], edx
movzx eax, word [ebp - 0xb0]
cmp eax, 0x165
jl 0x4036f6
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ecx]
sub eax, dword [edx]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x28], ecx
mov dl, byte [ebp - 0x4d]
mov byte [ebp - 0x3d], dl
mov ax, word [ebp - 0x5c]
mov word [ebp - 0xb8], ax
mov cl, byte [ebp - 0xd1]
mov byte [ebp - 0x35], cl
jmp 0x40375c
mov edx, dword [ebp - 8]
mov eax, dword [edx]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc8]
sub edx, dword [ebp - 0xb4]
mov dword [ebp - 0x30], edx
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.SHELL32.dll_ILIsParent]
mov dword [ebp - 0x44], eax
movzx edx, byte [ebp - 0xd1]
push edx
call section..text
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
and ecx, 0xeda
mov word [ebp - 0xb0], cx
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x4d]
sub eax, ecx
mov edx, dword [ebp - 0x3c]
mov byte [edx], al
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa0]
mov dl, byte [ecx]
mov byte [ebp - 0xe0], dl
cmp byte [ebp - 0xe0], 0x30
je 0x40386c
cmp byte [ebp - 0xe0], 0x41
je 0x40378e
jmp 0x4038dd
lea eax, [ebp - 0x30]
mov dword [ebp - 0xa4], eax
mov cx, word [ebp - 0x5c]
mov word [ebp - 4], cx
movsx edx, byte [ebp - 0x35]
movsx eax, byte [ebp - 0xd1]
imul edx, eax
mov byte [ebp - 0xc1], dl
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x54]
and edx, dword [ecx]
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x58]
cmp edx, eax
ja 0x4037ca
jmp 0x4037f2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
add edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xb4]
cmp edx, ecx
jg 0x4037f2
mov edx, dword [ebp - 8]
mov eax, dword [edx]
and eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.SHELL32.dll_ILCloneFirst]
mov dword [ebp - 0x2c], eax
movsx edx, word [ebp - 0x5c]
movsx eax, word [ebp - 0xb8]
or edx, eax
movsx ecx, word [ebp - 4]
cmp edx, ecx
jne 0x403828
movzx edx, byte [ebp - 0x3d]
movzx ecx, byte [ebp - 0x4d]
shl edx, cl
mov eax, dword [ebp - 0x3c]
mov byte [eax], dl
jmp 0x40386a
movzx ecx, byte [ebp - 0x3d]
movzx edx, byte [ebp - 0x4d]
xor ecx, edx
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
mov edx, dword [ebp - 0xa0]
movzx esi, byte [edx]
cdq
idiv esi
cmp ecx, eax
jl 0x40386a
movzx eax, word [ebp - 0x5c]
push eax
mov dl, byte [ebp - 0x4d]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call fcn.00402bd0
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
sar eax, 7
mov word [ebp - 0xb0], ax
jmp 0x4038dd
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x3c]
push eax
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x54], eax
movzx ecx, byte [ebp - 0x4d]
movzx edx, byte [ebp - 0x3d]
add ecx, edx
mov eax, dword [ebp - 0x3c]
movzx edx, byte [eax]
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
sub edx, eax
cmp ecx, edx
jge 0x4038ae
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx]
push edx
call fcn.00402d60
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xa8]
add eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xb4]
sub edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx]
mov dword [ebp - 0xb4], edx
mov al, byte [ebp - 0x35]
mov byte [ebp - 0xe4], al
cmp byte [ebp - 0xe4], 0x1a
je 0x403902
jmp 0x403913
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx]
and edx, dword [ebp - 0xb4]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.SHELL32.dll_ILSaveToStream]
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
add eax, 0x1fa
movzx ecx, word [ebp - 0xb0]
cmp eax, ecx
jl 0x40394f
movzx edx, word [ebp - 0xb0]
shl edx, 1
mov eax, dword [ebp - 0x28]
mov word [eax], dx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xb4]
or edx, dword [ecx]
mov eax, dword [ebp - 0xd0]
mov dword [eax], edx
mov ecx, dword [ebp - 0xa8]
xor ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x3c]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x4d]
sar eax, cl
mov byte [ebp - 0x3d], al
mov eax, dword [section..data]
pop esi
mov esp, ebp
pop ebp
ret