Function at 0x40d8ad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x6ac]
xor edx, edx
inc edx
mov dword [eax + 0x31c], edx
mov eax, dword [edi + 0x74c]
xor esi, esi
cmp dword [eax + 0x510], esi
je 0x40d8f8
cmp dword [ebx + 0x53c], edx
ja 0x40db8d
cmp dword [ebx + 0x538], edx
ja 0x40db8d
cmp dword [eax + 0x1b68], esi
je 0x40d935
mov ecx, dword [ebx + 0x574]
cmp ecx, edx
jne 0x40d923
cmp dword [eax + 0x300], esi
je 0x40d919
add eax, 0x304
jmp 0x40d92e
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x40d935
cmp ecx, 3
jne 0x40d935
lea eax, [ebx + 0x578]
push eax
push edi
call fcn.0040b258
mov eax, dword [edi + 0x74c]
cmp dword [eax + 0x1b6c], esi
je 0x40da31
cmp dword [eax + 0x1b70], esi
je 0x40da31
cmp dword [ebx + 0x784], 1
jne 0x40da31
push 0x7fe
lea eax, [esp + 0x336]
push esi
push eax
mov word [esp + 0x33c], si
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x7e
lea eax, [esp + 0x36]
push esi
push eax
mov word [esp + 0x3c], si
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x7e
lea eax, [esp + 0xb6]
push esi
push eax
mov word [esp + 0xbc], si
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea eax, [ebx + 0x10]
push 0x2d
push eax
call fcn.00407407
add esp, 0xc
push dword [ebx + 0x18]
lea eax, [esp + 0xb4]
push eax
call fcn.0040727b
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x328]
push eax
add ebx, 0x11c
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xc8]
push eax
push str._s_r_n_s_r_n_s_r_n_s_r_n_s
lea eax, [esp + 0x350]
push 0x3ff
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x28
push 9
pop ebx
call fcn.00407b21
mov esi, dword [edi + 0x724]
push eax
lea eax, [esp + 0x334]
push eax
lea eax, [edi + 0x70c]
call fcn.004119b4
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, dword [edi + 0x74c]
cmp dword [edi + 0x514], esi
je 0x40db8d
add edi, 0x518
push edi
lea edi, [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], 0x100
mov dword [esp + 0x18], esi
call fcn.00406a00
lea eax, [ebx + 0x1c]
push eax
push str._device_name_
mov eax, edi
push eax
call fcn.0040d596
lea eax, [ebx + 0x328]
push eax
push str._user_text_
mov eax, edi
push eax
call fcn.0040d596
lea eax, [ebx + 0x11c]
push eax
push str._adapter_company_
mov eax, edi
push eax
call fcn.0040d596
push 0x1fc
lea eax, [esp + 0x136]
push esi
push eax
mov word [esp + 0x13c], si
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea esi, [esp + 0x134]
call fcn.00402493
mov eax, esi
push eax
push str._mac_addr_
mov eax, edi
push eax
call fcn.0040d596
push dword [ebx + 0x18]
mov eax, esi
push eax
call fcn.0040727b
pop ecx
pop ecx
mov eax, esi
push eax
push str._ip_addr_
mov eax, edi
push eax
call fcn.0040d596
push 0xa
mov eax, esi
push eax
push dword [ebx + 0x538]
call sub.msvcrt.dll__ultow
add esp, 0xc
mov eax, esi
push eax
push str._detect_count_
mov eax, edi
push eax
call fcn.0040d596
push 0x40
xor esi, esi
lea eax, [esp + 0x38]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x20], esi
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x30], 0x44
mov eax, dword [esp + 0xc]
cmp eax, esi
mov word [esp + 0x60], 5
jne 0x40db5a
mov eax, 0x4134d0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [esp + 0x24]
call esi
lea esi, [esp + 0xc]
call fcn.004069db
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4