Function at 0x47c980
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create process suspended
Create thread
Move file
Persist via application shimming
Resume thread
Suspend thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x5e286b
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x66f040]
xor eax, esp
mov dword [esp + 0x354], eax
push esi
push edi
mov eax, dword [0x66f040]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47c9dc
mov eax, 1
jmp 0x47d648
mov ecx, dword [0x6803c0]
call fcn.004940f0
mov ecx, dword [0x6803f0]
mov dword [esp + 0x10], eax
call fcn.004940f0
mov esi, eax
xor esi, dword [ebp + 8]
call fcn.004aa5ff
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47ca17
push 0x80004005
call fcn.00460d60
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x370], 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x78], xmm0
movdqu xmmword [esp + 0x68], xmm0
cmp esi, 0x5d9507e
jne 0x47cbc1
push 0
push 4
push 0
push 0
push 0
push 0x4839b0
call fcn.004ae912
mov dword [edi + 0x2cc], eax
test eax, eax
jne 0x47caaa
push 0xf
push 0x64c420
lea ecx, [esp + 0x14]
call fcn.00460130
mov eax, dword [esp + 0x10]
mov ecx, edi
push 0x10
add eax, 0x18
push eax
push dword [esp + 0x14]
call fcn.004a5003
lea ecx, [esp + 0xc]
call fcn.004609a0
mov ecx, edi
call fcn.0047be60
mov esi, 1
jmp 0x47d61d
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xc
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0
push eax
xorps xmm0, xmm0
push 0
movq qword [esp + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov eax, dword [0x680440]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
add ecx, edx
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x680440]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [0x680424]
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x680424]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [0x68041c]
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x68041c]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [0x680414]
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x680414]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
jbe 0x47d61b
jmp 0x47ccd5
cmp esi, 0x5f693dd
jne 0x47cbe8
push 0
push 4
push 0
push 0
push 0
push 0x483cb0
call fcn.004ae912
mov dword [edi + 0x2d0], eax
jmp 0x47cd41
cmp esi, 0xc5d8841
jne 0x47cd1f
push 0
push 4
push 0
push 0
push 0
push 0x485370
call fcn.004ae912
mov dword [edi + 0x2d4], eax
test eax, eax
je 0x47cd45
push 0xc
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0
push eax
xorps xmm0, xmm0
push 0
movq qword [esp + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov eax, dword [0x680440]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
add ecx, edx
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x680440]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [0x680424]
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x680424]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [0x68041c]
cmp byte [eax], 0xe9
jne 0x47ccd5
mov edi, dword [0x68041c]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [0x680414]
cmp byte [eax], 0xe9
je 0x47ccf1
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, edi
call fcn.0047be60
mov esi, 0x77d6
jmp 0x47d61d
mov edi, dword [0x680414]
mov eax, dword [eax + 1]
add edi, 5
add eax, edi
mov edi, dword [esp + 0x18]
cmp eax, edx
jb 0x47ccd5
cmp eax, ecx
ja 0x47ccd5
mov eax, dword [edi + 0x2d4]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x47d61b
cmp esi, 0x23b89c1
jne 0x47cd82
push 0
push 4
push 0
push 0
push 0
push 0x485670
call fcn.004ae912
mov dword [edi + 0x2d8], eax
test eax, eax
jne 0x47cd11
push 0x64c440
lea ecx, [esp + 0x10]
call fcn.00464130
mov eax, dword [esp + 0x10]
mov ecx, edi
push 0x10
add eax, 0x18
push eax
push dword [esp + 0x14]
call fcn.004a5003
lea ecx, [esp + 0xc]
call fcn.004609a0
mov ecx, edi
call fcn.0047be60
mov esi, 3
jmp 0x47d61d
cmp esi, 0x3f0e3781
jne 0x47d1fb
push 0
push 0
push 0
push 0x464970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.0048bff0
mov ecx, dword [0x680408]
call fcn.004940f0
mov ecx, dword [0x6803fc]
mov esi, eax
call fcn.004940f0
test esi, esi
je 0x47d117
test eax, eax
je 0x47d117
cmp esi, eax
je 0x47cdee
mov ecx, edi
call fcn.0047be60
mov esi, 0x77d6
jmp 0x47d61d
mov ecx, dword [0x680404]
call fcn.004940f0
mov ecx, dword [0x6803f8]
mov esi, eax
call fcn.004940f0
test esi, esi
je 0x47d117
test eax, eax
je 0x47d117
cmp esi, 2
jb 0x47d117
cmp eax, 2
jb 0x47d117
cmp esi, eax
je 0x47ce3d
mov ecx, edi
call fcn.0047be60
mov esi, 0x77d6
jmp 0x47d61d
mov ecx, dword [0x680400]
call fcn.004940f0
mov ecx, dword [0x6803f4]
mov esi, eax
call fcn.004940f0
test esi, esi
je 0x47d117
test eax, eax
je 0x47d117
cmp esi, eax
je 0x47ce7a
mov ecx, edi
call fcn.0047be60
mov esi, 0x77d6
jmp 0x47d61d
xor eax, eax
push 0x206
push eax
mov word [esp + 0x15c], ax
lea eax, [esp + 0x15e]
push eax
call fcn.005c7c50
add esp, 0xc
lea eax, [esp + 0x154]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x30
lea eax, [esp + 0xd8]
push 0
push eax
call fcn.005c7c50
add esp, 0xc
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x158]
push eax
call fcn.005c4d35
add esp, 8
test eax, eax
jne 0x47cefd
cmp dword [esp + 0xe8], 0x6c5660
jl 0x47cefd
mov ecx, edi
call fcn.0047be60
mov esi, 0x77d6
jmp 0x47d61d
mov edx, dword [0x680dc8]
xor al, al
mov ecx, dword [0x680dc4]
mov esi, 1
sub edx, ecx
movzx eax, al
sar edx, 2
test edx, edx
cmove eax, esi
xor esi, esi
mov dword [esp + 0x10], eax
test edx, edx
je 0x47d113
mov edi, edx
lea ecx, [ecx]
lea eax, [esp + 0x14]
push eax
push dword [ecx + esi*4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x47d078
cmp dword [esp + 0x14], 0x103
jne 0x47d00a
mov eax, dword [0x680dc4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
je 0x47cff7
movdqa xmm0, xmmword [0x64e5f0]
lea eax, [esp + 0xa4]
push 0xffffffffffffffff
push 0x649256
push 0x649256
push eax
push 0x35
lea eax, [esp + 0x9c]
mov byte [esp + 0x24], 1
push 0x4d
push eax
mov dword [esp + 0xa4], 0x73736463
mov word [esp + 0xa8], 0x6473
mov byte [esp + 0xaa], 0
movdqu xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xd0], 0x646e6570
mov byte [esp + 0xd4], 0
call fcn.00462b80
add esp, 0x1c
call fcn.0046bc20
lea ecx, [ecx]
mov eax, dword [0x680dc4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x47cfe0
jmp 0x47d0fb
mov eax, dword [0x680dc4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x47d0fb
movdqa xmm0, xmmword [0x64e550]
lea eax, [esp + 0xa4]
push 0xffffffffffffffff
push 0x649256
push 0x649256
push eax
mov dword [esp + 0xa4], 0x73736463
lea eax, [esp + 0xa4]
mov word [esp + 0xa8], 0x6473
mov byte [esp + 0xaa], 0
movdqu xmmword [esp + 0xb4], xmm0
mov dword [esp + 0xc4], 0x726f2070
mov dword [esp + 0xc8], 0x6e614320
mov dword [esp + 0xcc], 0x6c6563
push 0x36
jmp 0x47d0e6
movdqa xmm0, xmmword [0x64e5c0]
lea eax, [esp + 0xa4]
push 0xffffffffffffffff
push 0x649256
push 0x649256
movdqu xmmword [esp + 0xb0], xmm0
push eax
movdqa xmm0, xmmword [0x64e2f0]
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0x73736463
mov word [esp + 0xb0], 0x6473
mov byte [esp + 0xb2], 0
movdqu xmmword [esp + 0xc4], xmm0
mov word [esp + 0xd4], 0x6574
mov byte [esp + 0xd6], 0
push 0x37
push 0x4d
push eax
mov byte [esp + 0x2c], 1
call fcn.00462b80
add esp, 0x1c
call fcn.0046bc20
inc esi
cmp esi, edi
jae 0x47d10b
mov ecx, dword [0x680dc4]
jmp 0x47cf30
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp al, 1
jne 0x47d128
mov ecx, edi
call fcn.0047be60
mov esi, 0x77d6
jmp 0x47d61d
call fcn.0046bc20
push 2
mov ecx, edi
call fcn.004a99e6
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x78]
push ecx
push dword [eax + 0x20]
call esi
push 1
mov ecx, edi
call fcn.004a99e6
lea ecx, [esp + 0x68]
push ecx
push dword [eax + 0x20]
call esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x47d17f
push 0
push 2
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 1
push 1
mov ecx, edi
call fcn.004a99e6
mov ecx, eax
call fcn.004aa2a0
push 0x64c45c
push 0x6809e8
call fcn.00463930
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 8
push 0
push dword [0x680bfc]
push 0x4c9
push dword [0x680c00]
call esi
push 0
push dword [0x680bf4]
push 0x4ca
push dword [0x680c00]
call esi
push 0
push 0
mov ecx, edi
call fcn.0047c500
push 0
push 0
push 0x4c8
push dword [0x680c00]
call esi
mov byte [edi + 0x1a9], 0
jmp 0x47d61b
cmp esi, 0x42
jne 0x47d60c
xor eax, eax
push 0x3e
push eax
mov word [esp + 0x11c], ax
lea eax, [esp + 0x11e]
push eax
call fcn.005c7c50
add esp, 0xc
xor eax, eax
mov word [esp + 0xd4], ax
push 0x3e
push eax
lea eax, [esp + 0xde]
push eax
call fcn.005c7c50
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, dword [0x680dd0]
xor esi, esi
mov dword [esp + 0x94], ecx
mov ecx, dword [0x680dd4]
sub ecx, eax
mov dword [esp + 0x88], eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x47d5ea
mov edi, dword [esp + 0x88]
xor eax, eax
mov dword [esp + 0x9c], eax
lea esp, [esp]
lea ecx, [eax + 4]
lea ecx, [ecx + edi]
call fcn.00494b10
mov ecx, dword [esp + 0x9c]
cmp eax, 1
jne 0x47d2b0
lea eax, [ecx + edi]
mov dword [esp + 0x14], eax
jmp 0x47d2b9
cmp eax, 2
lea eax, [ecx + edi]
cmove esi, eax
mov edi, dword [0x680dd0]
add ecx, 0x230
inc dword [esp + 0x94]
mov eax, 0xea0ea0eb
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x680dd4]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
jb 0x47d290
mov edi, dword [esp + 0x18]
test esi, esi
je 0x47d3d5
lea eax, [esi + 4]
mov ecx, eax
mov dword [esp + 0x94], eax
call fcn.0045fd20
mov esi, dword [esp + 0x10]
test eax, eax
je 0x47d3d9
push str..old
lea eax, [esi + 0x51b]
push eax
lea eax, [esp + 0xdc]
push 0x64bbdc
push eax
call fcn.0048d110
lea eax, [esp + 0xe4]
push eax
call fcn.005c5224
add esp, 0x14
lea eax, [esp + 0xd4]
push 0
push eax
call fcn.005c5252
add esp, 8
mov dword [esp + 0x88], eax
test eax, eax
je 0x47d3a9
cmp eax, 2
je 0x47d3a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x88]
mov ecx, 0x64c474
push eax
call fcn.00485fd0
add esp, 4
lea eax, [esi + 0x18]
push 0x30
push eax
push 0x64c488
push dword [0x680c00]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0xd4]
push eax
lea eax, [esi + 0x51b]
push eax
call fcn.005c51af
lea eax, [esi + 0x51b]
push eax
push dword [esp + 0xa0]
call fcn.005c51af
add esp, 0x10
jmp 0x47d3d9
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47d5ea
add eax, 4
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.0045fd20
test eax, eax
je 0x47d5dd
push str..old
push 0x6809a8
lea eax, [esp + 0xdc]
push 0x64bbdc
push eax
call fcn.0048d110
lea eax, [esp + 0xe4]
push eax
call fcn.005c5224
add esp, 0x14
lea eax, [esp + 0xd4]
push 0
push eax
call fcn.005c5252
add esp, 8
mov dword [esp + 0x88], eax
test eax, eax
je 0x47d474
cmp eax, 2
je 0x47d474
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x88]
mov ecx, 0x64c474
push eax
call fcn.00485fd0
add esp, 4
lea eax, [esi + 0x18]
push 0x30
push eax
push 0x64c4f8
jmp 0x47d5f9
push 0x680968
push 0x6809a8
lea eax, [esp + 0x11c]
push 0x64bbdc
push eax
call fcn.0048d110
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x128]
push eax
call fcn.005c51af
add esp, 0x18
test eax, eax
je 0x47d4d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 9
mov ecx, 0x64c474
call fcn.00485fd0
add esp, 4
lea eax, [esi + 0x18]
push 0x30
push eax
push 0x64c558
jmp 0x47d5f9
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x18]
call fcn.005c51af
add esp, 8
test eax, eax
je 0x47d516
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 0xa
mov ecx, 0x64c474
call fcn.00485fd0
add esp, 4
lea eax, [esi + 0x18]
push 0x30
push eax
push str.veQhV
jmp 0x47d5f9
push 0x44
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push 0
push eax
movdqa xmmword [esp + 0xb0], xmm0
call fcn.005c7c50
add esp, 0xc
mov dword [esp + 0x1c], 0x44
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47d5b7
mov eax, dword [0x680dd0]
push dword [0x6803a8]
mov dword [0x680dd4], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x6803a8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0xa8]
mov dword [0x6803a8], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esp + 0xa4]
call esi
push dword [esp + 0xa8]
call esi
jmp 0x47d614
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 0xb
mov ecx, 0x64c618
call fcn.00485fd0
add esp, 4
lea eax, [esi + 0x18]
push 0x30
push eax
push 0x64c630
jmp 0x47d5f9
push 0x30
lea eax, [esi + 0x18]
push eax
push 0x64c688
jmp 0x47d5f9
mov eax, dword [esp + 0x10]
push 0x30
add eax, 0x18
push eax
push 0x64c6e0
push dword [0x680c00]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 1
jmp 0x47d61d
cmp esi, 0x4fffffff
jne 0x47d61b
mov ecx, edi
call fcn.0047be60
xor esi, esi
mov dword [esp + 0x370], 0xffffffff
or ecx, 0xffffffff
mov edi, dword [esp + 0xc]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47d646
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x354]
xor ecx, esp
call fcn.005c02df
mov esp, ebp
pop ebp
ret 8