Function at 0x4ab790
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x40]
call fcn.0052a550
mov eax, dword [0x547570]
mov ecx, dword [esp + 0x48]
cmp ecx, eax
mov dword [esp + 0x10], eax
je 0x4ab7f9
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4ab7c7
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4ab7ce
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4ab7de
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x50]
call fcn.00405870
jmp 0x4ab7f9
lea ecx, [esp + 0x48]
call fcn.004124c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
call fcn.004a2500
xor edi, edi
cmp eax, edi
je 0x4abbdf
lea ecx, [esi + 0x1d0]
test ecx, ecx
je 0x4ab81c
lea ecx, [esi + 0x1d4]
jmp 0x4ab81e
xor ecx, ecx
mov edx, dword [ecx]
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00510f50
lea eax, [esp + 0x10]
add esi, 4
push eax
push edi
push ecx
mov dword [esp + 0x40], esi
mov ecx, esp
push 0x554e48
call fcn.00405730
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x50]
call fcn.0052aa20
test eax, eax
jne 0x4ab8a6
lea ecx, [esp + 0x38]
call fcn.00510740
mov eax, dword [esp + 0x10]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4abbe8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4abbe8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0052a5a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ecx, dword [0x547570]
mov edx, str._test_hl
test edx, edx
mov dword [esp + 0x14], ecx
je 0x4ab8f3
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, edi
je 0x4ab8f3
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4ab8f3
mov eax, dword [esp + 0x14]
inc esi
push esi
push str._test_hl
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405a90
mov eax, dword [esp + 0x14]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4ab934
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4ab934
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, 0x548b38
test ecx, ecx
je 0x4abae6
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call esi
mov ebx, eax
cmp ebx, edi
je 0x4abae6
mov edx, 0x547f14
test edx, edx
jne 0x4ab963
mov dword [esp + 0x14], edi
jmp 0x4ab96e
push 0x547f14
call esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
lea ebp, [esi + eax*2]
cmp esi, ebp
jae 0x4abae6
push 0x548b38
push esi
call fcn.0053225f
add esp, 8
test eax, eax
je 0x4ab9a8
lea esi, [eax + ebx*2]
push 0x548b38
push esi
inc edi
call fcn.0053225f
add esp, 8
test eax, eax
jne 0x4ab992
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebp
jb 0x4ab980
test edi, edi
jle 0x4abae6
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jl 0x4ab9ef
cmp dword [esi - 0xc], 1
jle 0x4aba2d
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edi
call fcn.00405530
test eax, eax
je 0x4abae6
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00405590
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x28], eax
jae 0x4abae3
push 0x548b38
push esi
call fcn.0053225f
mov edi, eax
add esp, 8
test edi, edi
je 0x4abac8
mov eax, dword [esp + 0x10]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x18]
sar edx, 1
sub eax, edx
lea ecx, [edi + ebx*2]
sub eax, ebx
lea ebp, [eax + eax]
mov eax, dword [esp + 0x14]
push ebp
push ecx
lea esi, [eax + eax]
lea eax, [esi + edi]
push eax
mov dword [esp + 0x2c], eax
call fcn.00532360
mov ecx, esi
mov esi, 0x547f14
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x548b38
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.0053225f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4aba53
mov ebp, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x28]
cmp esi, eax
jb 0x4aba3f
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
push 0x54826c
lea ecx, [esp + 0x24]
call fcn.00405730
push 0x54de6c
lea ecx, [esp + 0x18]
call fcn.00405730
push str.__H__J__
lea ecx, [esp + 0x1c]
call fcn.00405730
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00511000
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00412c10
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00412c10
lea edx, [esp + 0x30]
push eax
push edx
call fcn.00412c10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00412c10
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
mov ecx, dword [esp + 0x1c]
push 0
push 0x554e08
push ecx
mov ecx, dword [esp + 0x40]
call fcn.0043adb0
mov edx, dword [esp + 0x1c]
push 5
push 0
push edx
push str.mklink
push 0x548150
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x38]
call fcn.00510740
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x40]
call fcn.0052a5a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret