joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab23c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ab386
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004aa638
xor eax, eax
push ebp
push 0x4ab369
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4ab2a1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4ab2a1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4ab353
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4ab2b4
call fcn.004036e4
jmp 0x4ab370
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4ab353
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4ab353
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403088
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4ab353
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bbdc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4ab3a0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x53d270]
mov dl, 1
mov eax, dword [0x4a92ec]
call fcn.0040c514
call fcn.00403644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab370
mov eax, dword [ebp - 4]
call fcn.004aa644
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab38d
lea eax, [ebp - 0x28]
call fcn.00403bf8
ret
Function at 0x4b01e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4b0212
mov eax, ebx
call fcn.004b0c88
cmp dword [ebx + 0x3c], 0
je 0x4b020b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4b0283
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4b0275
cmp dword [ebx + 8], 0
je 0x4b0234
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4b0246
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b0275
cmp dword [ebx + 8], 0
je 0x4b0227
cmp eax, 3
je 0x4b0259
dec eax
jne 0x4b0227
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b0227
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4b0227
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4b02a1
cmp dword [ebx + 0x10], 0xcc
je 0x4b02a1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b02ac
pop ebx
ret

Function at 0x4c0c2c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402b8c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4c96a8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040402c
xor eax, eax
push ebp
push 0x4c9866
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x4c987c
lea edx, [ebp - 0x16c]
mov eax, ebx
call fcn.00408ff0
push dword [ebp - 0x16c]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403f38
mov edx, dword [ebp - 8]
mov eax, dword [0x53eef4]
call fcn.004acdf0
test eax, eax
jl 0x4c972d
mov edx, eax
mov eax, dword [0x53eef4]
call fcn.004acd88
mov ebx, eax
mov ebx, dword [ebx + 4]
jmp 0x4c983b
push 0x111
push 0x160
lea eax, [ebp - 0x168]
push eax
push ebx
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 4]
mov edx, 0x4c9888
call fcn.00403ec4
mov eax, dword [ebp - 0x170]
call fcn.0040403c
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4c9802
mov eax, dword [ebp - 0x168]
call fcn.004c9674
mov ebx, eax
test ebx, ebx
je 0x4c9784
mov ebx, dword [ebx + 4]
jmp 0x4c983b
mov dl, 1
mov eax, dword [0x41ac34]
call fcn.004227f4
mov ebx, eax
mov edx, dword [ebp - 0x168]
mov eax, ebx
call fcn.00422bc4
mov eax, dword [0x50f6a4]
mov eax, dword [eax + 0x2f4]
mov edx, ebx
call fcn.0043fc68
mov eax, ebx
call fcn.00402eac
mov edx, dword [0x4c962c]
mov eax, 0xc
call fcn.00404a7c
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00403c4c
mov eax, dword [0x50f6a4]
mov eax, dword [eax + 0x2f4]
call fcn.0043fcb4
dec eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x168]
mov dword [ebx + 8], eax
mov edx, ebx
mov eax, dword [0x53eef4]
call fcn.004acd9c
mov ebx, dword [ebx + 4]
jmp 0x4c983b
mov edx, dword [0x4c962c]
mov eax, 0xc
call fcn.00404a7c
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00403c4c
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 8], 0xffffffff
mov edx, ebx
mov eax, dword [0x53eef4]
call fcn.004acd9c
mov ebx, dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c986d
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.00403c1c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c1c
ret

