Function at 0x4253f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x11c], 0
mov eax, dword [0x462ec0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x425469
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x425442
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x425456
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 8], ecx
jne 0x425456
jmp 0x425628
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x425420
cmp dword [ebp - 0xc], 0
je 0x42547e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x42548e
push 0x12c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x425628
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0
call fcn.00452990
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], ecx
cmp dword [ebp + 8], 0x78
jbe 0x4254d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
sub eax, 0x78
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
lea edi, [ebp - 0x118]
xor eax, eax
mov ecx, 0x42
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [ecx - 1]
cmp eax, 0xfa
jbe 0x42551a
lea edi, [ebp - 0x118]
mov esi, dword [ebp + 0x14]
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x425572
mov eax, dword [ebp + 0x14]
movsx eax, byte [eax]
test eax, eax
je 0x425555
mov edi, dword [ebp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
lea edi, [ebp - 0x118]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x425572
mov eax, dword [ebp + 0xc]
push eax
push str.Process__d
push 0x108
lea eax, [ebp - 0x118]
push eax
call fcn.00452660
add esp, 0x10
lea edi, [ebp - 0x118]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp - 4]
add edi, 0x18
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x11c]
lea eax, [ebp + eax - 0x118]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00425032
add esp, 0x10
mov eax, dword [ebp - 4]
mov dword [eax + 4], 1
cmp dword [ebp - 0xc], 0
jne 0x425628
cmp dword [ebp - 8], 0
je 0x4255ea
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x425628
mov eax, dword [ebp - 4]
mov dword [0x462ec0], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x42562d
push 0x4000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x425628
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._r_nPAK_CTW_FAIL_d
call fcn.00452380
add esp, 8
pop edi
pop esi
pop ebx
leave
ret