joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435214
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004039f0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x435275
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x435275
cmp byte [ebp - 0x102], 0
je 0x435275
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403c1c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4777e4
cmp dword [edi], 0
jne 0x43b58c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4777e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4758dc
mov ecx, 2
call fcn.004027fc
mov edx, 0x43b4e8
lea eax, [esi + 5]
call fcn.0043b508
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043b508
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43b561
mov dword [0x4777e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43b6b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43b700]
test si, 4
je 0x43b6c4
or bl, 1
test si, 8
je 0x43b6ce
or bl, 4
test si, 1
je 0x43b6d8
or bl, 8
test si, 2
je 0x43b6e2
or bl, 0x10
test si, 0x10
je 0x43b6ec
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b6fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43b704
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43b73c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b71d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b72c
or bl, 4
test esi, 0x20000000
je 0x43b737
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4437e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44381d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ad4
jmp 0x443827
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403a88
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x45d064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x45d09c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d07a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d089
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d098
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x46126c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46129a
mov eax, ebx
call fcn.00461d10
cmp dword [ebx + 0x3c], 0
je 0x461293
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46130b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4612fd
cmp dword [ebx + 8], 0
je 0x4612bc
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 0x4612ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4612fd
cmp dword [ebx + 8], 0
je 0x4612af
cmp eax, 3
je 0x4612e1
dec eax
jne 0x4612af
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 0x4612af
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4612af
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x461329
cmp dword [ebx + 0x10], 0xcc
je 0x461329
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.00461334
pop ebx
ret

Function at 0x4720c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403e20
xor eax, eax
push ebp
push 0x472116
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403e30
push eax
push 0x472120
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47211d
lea eax, [ebp - 4]
call fcn.004039f0
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00401530
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.00401530
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4010a2
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4010a2
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call esi
push str.crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
lea eax, [ebp - 0x414]
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00401518
leave
ret

Function at 0x4011c6
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
push ebx
push 0x57
pop ebx
cmp eax, 0xffffffff
je 0x401218
push esi
push 0x2010
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x401217
mov eax, 0x574b4644
cmp dword [esi], eax
jne 0x401217
mov ecx, dword [ebp + 8]
dec ecx
je 0x40126b
dec ecx
je 0x401249
dec ecx
je 0x40121f
dec ecx
jne 0x401217
cmp dword [edi], 4
jne 0x401270
mov eax, dword [esi + 0x200c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor ebx, ebx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0x2008]
cmp eax, ecx
jl 0x401270
push ecx
lea ecx, [esi + 0x1008]
push ecx
push eax
push dword [ebp + 0xc]
call fcn.004015aa
mov eax, dword [esi + 0x2008]
add esp, 0x10
mov dword [edi], eax
jmp 0x401215
mov eax, dword [edi]
mov ecx, dword [esi + 0x1004]
cmp eax, ecx
jl 0x401270
push ecx
lea ecx, [esi + 4]
push ecx
push eax
push dword [ebp + 0xc]
call fcn.004015aa
mov eax, dword [esi + 0x1004]
jmp 0x401242
cmp dword [edi], 4
je 0x401210
push 0x7a
pop ebx
jmp 0x401217