Function at 0x4c9cb4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0
push 0x10
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x4c9ce1
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403e28
jmp 0x4c9ce8
mov eax, ebx
call fcn.00403bf8
add esp, 0x108
pop ebx
ret
Function at 0x4d1110
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040402c
xor eax, eax
push ebp
push 0x4d1273
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
mov esi, 0x4d1284
lea edi, [ebp - 0x54]
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
mov edi, 0xe
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov eax, ebx
cdq
idiv edi
mov al, byte [ebp + edx - 0x54]
mov byte [ecx], al
inc ebx
inc ecx
cmp ebx, 0x40
jne 0x4d1159
mov ebx, 0x40
lea edi, [ebp - 0x44]
mov al, byte [edi]
mov edx, eax
shl edx, 4
and eax, 0xff
shr eax, 4
or dl, al
mov byte [edi], dl
inc edi
dec ebx
jne 0x4d1173
mov ebx, 0x3f
lea eax, [ebp - 0x43]
mov dl, byte [eax]
xor dl, byte [eax - 1]
add dl, 0x17
mov byte [eax], dl
inc eax
dec ebx
jne 0x4d1192
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor al, byte [ebp - 0x44]
mov edx, dword [ebp - 4]
add al, byte [edx + 0xb]
mov edx, dword [ebp - 4]
mov byte [edx], al
mov ebx, 1
lea eax, [ebp - 0x43]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
xor dl, byte [eax]
mov ecx, dword [ebp - 4]
add dl, byte [ecx + ebx - 1]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
inc eax
cmp ebx, 0xc
jne 0x4d11bb
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor al, byte [ebp - 0x44]
mov edx, dword [ebp - 4]
add al, byte [edx + 0xb]
mov edx, dword [ebp - 4]
mov byte [edx], al
mov ebx, 1
lea eax, [ebp - 0x43]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
xor dl, byte [eax]
mov ecx, dword [ebp - 4]
add dl, byte [ecx + ebx - 1]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
inc eax
cmp ebx, 0xc
jne 0x4d11f2
mov eax, esi
call fcn.00403bf8
xor ebx, ebx
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
call fcn.004d10ec
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.00403da0
mov edx, dword [ebp - 0x58]
mov eax, esi
call fcn.00403e80
inc ebx
cmp ebx, 0xc
jne 0x4d1217
lea edx, [ebp - 0x5c]
mov eax, dword [esi]
call fcn.00408ac4
mov edx, dword [ebp - 0x5c]
mov eax, esi
call fcn.00403c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d127a
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00403c1c
lea eax, [ebp - 4]
call fcn.00403bf8
ret

