joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b180
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45fbb4]
cmp dword [eax + 0x30], 0
je 0x43b22a
cmp dword [ebx + 0x94], 0
jne 0x43b224
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43b110
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x43b224
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43b1ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43b224
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ba58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43b1f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x43bd08
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x43bd3d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404544
jmp 0x43bd4a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43cbd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x43cc15
mov eax, esi
call fcn.00450744
test al, al
je 0x43cc15
mov eax, dword [ebx + 0x84]
call fcn.00450440
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43cc15
push 0
mov eax, dword [ebx + 0x84]
call fcn.00450440
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43fa04
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.00404454
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43fa53
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046bc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447a00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45fc2c], 0
je 0x447b4f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45e180]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x447b4f
mov eax, dword [0x45fc30]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45fc2c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x447b1e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45fc2c]
call fcn.0041ba58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x447b16
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x447b16
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x447b16
mov eax, dword [ebp - 0x14]
call fcn.00450440
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x447b16
push ebp
call fcn.004479bc
pop ecx
test al, al
jne 0x447b16
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x447ad2
mov eax, dword [ebp - 0x14]
call fcn.0044efd4
dec eax
jle 0x447b16
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004037d4
cmp byte [ebp - 1], 0
je 0x447b16
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x447b16
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45fc30]
call fcn.00447184
inc edi
dec ebx
jne 0x447a65
mov eax, dword [0x45fc30]
cmp dword [eax + 8], 0
jle 0x447b36
mov eax, dword [0x45fc30]
call fcn.00447214
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x447b4f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00447824
pop ecx
test al, al
jne 0x447b4f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b0fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44b148
mov eax, esi
call fcn.004335c4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44b148
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44b148
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44b287
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44b188
cmp eax, 0x108
ja 0x44b188
mov eax, esi
call fcn.004335c4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44b27e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x44b287
jmp 0x44b27e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44b267
cmp eax, 0x20a
ja 0x44b267
test byte [esi + 0x50], 0x80
jne 0x44b1ba
sub eax, 0x203
je 0x44b1b7
sub eax, 3
je 0x44b1b7
sub eax, 3
jne 0x44b1ba
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44b1ce
dec eax
je 0x44b1e3
dec eax
je 0x44b200
dec eax
je 0x44b1e3
jmp 0x44b207
mov ecx, ebx
mov eax, dword [0x45e180]
mov eax, dword [eax]
mov edx, esi
call fcn.0043ca8c
jmp 0x44b27e
cmp byte [esi + 0x5d], 1
jne 0x44b1f9
mov eax, esi
mov si, 0xffed
call fcn.004037d4
jmp 0x44b287
or word [esi + 0x54], 1
jmp 0x44b27e
and word [esi + 0x54], 0xfffe
jmp 0x44b27e
mov eax, dword [0x45fbe8]
cmp byte [eax + 0x20], 0
je 0x44b27e
mov eax, dword [0x45fbe8]
cmp dword [eax + 0x1c], 0
je 0x44b27e
mov eax, dword [ebx]
mov edx, dword [0x45fbe8]
cmp eax, dword [edx + 0x1c]
jne 0x44b27e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00433508
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004037d4
jmp 0x44b287
cmp eax, 0xb00b
jne 0x44b27e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00449a38
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e670
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44e68c
cmp dword [esi + 4], 0
je 0x44e6b9
test byte [ebx + 0x55], 1
jne 0x44e6ab
mov eax, ebx
call fcn.0044d334
test eax, eax
jne 0x44e6ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44e7c9
mov edx, esi
mov eax, ebx
call fcn.0044e190
jmp 0x44e7c9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44e7c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00450440
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044b030
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044e670
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00450440
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e7c9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454b1c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45e304]
cmp byte [eax + 0xc], 0
je 0x454c89
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454c82
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45fc3c], 0
jne 0x454b70
push 0x454c90
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x454c98
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc3c], eax
cmp dword [0x45dc8c], 0
jne 0x454c6b
push 0x454ca8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45dc8c], eax
cmp dword [0x45dc8c], 0
je 0x454c6b
push 0x454cb4
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc40], eax
push 0x454cc4
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc44], eax
push 0x454cd8
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc48], eax
push 0x454cf0
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc4c], eax
push 0x454d08
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc50], eax
push 0x454d1c
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc54], eax
push 0x454d34
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc58], eax
push 0x454d4c
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc5c], eax
push 0x454d68
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc60], eax
push 0x454d74
mov eax, dword [0x45dc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45fc64], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c89
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401a1d
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x504968
jmp 0x401a11
mov eax, 0x4c4b2c
call fcn.00493f98
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00401b2a
mov eax, dword [0x500318]
lea ecx, [esi + 0xa0]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ecx], eax
mov eax, dword [0x500318]
mov dword [esi + 0xa8], eax
push 1
mov dword [esi], 0x4cb9b4
pop eax
mov ebx, 0x504964
mov dword [esi + 0x1c], eax
push 0xa
mov dword [esi + 0x20], eax
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x24], 0xffffffff
pop edx
mov dword [esi + 0x30], edi
push ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 5
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0x3e8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], 0xc0
mov dword [esi + 0x90], 0x6c
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call fcn.004b3f28
push ebx
lea ecx, [esi + 0xa8]
mov dword [esi + 0xa4], edi
call fcn.004b3f28
mov ecx, dword [ebp - 0xc]
push 0x64
pop eax
mov dword [esi + 0xb4], edi
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40aade
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c583c
call fcn.00493f98
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x504748
push str.DataFile_Types
mov ecx, esi
call fcn.004c26ae
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40ab14
xor eax, eax
jmp 0x40ac5c
mov eax, dword [0x500318]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40ac2c
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4eafc8
push eax
call fcn.004aca47
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c2760
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b3ed8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b3d91
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c2760
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b3ed8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b3d91
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c26f4
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40ac05
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40ac05
cmp eax, 0xffffffff
je 0x40ac05
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040ad49
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], pe_nt_image_headers32
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40ab50
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b3d91
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b3d91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b3d91
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40bd84
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4cdb38
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00493fc0
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c112
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c995
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00493fc0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x40e0c0
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c5d1f
call fcn.00493f98
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b365c
mov eax, dword [0x500318]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4ce108
jne 0x40e146
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00493fc0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x40e13f
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x40e146
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0049477d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x40e15b
call fcn.004ad128
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0040e320
push eax
call fcn.00493fc0
push 0x200002
call fcn.004afebb
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0040e320
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0040e320
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0040e320
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0040e320
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0040e320
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0040e320
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0040e320
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x40e218
mov ecx, esi
call fcn.0040e320
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c2e11
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0040e320
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040e320
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x40df43
je 0x40e251
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x40e290
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004b3f28
push ebx
mov ecx, edi
call fcn.004b41d6
push 0x7c
push eax
call fcn.00494754
pop ecx
cmp eax, ebx
pop ecx
je 0x40e283
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x40e26d
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0040e320
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x415fa2
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x416121
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x416067
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x504b0c]
test ebx, ebx
jne 0x416043
mov esi, 0x4cdb3c
jmp 0x41604d
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x416032
xor esi, esi
dec dword [ebp - 0xc]
jne 0x415fdb
test esi, esi
je 0x416121
cmp esi, 3
jge 0x4160a2
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x416109
mov edx, dword [0x504b0c]
test edx, edx
jne 0x4160eb
mov eax, 0x4cdb3c
jmp 0x4160f5
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x4160da
cmp esi, 3
jge 0x416121
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x416113
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 0x10