Function at 0x404750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb866
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x4fb068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2d4]
call fcn.0040f672
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 4], 0
call fcn.00407680
mov byte [ebp - 4], 1
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
push edx
push 0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 3
call fcn.00408b80
mov ecx, dword [ebp - 0x2e0]
cmp ecx, dword [ebp - 0x2dc]
je 0x404e8b
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 5
call fcn.0041a500
push 1
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x24c]
push 0x4db164
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00401ed0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004075e0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 7
call fcn.00401e60
mov byte [ebp - 4], 5
lea eax, [ebp - 0x234]
mov esi, dword [ebp - 0x2cc]
push eax
cmp dword [ebp - 0x2c8], esi
je 0x4048dc
mov ecx, esi
call fcn.00407810
add esi, 0x18
mov dword [ebp - 0x2cc], esi
jmp 0x4048e8
push esi
lea ecx, [ebp - 0x2d0]
call fcn.00408b80
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea edx, [ebp - 0x2d4]
lea ecx, [ebp - 0x2f0]
call fcn.0040dd30
add esp, 8
test al, al
jne 0x404922
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xb
call fcn.00401e60
jmp 0x404e87
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x294]
call fcn.00407810
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x294]
mov esi, dword [ebp - 0x2cc]
push eax
cmp dword [ebp - 0x2c8], esi
je 0x40495f
mov ecx, esi
call fcn.00407810
add esi, 0x18
mov dword [ebp - 0x2cc], esi
jmp 0x40496b
push esi
lea ecx, [ebp - 0x2d0]
call fcn.00408b80
push 1
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x24c]
push 0x4db168
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00401ed0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004075e0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x11
call fcn.00401e60
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x15
call fcn.00401e60
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x19
call fcn.00401e60
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2d0]
cmp eax, dword [ebp - 0x2cc]
je 0x404e8b
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x2d0]
call fcn.0040d9b0
cmp dword [ebp - 0x220], 0x10
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x27c]
cmovae edx, dword [ebp - 0x234]
call fcn.0041b930
push 0x4db16c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1f
call fcn.00401e00
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x20
push ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.00408650
add esp, 4
push eax
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x21
call fcn.00407770
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x22
call fcn.00401e60
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x26
call fcn.00401e60
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x1f
call fcn.00407680
mov byte [ebp - 4], 0x2b
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
push 0x20a
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x2c
push eax
call fcn.00499e80
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x258]
lea edi, [eax*2 + 2]
push edi
call fcn.0040dc20
add esp, 0x10
test al, al
je 0x404d4a
mov esi, dword [ebp - 0x258]
test esi, esi
je 0x404d4a
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x404b78
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x254], 0
push 0
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x254], eax
test eax, eax
je 0x404d4a
push edi
push 0
push eax
call fcn.00499e80
sub esp, 0xc
lea eax, [ebp - 0x27c]
mov ecx, esp
mov dword [ebp - 0x2e4], esp
push eax
call fcn.00407810
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x2c
call fcn.0040dba0
add esp, 0x18
test al, al
je 0x404d4a
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404be0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00401ed0
cmp dword [ebp - 0x23c], 0
je 0x404d4a
push str..FROM_HAOZIPEXT_2.
lea ecx, [ebp - 0x2c4]
call fcn.00401e00
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x3a
push ecx
mov edx, eax
lea ecx, [ebp - 0x2ac]
call fcn.00408650
add esp, 4
push eax
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x3b
call fcn.00407770
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x3c
call fcn.00401e60
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x40
call fcn.00401e60
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x2c
call fcn.0040d6b0
mov byte [ebp - 4], 0x44
cmp dword [ebp - 0x284], 0
je 0x404dcb
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
xorps xmm0, xmm0
mov dword [ebp - 0x32c], 0x3c
cmovae eax, dword [ebp - 0x294]
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x32c]
push eax
mov dword [ebp - 0x328], 0x440
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], str.open
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
movups xmmword [ebp - 0x30c], xmm0
mov dword [ebp - 0x2f4], 0
movq qword [ebp - 0x2fc], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404dcb
mov eax, dword [ebp - 0x2f4]
test eax, eax
jne 0x404db8
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x45
call fcn.00401e60
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x49
call fcn.00401e60
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x1f
call fcn.0041ac00
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x4d
call fcn.00401e60
mov byte [ebp - 4], 0x51
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x404e6c
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404e62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404ee7
jmp 0x404e62
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
lea ecx, [ebp - 0x2d4]
call fcn.0040f6c2
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x55
call fcn.00401e60
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x59
call fcn.00401e60
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x1f
call fcn.0041ac00
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x5d
call fcn.00401e60
mov byte [ebp - 4], 0x61
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x404e45
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404e3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404eec
push edx
push ecx
call fcn.00497076
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
jmp 0x404e87
push edx
push ecx
call fcn.00497076
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 2
call fcn.00407dd0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 1
call fcn.00407dd0
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.0041ac00
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f678
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496c8f
mov esp, ebp
pop ebp
ret 4
call fcn.0049c1ce
call fcn.0049c1ce
int3