Function at 0x4df050
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x4df05f
or edx, 0x200
test eax, 0x20000000
je 0x4df093
test eax, 0x40000000
je 0x4df07e
test eax, 0x80000000
je 0x4df079
or edx, 0x40
jmp 0x4df0ba
or edx, 0x20
jmp 0x4df0ba
test eax, 0x80000000
je 0x4df08d
or edx, 0x80
jmp 0x4df0ba
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x4df0ab
test eax, 0x80000000
je 0x4df0a6
or edx, 4
jmp 0x4df0ba
or edx, 2
jmp 0x4df0ba
test eax, 0x80000000
je 0x4df0b7
or edx, 8
jmp 0x4df0ba
or edx, 1
mov eax, edx
ret
Function at 0x4e2be8
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, 0x53f060
xor eax, eax
push ebp
push 0x4e2d74
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4dedb4]
call fcn.004057f8
add esp, 4
mov eax, dword [ebx]
mov edx, 0x4e2d8c
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 4], 0x53f038
mov eax, dword [ebx]
add eax, 8
mov edx, 0x4e2da0
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0xc], 0x53f03c
mov eax, dword [ebx]
add eax, 0x10
mov edx, 0x4e2db4
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x53f040
mov eax, dword [ebx]
add eax, 0x18
mov edx, 0x4e2dc8
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0x53f044
mov eax, dword [ebx]
add eax, 0x20
mov edx, 0x4e2ddc
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0x24], 0x53f048
mov eax, dword [ebx]
add eax, 0x28
mov edx, 0x4e2df4
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0x53f04c
mov eax, dword [ebx]
add eax, 0x30
mov edx, 0x4e2e0c
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x53f050
mov eax, dword [ebx]
add eax, 0x38
mov edx, 0x4e2e24
call fcn.00403c4c
mov eax, dword [ebx]
mov dword [eax + 0x3c], 0x53f054
lea ecx, [ebp - 0xc]
mov eax, dword [0x53f05c]
mov eax, dword [eax + 4]
mov edx, dword [ebx]
call fcn.004df4c4
lea edx, [ebp - 0xc]
mov eax, 0x53f064
mov ecx, dword [0x4ded94]
call fcn.0040486c
lea edx, [ebp - 0x10]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.004522e4
mov eax, dword [ebp - 0x10]
call fcn.004c43b8
mov dword [0x53c528], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.004522e4
mov eax, dword [ebp - 0x14]
call fcn.0040403c
push eax
call dword [0x53f038]
push 0x53f034
push 0x53c524
call dword [0x53f03c]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2d7b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403c1c
lea eax, [ebp - 0xc]
mov edx, dword [0x4ded94]
call fcn.00404654
ret
Function at 0x4e7ef8
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebx
push esi
add esp, 0xfffffe70
mov dl, 2
mov al, 2
call fcn.004078b0
mov esi, eax
push esp
push esi
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x4e7f22
mov eax, 0x4e7fb4
call fcn.004589d8
jmp 0x4e7fa0
cmp byte [esp], 2
jne 0x4e7f35
mov ax, word [esp]
call fcn.004078d4
cmp al, 2
je 0x4e7f46
call sub.wsock32.dll_WSACleanup
mov eax, 0x4e7fe0
call fcn.004589d8
jmp 0x4e7fa0
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [0x53f17c], eax
cmp dword [0x53f17c], 0
jge 0x4e7f6b
mov eax, 0x4e7ffc
call fcn.004589d8
jmp 0x4e7fa0
call sub.kernel32.dll_GetTickCount
mov edx, dword [0x53ce74]
sub eax, dword [edx]
cmp eax, 0x1f40
jbe 0x4e7f97
push 0
push 0
push 0x10
mov eax, dword [0x53cfb8]
mov eax, dword [eax]
call fcn.00439da0
push eax
call sub.user32.dll_PostMessageA
mov byte [0x53c5a8], 1
mov bl, 1
mov eax, ebx
add esp, 0x190
pop esi
pop ebx
ret
Function at 0x4fe074
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
cmp byte [0x53c7dc], 0
jne 0x4fe1f4
cmp byte [0x53c850], 0
je 0x4fe1f4
cmp byte [0x53c7b0], 0
jne 0x4fe0f4
mov byte [0x53c850], 0
test esi, esi
je 0x4fe20c
push 5
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045189c
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045198c
push 0x43
push 0
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00439da0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4fe20c
mov eax, dword [0x53cb7c]
mov eax, dword [eax]
cmp byte [eax + 0x47], 0
jne 0x4fe20c
push 5
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045189c
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045198c
mov eax, dword [0x53cb7c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xd8]
dec eax
jne 0x4fe1d4
mov eax, dword [0x53ca80]
cmp byte [eax], 0
je 0x4fe1d4
mov eax, dword [0x53cde8]
cmp dword [eax], 1
setge dl
mov eax, dword [ebx + 0x340]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [0x53cde8]
cmp dword [eax], 1
setge dl
mov eax, dword [ebx + 0x434]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [0x53cde8]
cmp dword [eax], 1
setge dl
mov eax, dword [ebx + 0x458]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [0x53cde8]
cmp dword [eax], 1
setge dl
mov eax, dword [0x53cb70]
mov eax, dword [eax]
mov eax, dword [eax + 0x2e0]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [0x53cde8]
cmp dword [eax], 1
setge dl
mov eax, dword [0x53cb70]
mov eax, dword [eax]
mov eax, dword [eax + 0x2e4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x4fe09d
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.004517fc
push 0
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4fe20c
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045189c
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045198c
pop esi
pop ebx
ret

Function at 0x4fe568
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov byte [0x53c850], 0xff
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.0045189c
push 0x87
push 0
push 0
push 0
push 0
push 1
mov eax, ebx
call fcn.00439da0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x503a04
Capabilities:
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x503b29
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa
lea eax, [ebp - 0x103]
push eax
push 0x503b34
call sub.kernel32.dll_ExpandEnvironmentStringsA
lea eax, [ebp - 4]
lea edx, [ebp - 0x103]
mov ecx, 0xfb
call fcn.00403e28
lea eax, [ebp - 4]
call fcn.00465120
lea eax, [ebp - 4]
mov edx, 0x503b44
call fcn.00403e80
lea edx, [ebp - 0x108]
mov eax, dword [0x53cecc]
mov eax, dword [eax]
call fcn.004f53fc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 8]
mov ecx, 0x503b58
call fcn.00403ec4
lea eax, [ebp - 0x10c]
mov edx, dword [0x53c700]
add edx, 0xe0c
mov ecx, pe_nt_image_headers32
call fcn.00403e28
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
mov al, 2
call fcn.004eb554
test al, al
je 0x503afe
mov eax, dword [ebp - 8]
call fcn.004092c8
test al, al
je 0x503add
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005038f4
test eax, eax
je 0x503afe
mov eax, dword [ebp - 8]
call fcn.00409460
push 3
mov eax, dword [ebp - 8]
call fcn.0040403c
push eax
mov eax, dword [ebp - 4]
call fcn.0040403c
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503b30
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00403c1c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c1c
ret
Function at 0x40d85e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x480890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x51000]
push edi
or ebp, 0xffffffff
jmp 0x4808b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4808b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808a8
mov eax, 1
add ebx, ebx
jne 0x4808cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4808dc
jne 0x4808fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808fb
dec eax
add ebx, ebx
jne 0x4808e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4808c0
add ebx, ebx
jne 0x4808f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48094d
xor ecx, ecx
sub eax, 3
jb 0x480913
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x480982
sar eax, 1
mov ebp, eax
jmp 0x48091e
add ebx, ebx
jne 0x48091e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808ec
inc ecx
add ebx, ebx
jne 0x48092c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808ec
add ebx, ebx
jne 0x480939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48092e
jne 0x48094a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48092e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48096c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48095e
jmp 0x4808ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48096c
add edi, ecx
jmp 0x4808ae
pop esi
mov edi, esi
mov ecx, 0x27d3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48098a
cmp byte [edi], 0x26
jne 0x48098a
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 al, bl
loop 0x48098f
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x480a07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x876a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x877bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4809bc
mov ecx, edi
jns 0x4809eb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x877c0]
or eax, eax
je 0x480a01
mov dword [ebx], eax
add ebx, 4
jmp 0x4809d9
call dword [esi + 0x877c8]
mov ebp, dword [esi + 0x877c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x480a3b
sub esp, 0xffffff80
jmp 0x448ea0
Function at 0x401820
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x5ce104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x401857
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522a9a
mov esp, ebp
pop ebp
ret 0x14
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00526bd0
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x40188a
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x40189a
push esi
push 0x5a3e0c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.00526bd0
mov ax, word [ebp + 0x18]
add esp, 0xc
mov word [ebp - 0x828], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x814]
mov dword [ebp - 0x858], 0x44
movups xmmword [ebp - 0x814], xmm0
push eax
lea eax, [ebp - 0x858]
mov dword [ebp - 0x82c], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401842
cmp dword [ebp + 0x10], 0
je 0x401929
push dword [ebp + 0x14]
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x814]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x810]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522a9a
mov esp, ebp
pop ebp
ret 0x14

Function at 0x401960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5ce104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x401a2d
mov eax, dword [0x5a3e1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x22], xmm0
push 0x38
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x12], xmm0
movq xmm0, qword [str.runas]
push 0
push eax
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movq qword [ebp - 0x24], xmm0
call fcn.00526bd0
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x401a2d
cmp dword [ebp + 0x10], 0
je 0x401a0c
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522a9a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522a9a
mov esp, ebp
pop ebp
ret 0x10