Function at 0x401518
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b040]
jne 0x401522
repz ret
jmp fcn.004018b1
Function at 0x404fcc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040322d
and dword [ebp - 4], 0
cmp dword [0x40c72c], 0
mov ebx, eax
jne 0x40507d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40512e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40512e
push eax
call fcn.004031bb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40c72c], eax
call esi
push eax
call fcn.004031bb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40c730], eax
call esi
push eax
call fcn.004031bb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40c734], eax
call esi
push eax
call fcn.004031bb
pop ecx
mov dword [0x40c73c], eax
test eax, eax
je 0x40507d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004031bb
pop ecx
mov dword [0x40c738], eax
mov eax, dword [0x40c738]
cmp eax, ebx
je 0x4050d5
cmp dword [0x40c73c], ebx
je 0x4050d5
push eax
call fcn.00403236
push dword [0x40c73c]
mov esi, eax
call fcn.00403236
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4050d5
test edi, edi
je 0x4050d5
call esi
test eax, eax
je 0x4050cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4050cc
test byte [ebp - 0xc], 1
jne 0x4050d5
or dword [ebp + 0x10], 0x200000
jmp 0x40510e
mov eax, dword [0x40c730]
cmp eax, ebx
je 0x40510e
push eax
call fcn.00403236
pop ecx
test eax, eax
je 0x40510e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40510e
mov eax, dword [0x40c734]
cmp eax, ebx
je 0x40510e
push eax
call fcn.00403236
pop ecx
test eax, eax
je 0x40510e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40c72c]
call fcn.00403236
pop ecx
test eax, eax
je 0x40512e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405130
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4078f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4078ff
pop dword [ebp - 0x4c]
mov eax, 0x5b08b761
add eax, 0xa537c19e
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x8fa7a0b2
add dword [ebp - 0x5c], 0xbeaaa499
mov dword [ebp - 0x58], 0xc7cb05ca
sub dword [ebp - 0x58], 0x9597b985
mov dword [ebp - 0x54], 0x22f94b57
add dword [ebp - 0x54], 0x2952f8d7
mov dword [ebp - 0x50], 0xd09dd841
sub dword [ebp - 0x50], 0xd09dd841
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x8a097bc1
add eax, 0x7638b4b3
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xa0a73c3
add dword [ebp - 0x5c], 0x6a67f593
mov dword [ebp - 0x58], 0xe8ca21a5
sub dword [ebp - 0x58], 0xa75dc030
mov dword [ebp - 0x54], 0xbd0ab4e6
sub dword [ebp - 0x54], 0x599b487a
mov dword [ebp - 0x50], 0x95142028
sub dword [ebp - 0x50], 0x95142028
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 0x3e4ce
push 0
call eax
mov ecx, 0x4a76
xor esi, esi
add esi, eax
mov edi, 0x434400
add edi, dword [ebp - 0x4c]
mov edx, 0xcee21e84
sub dword [ebp - 0x18], esi
mov ebx, dword [edi]
sub dword [ebp - 4], 0x24c76903
xor ebx, edx
sub dword [ebp - 0x10], 0xad5f2864
mov dword [esi], ebx
xor dword [ebp - 0x24], eax
add esi, 0x5c2757e8
sub esi, 0x5c2757e4
add edi, 0x45383c0f
sub edi, 0x45383c0b
loop 0x407a0c
add eax, 0x11cab
mov ebx, eax
add eax, 0x3b9369d4
sub eax, 0x3b9369cf
mov ecx, 0xef1fc29d
sub ecx, 0xeedfc29d
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040cac0
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040cac0
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040cac0
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040cac0
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040cac0
mov dword [0x41203c], eax
call fcn.0040cac0
test eax, eax
jge 0x402550
push 8
call fcn.0040cac0
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040cac0
pop ecx
push 1
call fcn.0040cac0
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040cac0
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040cac0
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040cac0
jmp 0x402495

Function at 0x40cac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40cacf
pop dword [ebp - 0x28]
mov eax, 0xce8f9dcf
add eax, 0x31b12d00
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x38602
push 0
mov eax, 0xc19e19e4
add eax, 0x3ea2c6f4
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xe27d8df6
sub ecx, 0xe27d4965
mov edx, eax
mov edi, 0x5a47f5ab
sub edi, 0x5a06b9e7
add edi, dword [ebp - 0x28]
mov esi, 0x3f6d5125
sub esi, 0x8fb70383
sub dword [ebp - 0x20], 0x62cb56cf
mov ebx, dword [edi]
add dword [ebp - 0xc], 0x73ee2e0d
sub ebx, esi
xor dword [ebp - 0x14], 0x7bcbac68
mov dword [edx], ebx
add dword [ebp - 0x1c], ecx
add edx, 0xe7bfbf8
add edx, 0xf184040c
add edi, 4
loop 0x40cb2e
add eax, 0x10517
mov ebx, eax
add eax, 5
mov ecx, 0x916267e
sub ecx, 0x8d6267e
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x1000473e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1000474d
pop dword [ebp - 0x30]
mov eax, 0x1000474d
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xb0686bad
sub dword [ebp - 0x40], 0x62162662
mov dword [ebp - 0x3c], 0xba6590b1
add dword [ebp - 0x3c], 0x77cdbb94
mov dword [ebp - 0x38], 0xbbbd8470
sub dword [ebp - 0x38], 0x6f714042
mov dword [ebp - 0x34], 0x82b6d3cb
sub dword [ebp - 0x34], 0x82b6d3cb
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x67170a98
sub dword [ebp - 0x40], 0xf2a4a142
mov dword [ebp - 0x3c], 0x883266f
sub dword [ebp - 0x3c], 0xc716c4fa
mov dword [ebp - 0x38], 0x6dfdcafb
add dword [ebp - 0x38], 0xf571a171
mov dword [ebp - 0x34], 0x42e828be
add dword [ebp - 0x34], 0xbd17d742
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x7ece9a08
add eax, 0x9132265c
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x38282
push 0
call eax
mov ecx, 0x48fe
xor edi, edi
add edi, eax
mov ebx, 0xe4a502fc
add ebx, 0x2b5ca104
add ebx, dword [ebp - 0x30]
mov esi, 0x6d7595fe
add esi, 0xebbd49ba
xor dword [ebp - 0x24], esi
mov edx, dword [ebx]
xor dword [ebp - 0x10], 0xc89a178e
xor edx, esi
add dword [ebp - 0x24], 0x95afca5
mov dword [edi], edx
add dword [ebp - 4], edi
add edi, 0x7be6cbe1
sub edi, 0x7be6cbdd
add ebx, 0x499559d
add ebx, 0xfb66aa67
loop 0x10004861
add eax, 0x116cb
xor ebx, ebx
add ebx, eax
add eax, 0x48abcb2c
sub eax, 0x48abcb27
mov ecx, 0x467ba50a
sub ecx, 0x367ba50a
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x10008ab3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
cmp eax, 0x1a
jl 0x10008b0b
mov eax, dword [edi + 8]
cmp eax, dword [edi]
jl 0x10008b0b
push 0
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push 0x10
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push dword [edi + 4]
push dword [edi]
push 0
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.1000473e
push 1
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
pop ebp
ret 4

Function at 0x10009075
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x441bb9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x441bc8
pop dword [ebp - 0xc]
mov eax, 0x2bbc4978
sub eax, 0x2b782db0
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x53fc7
push 0
mov eax, 0x3a7bdcf5
sub eax, 0x3a372a45
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x56db
mov edx, eax
mov ebx, 0x488e00
add ebx, dword [ebp - 0xc]
mov edi, 0x9a868ee6
sub dword [ebp - 4], 0x178265dd
mov esi, dword [ebx]
xor dword [ebp - 4], 0x1936a763
xor esi, edi
mov dword [ebp - 8], 0xc6ab5ea6
mov dword [edx], esi
xor dword [ebp - 4], ecx
add edx, 4
add ebx, 4
loop 0x441c15
add eax, 0xbeda298d
add eax, 0x412724b2
mov ebx, eax
add eax, 0xc5d1243e
add eax, 0x3a2edbc7
mov ecx, 0x4272926a
add ecx, 0xbdcd6d96
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x10002fb6
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0x64c
mov eax, 0x1011128c
call fcn.1011094d
mov dword [ebp - 0x658], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x64c], edi
mov esi, 0x208
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x440]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x238]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x654], 0x103
mov dword [ebp - 0x650], 0xf
test ebx, ebx
jne 0x1000301f
mov esi, 0x80004003
jmp 0x1000315c
push edi
push edi
push edi
push ecx
push edi
mov edx, ebx
lea ecx, [ebp - 0x64c]
call fcn.10003d89
mov esi, eax
test esi, esi
js 0x1000315c
mov eax, dword [ebp - 0x64c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
test eax, eax
jne 0x10003058
mov esi, 0x80004005
jmp 0x1000315c
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x654]
push edx
lea edx, [ebp - 0x648]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov esi, eax
test esi, esi
js 0x1000315c
cmp dword [ebp - 0x654], 4
jbe 0x1000304e
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x650]
push edx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
mov esi, eax
test esi, esi
js 0x1000315c
cmp dword [ebp - 0x650], 5
je 0x100030b8
cmp dword [ebp - 0x650], 3
jne 0x1000304e
push ecx
mov edx, str.accdb
lea ecx, [ebp - 0x30]
call fcn.10043548
test eax, eax
jne 0x100030e0
push ecx
mov edx, 0x101193ac
lea ecx, [ebp - 0x30]
call fcn.10043548
test eax, eax
je 0x1000304e
lea eax, [ebp - 0x440]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1000304e
push esi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x64c]
call fcn.10003d89
mov esi, eax
test esi, esi
js 0x1000315c
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x238]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x440]
push eax
call edi
test esi, esi
je 0x1000304e
mov esi, dword [ebp - 0x658]
push dword [esi + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi + 0x44], 0
mov ecx, ebx
call fcn.10006afa
push eax
push ebx
lea ecx, [esi + 0x44]
call fcn.10003d89
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x10003173
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.101108ff
ret 4
Function at 0x10003d89
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10003d98
pop dword [ebp - 0x34]
mov eax, 0xa49cc953
add eax, 0x6b637445
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0xbafe7
push 0
mov eax, 0x125ada51
sub eax, 0x24957ed
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x3e8f
mov ebx, eax
mov esi, 0x29c07e1f
sub esi, 0x19a3121f
add esi, dword [ebp - 0x34]
mov edx, 0xa2dae7b
xor dword [ebp - 0x10], 0xc1f46d92
mov edi, dword [esi]
add dword [ebp - 0x20], edx
xor edi, edx
add dword [ebp - 0x28], esi
mov dword [ebx], edi
mov dword [ebp - 8], 0x8646935c
add ebx, 0xf248ffd7
add ebx, 0xdb7002d
add esi, 0xd64948c
sub esi, 0xd649488
loop 0x10003deb
add eax, 0xf3c1a7e7
add eax, 0xc3f4528
xor ebx, ebx
add ebx, eax
add eax, 0x3d93e734
add eax, 0xc26c18d1
mov ecx, 0xa4b88112
add ecx, 0x6b477eee
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x100042e4
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x10111452
call fcn.10110919
mov edi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x10004307
mov esi, 0x80004003
jmp 0x10004372
test edi, edi
je 0x10004300
push eax
push eax
push eax
push ecx
push eax
mov edx, ebx
mov dword [edi], 1
lea ecx, [ebp - 0x10]
call fcn.10003d89
mov esi, eax
test esi, esi
js 0x10004372
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xbc]
test eax, eax
jne 0x1000433a
and dword [edi], eax
jmp 0x10004372
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1000436b
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x10004372
xor esi, esi
and dword [edi], esi
jmp 0x10004372
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10004386
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.101108ea
ret