joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c903
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x56e185
call fcn.00542dbf
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
call fcn.0040b5f3
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x84], ebx
je 0x41c962
call fcn.0040b5f3
push 5
push dword [edi + 0x84]
mov esi, dword [eax + 0xc]
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x41c972
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
jmp 0x41c975
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41c981
or eax, 0xffffffff
jmp 0x41cb05
mov ecx, edi
call fcn.0041cf57
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.00414fac
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
test esi, esi
je 0x41ca29
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x41ca29
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41ca29
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x30], 1
call fcn.00411f5c
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41c9eb
mov ecx, dword [eax]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d17
mov ecx, dword [ebp - 0x14]
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x41c9f0
mov esi, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x41ca29
mov eax, dword [esi]
mov esi, dword [eax + 0x150]
mov ecx, esi
call fcn.00542d17
mov ecx, dword [ebp - 0x14]
call esi
test eax, eax
je 0x41ca29
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00412d53
test eax, eax
je 0x41ca29
push ebx
mov ecx, esi
call fcn.00412b0e
mov dword [ebp - 0x2c], 1
push edi
mov dword [ebp - 4], ebx
call fcn.00414c4d
mov esi, dword [ebp - 0x28]
push esi
call fcn.0041630d
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041c8a6
test eax, eax
jne 0x41ca74
cmp dword [edi + 0x9c], ebx
jne 0x41ca74
call fcn.0040b5f3
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0041630d
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0041c8a6
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x9c], ebx
jmp 0x41caa5
cmp dword [ebp - 0x2c], 0
je 0x41cab5
mov ecx, dword [ebp - 0x14]
push 1
call fcn.00412b0e
cmp dword [ebp - 0x30], 0
je 0x41cac4
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x41cada
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x41cada
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov ecx, edi
call fcn.0041cf0e
cmp dword [edi + 0x84], ebx
je 0x41cb02
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0x68]
call fcn.00542d1d
ret
Function at 0x4244e8
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x424648
mov ecx, 0x61f678
call fcn.0040c174
mov esi, eax
test esi, esi
je 0x42463d
xor eax, eax
cmp word [esi + 8], ax
jne 0x424607
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x4245a9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x42456f
push 0x581810
call fcn.00424688
pop ecx
test eax, eax
je 0x42456f
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x42458a
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4245a9
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4245af
push ebx
push edi
push eax
call fcn.00422c2a
add esp, 0xc
jmp 0x4245af
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.00409bec
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, eax
mov dword [esi + 4], edx
test edx, edx
je 0x424642
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.00550669
add esp, 0xc
test eax, eax
je 0x4245fc
cmp eax, 0xc
je 0x424642
cmp eax, 0x16
je 0x42463d
cmp eax, 0x22
je 0x42463d
cmp eax, 0x50
jne 0x42463d
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42460a
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x424618
push edi
call fcn.0054c6a9
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.0040912e
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.004096f9
call fcn.00409713
int3
Function at 0x4250f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x6208e8], 0
push edi
mov edi, ecx
jne 0x425109
xor eax, eax
jmp 0x4251a3
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.00412d7d
push ebx
push 1
mov ecx, edi
call fcn.0042508c
push eax
call fcn.004379c9
push eax
mov ecx, edi
call fcn.00425e58
push 1
push ebx
mov ecx, edi
call fcn.0042508c
push eax
call fcn.004379c9
push eax
mov ecx, edi
call fcn.00425e58
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x42519e
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x42519e
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x6208e8]
call fcn.0046b06b
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43456e
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x56f300
call fcn.00542d54
mov ebx, ecx
cmp dword [0x6208e8], 0
je 0x4346b6
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x4345a1
xor eax, eax
jmp 0x4346b0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43459a
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4346b6
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6208e8]
call fcn.0046afdc
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.0040902d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1132
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.00542d17
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404310
xor eax, eax
inc eax
call fcn.00542d1d
ret
call fcn.004096f9
int3

Function at 0x434906
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x43496c
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x43494f
lea eax, [ebp - 0x2ac]
push eax
jmp 0x434954
push 0x584778
call fcn.004087cd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
call fcn.004096f9
int3
Function at 0x46bb6f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x46bb92
xor eax, eax
jmp 0x46bc63
cmp dword [ebp + 0xc], 0
je 0x46bb8b
xor esi, esi
call fcn.0040b5f3
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46bb8b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46bb8b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc79
push eax
call fcn.005507b0
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 0xc], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x46bc23
cmp eax, 0x400
ja 0x46bc08
call fcn.005431f0
mov edi, esp
test edi, edi
je 0x46bc1e
mov dword [edi], 0xcccc
jmp 0x46bc1b
push eax
call fcn.005505a5
mov edi, eax
pop ecx
test edi, edi
je 0x46bc1e
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x46bc25
mov edi, esi
test edi, edi
je 0x46bc79
push edx
push dword [ebp - 8]
push edi
call fcn.00409e15
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc53
mov esi, dword [ebp - 0x10]
push eax
call fcn.0054c6a9
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.0040912e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0046d5be
pop ecx
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
call fcn.004096f9
int3
Function at 0x4d443c
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4d4477
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d445e
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4d446f
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4d4479
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4d4454
xor eax, eax
pop edi
pop esi
ret
Function at 0x4dd56f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ecx + 0x14]
cmp dword [edi - 0xc], 0
jne 0x4dd582
xor eax, eax
jmp 0x4dd5d1
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
call fcn.00411f5c
mov ebx, eax
test ebx, ebx
je 0x4dd5b0
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4dd5b2
xor eax, eax
test eax, eax
je 0x4dd5b9
mov eax, dword [eax + 0x20]
push 1
push esi
push dword [ebp - 8]
push edi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
sbb eax, eax
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4dd7ae
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x575f15
call fcn.00542d88
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409ecf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5fbc24
call fcn.004138e6
cmp eax, 0xffffffff
jne 0x4dd887
push 0
push 0x5867e8
lea ecx, [ebp - 0x4d0]
call fcn.004138e6
cmp eax, 0xffffffff
jne 0x4dd887
push 0
push 0x57f310
lea ecx, [ebp - 0x4d0]
call fcn.004138e6
cmp eax, 0xffffffff
jne 0x4dd887
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409ecf
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4dd856
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d17
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404310
jmp 0x4dd8bf
lea eax, [ebp - 0x218]
push eax
call fcn.0054c6a9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040912e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404310
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4dd8ad
mov edi, dword [ebp - 0x4cc]
jmp 0x4dd8bf
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d17
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404310
mov eax, edi
call fcn.00542d32
ret
Function at 0x4ed9cd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4eda8b
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4eda80
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4eda80
neg eax
sbb eax, eax
and eax, ecx
cmp dword [ebx], eax
jne 0x4eda80
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4eda54
sub eax, 1
je 0x4eda20
sub eax, 1
jne 0x4eda80
mov edi, 0x428e
jmp 0x4eda59
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4eda59
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call fcn.00542d17
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4eda59
add edi, 3
jmp 0x4eda59
mov edi, 0x3ea0
push edi
call fcn.00409987
test eax, eax
je 0x4eda8b
push edi
push eax
mov ecx, 0x621dd8
call fcn.00408f8c
test eax, eax
je 0x4eda8b
mov eax, dword [0x621dd8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
jmp 0x4eda82
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004096f9
int3

Function at 0x4f9446
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4f9495
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0054c6a9
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x4f948a
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4f9478
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004096f9
int3
Function at 0x54a75e
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5f08bc
push str.FlsAlloc
push 0
call fcn.0054a6d7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x54a790
push dword [ebp + 8]
mov ecx, esi
call fcn.00542d17
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x54a7d2
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5f08e0
push str.FlsGetValue
push 2
call fcn.0054a6d7
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x54a803
mov ecx, esi
call fcn.00542d17
call esi
jmp 0x54a809
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x54a80c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5f08f4
push str.FlsSetValue
push 3
call fcn.0054a6d7
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x54a840
mov ecx, esi
call fcn.00542d17
call esi
jmp 0x54a846
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x561b52
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00561811

Function at 0x561b5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00561994

Function at 0x565728
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00565040

Function at 0x565733
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056527f
Function at 0x1a5a060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [0x1a5a0a2]
lea ecx, [0x1a5a0aa]
sub ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1a5a0c6
mov edi, dword [ebp + 8]
lea esi, [0x1a5a0a2]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
jmp 0x1a5a0c1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1a5a0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x65
mov al, 0x6d
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov cl, 0x6a
mov al, 0x66
push esi
mov dl, 0x75
push edi
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0x17], dl
lea edi, [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 3], 0
xor edx, edx
mov byte [ebp - 0x20], 0x45
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x56
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x12], 0x62
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0
je 0x1a5a176
mov cl, byte [ebp + edx - 0xc]
lea edi, [ebp - 0xc]
dec cl
xor eax, eax
mov byte [ebp + edx - 0xc], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x1a5a15a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x1a5a18c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1a5a1b9
mov al, byte [ebp + edx - 0x20]
lea edi, [ebp - 0x20]
dec al
or ecx, 0xffffffff
mov byte [ebp + edx - 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x1a5a19d
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1a5a1d1
push eax
call fcn.01a5a060
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1a5a640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push edi
call fcn.01a5fd10
mov ebx, dword [0x1b26478]
mov ecx, dword [0x1a6409c]
mov eax, ebx
sub eax, ecx
jne 0x1a5a742
mov edi, dword [0x1a64bce]
test edi, edi
je 0x1a5a742
cmp word [ebx], 0x5a4d
je 0x1a5a691
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01a5c040
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x1a5a6b4
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01a5c040
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [eax + 6]
xor edx, edx
mov dx, word [eax + 0x14]
test cx, cx
lea eax, [edx + eax + 0x18]
jbe 0x1a5a6d7
and ecx, 0xffff
mov edx, eax
add eax, 0x28
dec ecx
jne 0x1a5a6cd
jmp 0x1a5a6da
mov edx, dword [ebp - 4]
push esi
mov esi, dword [edx + 0xc]
push 0x10
lea eax, [ebp - 0xf4]
push 0x1a64bbe
push eax
add esi, ebx
call fcn.01a63110
push edi
lea ecx, [ebp - 0xf4]
push esi
push ecx
call fcn.01a63370
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.01a63390
push 0x20
lea ecx, [ebp - 0x24]
push 0x1a64b9e
push ecx
call fcn.01a5b800
add esp, 0x2c
test eax, eax
pop esi
je 0x1a5a742
push 0xc76
push 0
push 0x1a64078
call fcn.01a5b7b0
add esp, 0xc
call fcn.01a5c040
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1a5bc90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], bl
mov dl, 0x65
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, 0x20
mov cl, 0x6c
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x25], al
mov al, 0x72
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], al
mov byte [ebp - 0x20], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 4], al
mov eax, dword [0x1b2685c]
mov byte [ebp - 0x34], 0x4c
cmp eax, ebx
mov byte [ebp - 0x33], 0x6f
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0x64
mov byte [ebp - 0x2f], 0x25
mov byte [ebp - 0x2e], 0x73
mov byte [ebp - 0x2c], 0x66
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], cl
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x2c
mov byte [ebp - 0x24], dl
mov byte [ebp - 0x21], 0x6f
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], 0x25
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], bl
mov byte [ebp - 8], 0x45
mov byte [ebp - 5], 0x6f
mov byte [ebp - 3], bl
mov byte [ebp - 0x18], 0x42
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x5f
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x68
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xf], 0x43
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0xb], bl
jne 0x1a5bdde
mov eax, dword [0x1b26860]
cmp eax, ebx
jne 0x1a5bdbf
push 0x1a6429e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x1b26860], eax
jne 0x1a5bdbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x34]
push 0x1a6429e
lea ecx, [ebp - 0x134]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 8]
lea eax, [ebp - 0x134]
push ebx
push edx
push eax
push ebx
call dword [fcn.01b26498]
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x1b2685c], eax
jne 0x1a5bdde
pop edi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
call eax
add esp, 0x14
pop edi
pop ebx
mov esp, ebp
pop ebp
ret