Function at 0x4097d0
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
push eax
lea ecx, [esp + 0x18]
call fcn.00401e60
lea ecx, [esp + 0x38]
xor ebp, ebp
push ecx
mov dword [esp + 0xb4], ebp
call fcn.00406230
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0xb8], 1
call fcn.00401920
add eax, 0x10
mov dword [esi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push edi
mov byte [esp + 0xbc], 2
mov dword [esp + 0x38], edi
call fcn.00401920
add eax, 0x10
lea edx, [esp + 0x24]
add esp, 4
mov dword [esi], eax
push edx
mov byte [esp + 0xbc], 1
call fcn.00406f30
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 3
call fcn.00401d40
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00407a60
add esp, 4
test al, al
je 0x409910
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.00403ee0
add esp, 0x10
mov byte [esp + 0xb0], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409d1e
mov ecx, dword [edi]
push edi
jmp 0x409d17
mov ecx, dword [esp + 0xbc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401e60
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
mov byte [esp + 0xb0], 4
cmp eax, ebp
jne 0x409997
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401920
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
call fcn.00404dd0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 5
call fcn.00401d40
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401920
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 6
call fcn.0043b568
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov bl, 7
push 0x474c3c
mov byte [esp + 0xb8], bl
call fcn.00401e60
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
mov byte [esp + 0xc0], 8
call fcn.00401920
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0xbc], bl
call fcn.00404aa0
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebp
je 0x409a3d
lea ecx, [eax - 1]
cmp ecx, ebp
jl 0x409d63
cmp ecx, eax
jge 0x409d63
mov edx, dword [esp + 0x40]
lea eax, [edx + ecx*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401d40
push 0x475718
lea eax, [esp + 0x1c]
push eax
push 0x475714
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.Run_file
call fcn.00401e60
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x474c40
mov byte [esp + 0xc8], 9
call fcn.00401e60
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0xc8], bl
call fcn.004106c0
add esp, 0xc
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xc4], 0xa
call fcn.00402c10
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xc0], 0xb
call fcn.00402b50
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0xbc], 0xc
call fcn.00402c10
add esp, 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409af4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xb0], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0xc0]
cmp edi, ebp
je 0x409b8b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x409b54
sub eax, edx
sar eax, 1
je 0x409b8b
push 0x475714
lea ecx, [esp + 0x20]
call fcn.00403030
push edi
lea ecx, [esp + 0x20]
call fcn.00403030
push 0x475718
lea ecx, [esp + 0x20]
call fcn.00403030
lea ecx, [esp + 0x90]
call fcn.0043d765
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0xb8], 0x11
call fcn.0043d7fd
test eax, eax
je 0x409c5d
mov eax, dword [esp + 0x1c]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00401920
mov ecx, dword [esp + 0xd0]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004070c0
mov edx, dword [esp + 0x28]
push edx
call fcn.00408b90
push 0x38
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.00455e70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
add esp, 0x1c
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], 5
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0xcc], ebp
je 0x409c5d
mov ecx, dword [esp + 0x8c]
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x90]
mov byte [esp + 0xb0], 0x10
call fcn.0043d78e
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0xb0], bl
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409c98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 6
call fcn.0043b745
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xb0], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d1e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
call fcn.0043ad73
int3