Function at 0x4759c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], edi
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x4759e8
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4759fb
mov eax, dword [0x4d9540]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004016e0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
push edx
call fcn.00401200
call fcn.0048b130
add esp, 8
test eax, eax
jne 0x475a43
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x475aa9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x475aa9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
jmp 0x475aa1
mov eax, dword [esp + 0x14]
push 0x4d9640
push eax
call fcn.004c5fc8
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x20], esi
jne 0x475ae6
mov ecx, dword [edi + 4]
push eax
push 0x4e3a28
push 0x4db090
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4d9544]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x475aa9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x475aa9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x4c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x475dc9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x475dc9
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc
mov eax, dword [0x4d9540]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00476940
test eax, eax
je 0x475d7b
mov eax, 0x4db08c
test eax, eax
je 0x475cd7
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x475cd7
mov ecx, 0x4e3a28
test ecx, ecx
jne 0x475b4e
mov dword [esp + 0x18], ecx
jmp 0x475b59
push 0x4e3a28
call edi
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov edx, dword [esi - 8]
lea ebp, [esi + edx*2]
cmp esi, ebp
jae 0x475cd3
push 0x4db08c
push esi
call fcn.004c546f
add esp, 8
test eax, eax
je 0x475b95
lea esi, [eax + ebx*2]
push 0x4db08c
push esi
inc edi
call fcn.004c546f
add esp, 8
test eax, eax
jne 0x475b7f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebp
jb 0x475b6d
test edi, edi
jle 0x475cd3
lea ecx, [esp + 0x10]
call fcn.00401380
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x1c], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jl 0x475bdc
cmp dword [esi - 0xc], 1
jle 0x475c1a
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edi
call fcn.004012f0
test eax, eax
je 0x475cd3
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00401350
mov esi, dword [esp + 0x10]
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x30], eax
jae 0x475cd0
push 0x4db08c
push esi
call fcn.004c546f
mov edi, eax
add esp, 8
test edi, edi
je 0x475cb5
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebx
lea ecx, [edi + ebx*2]
lea ebp, [eax + eax]
lea eax, [esi + edi]
push ebp
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004c5570
mov ecx, esi
mov esi, 0x4e3a28
mov edx, ecx
mov eax, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x4db08c
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x38]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x30]
add ebp, eax
mov dword [esp + 0x30], ebp
call fcn.004c546f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x475c40
mov ebp, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x475c2c
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
mov esi, dword [esp + 0x20]
push 0x4d9fb4
lea ecx, [esp + 0x38]
call fcn.004014f0
mov eax, dword [eax]
push esi
push 2
push 1
push eax
call fcn.004c5e5e
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.004014c0
push 0x4dd840
push 0x4da084
lea ecx, [esp + 0x18]
call fcn.0040fcd0
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push 1
push eax
call fcn.004c5e5e
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x4dd83c
call fcn.00435ab0
mov eax, dword [esp + 0x10]
push esi
mov edx, dword [eax - 8]
shl edx, 1
push edx
push 1
push eax
call fcn.004c5e5e
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x4e3a5c
call fcn.00435ab0
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
mov ecx, dword [esp + 0x44]
push edx
call fcn.00476940
test eax, eax
jne 0x475b1f
push esi
call fcn.004c5de1
mov eax, dword [esp + 0x18]
add esp, 4
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x10]
call fcn.004014c0
lea ecx, [esp + 0x3c]
call fcn.004014c0
lea ecx, [esp + 0x40]
call fcn.004014c0
lea ecx, [esp + 0x14]
call fcn.004014c0
lea ecx, [esp + 0x4c]
call fcn.004014c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc