Function at 0x46a4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571031
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5e8ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], edx
mov eax, ecx
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x14]
xor edi, edi
push ecx
mov dword [ebp - 0x68], edi
push eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x5f01ac], edi
je 0x46a542
mov dword [ebp - 0x64], 0x800
cmp dword [ebp - 0x14], edi
je 0x46a549
mov dword [ebp - 0x64], 1
xorps xmm0, xmm0
mov dword [ebp - 0x38], edi
xor eax, eax
movlpd qword [ebp - 0x34], xmm0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x30]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x9c], eax
movq qword [ebp - 0x40], xmm0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x60], esi
movq qword [ebp - 0xb0], xmm0
push 0x1c
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x46a927
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
cdq
add eax, dword [ebp - 0x44]
adc edx, 0
cmp edx, dword [ebp - 0x64]
ja 0x46a927
jb 0x46a5ba
test eax, eax
jne 0x46a927
cmp dword [ebp - 0x38], 0x40000
jne 0x46a8ff
cmp dword [ebp - 0xbc], ecx
je 0x46a8e7
xor eax, eax
mov dword [ebp - 0x1c], 0
push eax
push 0x104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0045f930
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 0
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004530f0
lea ecx, [ebp - 0x2c]
call fcn.00469e00
cmp dword [ebp - 0x1c], 0
je 0x46a76d
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x70], 0
cmovae edx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a660
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.0044a890
mov esi, dword [ebp - 0xa4]
or edi, 1
mov ecx, esi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a6b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x98]
call fcn.0044a890
mov edx, dword [ebp - 0x88]
or edi, 2
mov dword [ebp - 0x58], edi
cmp edx, dword [ebp - 0x70]
ja 0x46a76d
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x80]
push edx
cmovae ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
push ecx
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.00550962
add esp, 0xc
test eax, eax
jne 0x46a76d
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x70]
je 0x46a767
mov esi, dword [ebp - 0x88]
lea eax, [ebp - 0x98]
cmp edi, 8
cmovae eax, edx
add esi, esi
mov dword [ebp - 0x68], esi
cmp word [eax + esi - 2], 0x5c
mov esi, dword [ebp - 0x6c]
je 0x46a767
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x80]
cmp esi, 8
cmovae eax, ecx
cmp word [eax + edi], 0x5c
mov edi, dword [ebp - 0x84]
jne 0x46a77f
mov byte [ebp - 0x51], 1
jmp 0x46a783
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x98]
mov byte [ebp - 0x51], 0
mov eax, dword [ebp - 0x58]
test al, 2
je 0x46a7ea
and eax, 0xfffffffd
mov dword [ebp - 0x58], eax
cmp edi, 8
jb 0x46a7cd
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46a7ba
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a948
push ecx
push edx
call fcn.0052cac7
mov esi, dword [ebp - 0x6c]
add esp, 8
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], dx
mov dword [ebp - 4], 0
test al, 1
je 0x46a843
and eax, 0xfffffffe
mov dword [ebp - 0x58], eax
cmp esi, 8
jb 0x46a82f
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x46a825
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a948
push esi
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp byte [ebp - 0x51], 0
je 0x46a8a4
push 0
push 0
push dword [ebp - 0x50]
push 0x5dabcc
push dword [0x5f0198]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push 0
push 0
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x46a89a
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa0], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x46a8e1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a8d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a948
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x58]
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [ebp - 0xb0], xmm0
add esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x9c]
adc eax, 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x9c], eax
cmp eax, dword [ebp - 0x64]
ja 0x46a927
jb 0x46a583
test esi, esi
jb 0x46a583
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
int3