Function at 0x46cdc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573e51
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5ebea4]
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 [0x5f3200], edi
je 0x46ce22
mov dword [ebp - 0x64], 0x800
cmp dword [ebp - 0x14], edi
je 0x46ce29
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 0x46d207
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
cdq
add eax, dword [ebp - 0x44]
adc edx, 0
cmp edx, dword [ebp - 0x64]
ja 0x46d207
jb 0x46ce9a
test eax, eax
jne 0x46d207
cmp dword [ebp - 0x38], 0x40000
jne 0x46d1df
cmp dword [ebp - 0xbc], ecx
je 0x46d1c7
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.00462080
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.00455120
lea ecx, [ebp - 0x2c]
call fcn.0046c6e0
cmp dword [ebp - 0x1c], 0
je 0x46d04d
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 0x46cf40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.0044a910
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 0x46cf90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x98]
call fcn.0044a910
mov edx, dword [ebp - 0x88]
or edi, 2
mov dword [ebp - 0x58], edi
cmp edx, dword [ebp - 0x70]
ja 0x46d04d
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.00553462
add esp, 0xc
test eax, eax
jne 0x46d04d
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 0x46d047
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 0x46d047
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 0x46d05f
mov byte [ebp - 0x51], 1
jmp 0x46d063
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 0x46d0ca
and eax, 0xfffffffd
mov dword [ebp - 0x58], eax
cmp edi, 8
jb 0x46d0ad
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46d09a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d228
push ecx
push edx
call fcn.0052f5d6
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 0x46d123
and eax, 0xfffffffe
mov dword [ebp - 0x58], eax
cmp esi, 8
jb 0x46d10f
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x46d105
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d228
push esi
push ecx
call fcn.0052f5d6
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 0x46d184
push 0
push 0
push dword [ebp - 0x50]
push 0x5dde14
push dword [0x5f31ec]
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 0x46d17a
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 0x46d1c1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d1b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d228
push edx
push ecx
call fcn.0052f5d6
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 0x46d207
jb 0x46ce63
test esi, esi
jb 0x46ce63
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
int3