Function at 0x473c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cba1
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5f6ea4]
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 [0x5ff9ac], edi
je 0x473cf2
mov dword [ebp - 0x64], 0x800
cmp dword [ebp - 0x14], edi
je 0x473cf9
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 0x4740d7
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
cdq
add eax, dword [ebp - 0x44]
adc edx, 0
cmp edx, dword [ebp - 0x64]
ja 0x4740d7
jb 0x473d6a
test eax, eax
jne 0x4740d7
cmp dword [ebp - 0x38], 0x40000
jne 0x4740af
cmp dword [ebp - 0xbc], ecx
je 0x474097
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.004695d0
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.00456360
lea ecx, [ebp - 0x2c]
call fcn.004735b0
cmp dword [ebp - 0x1c], 0
je 0x473f1d
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 0x473e10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.0044b740
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 0x473e60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x98]
call fcn.0044b740
mov edx, dword [ebp - 0x88]
or edi, 2
mov dword [ebp - 0x58], edi
cmp edx, dword [ebp - 0x70]
ja 0x473f1d
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.0055eac2
add esp, 0xc
test eax, eax
jne 0x473f1d
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 0x473f17
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 0x473f17
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 0x473f2f
mov byte [ebp - 0x51], 1
jmp 0x473f33
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 0x473f9a
and eax, 0xfffffffd
mov dword [ebp - 0x58], eax
cmp edi, 8
jb 0x473f7d
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x473f6a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4740f8
push ecx
push edx
call fcn.00536da7
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 0x473ff3
and eax, 0xfffffffe
mov dword [ebp - 0x58], eax
cmp esi, 8
jb 0x473fdf
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x473fd5
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4740f8
push esi
push ecx
call fcn.00536da7
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 0x474054
push 0
push 0
push dword [ebp - 0x50]
push 0x5e7648
push dword [0x5ff998]
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 0x47404a
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 0x474091
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474087
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4740f8
push edx
push ecx
call fcn.00536da7
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 0x4740d7
jb 0x473d33
test esi, esi
jb 0x473d33
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.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
int3