Function at 0x408230
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441f40
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00415860
mov word [ebp - 0x60], 0x9090
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4082be
mov edi, dword [esi + 0x88]
mov esi, dword [esi + 0x8c]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x64], 0x909090c3
jmp 0x4082ce
mov eax, dword [esi + 0x74]
mov edi, dword [esi + 0x70]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], 0x900008c2
lea eax, [ebp - 0x5e]
mov dword [ebp - 0x6c], edi
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040d260
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 0x65], 0
call esi
mov dword [ebp - 0x74], eax
call esi
sub eax, dword [ebp - 0x74]
cmp eax, 0xbb8
mov eax, dword [ebp - 0x1c]
ja 0x408586
mov esi, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 0x64], esi
jmp 0x408310
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x5c]
cmp ax, 6
je 0x408331
cmp ax, 9
jne 0x40838f
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov eax, dword [0x459d4c]
test eax, eax
jne 0x40835c
push str.IsWow64Process
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x459d4c], eax
test eax, eax
je 0x40838f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push ecx
push ebx
call eax
test eax, eax
je 0x40838f
xor eax, eax
cmp dword [ebp - 0x28], eax
sete al
test eax, eax
je 0x40838f
lea eax, [ebp - 0x2c]
push eax
push ecx
push dword [ebp - 0x70]
mov ecx, ebx
push edi
call fcn.00417cc0
add esp, 0x10
jmp 0x40839f
lea eax, [ebp - 0x2c]
push eax
push 0x40
push 0x20
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x5c]
cmp ax, 6
je 0x4083b9
cmp ax, 9
jne 0x408417
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov eax, dword [0x459d4c]
test eax, eax
jne 0x4083e4
push str.IsWow64Process
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x459d4c], eax
test eax, eax
je 0x408417
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push ebx
call eax
test eax, eax
je 0x408417
xor eax, eax
cmp dword [ebp - 0x20], eax
sete al
test eax, eax
je 0x408417
mov edx, dword [ebp - 0x1c]
push ecx
push esi
push dword [ebp - 0x70]
mov ecx, ebx
push edi
call fcn.00417e90
add esp, 0x10
jmp 0x408425
push 0
push esi
push dword [ebp - 0x1c]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push esi
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.0040ad60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
sub esi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x5c]
cmp ax, 6
je 0x408463
cmp ax, 9
jne 0x4084c2
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov eax, dword [0x459d4c]
test eax, eax
jne 0x40848e
push str.IsWow64Process
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x459d4c], eax
test eax, eax
je 0x4084c2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push ebx
call eax
test eax, eax
je 0x4084c2
xor eax, eax
cmp dword [ebp - 0x24], eax
sete al
test eax, eax
je 0x4084c2
push ecx
push esi
push dword [ebp - 0x70]
mov edx, edi
mov ecx, ebx
push dword [ebp - 0x6c]
call fcn.00417db0
add esp, 0x10
jmp 0x4084d0
push 0
push esi
push edi
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x64]
cmp eax, esi
jne 0x408526
mov ecx, dword [ebp - 0x1c]
mov esi, eax
mov edx, edi
sub esi, 4
jb 0x4084f4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4084f9
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4084e3
cmp esi, 0xfffffffc
je 0x40856f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x408526
cmp esi, 0xfffffffd
je 0x40856f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x408526
cmp esi, 0xfffffffe
je 0x40856f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x408526
cmp esi, 0xffffffff
je 0x40856f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40856f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0
test edi, edi
je 0x408554
push edi
call fcn.00419d5c
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x74]
cmp eax, 0xbb8
ja 0x408583
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
jmp 0x408310
mov bl, 1
test edi, edi
je 0x40857e
push edi
call fcn.00419d5c
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x408589
mov eax, dword [ebp - 0x1c]
mov bl, byte [ebp - 0x65]
test eax, eax
je 0x408596
push eax
call fcn.00419d5c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret 8