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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bc9c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bc7d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bc8c
or bl, 4
test esi, 0x20000000
je 0x44bc97
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452344
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452356
add esp, 0xfffffff0
call fcn.00403bc4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c850
mov eax, dword [0x499098]
mov dword [eax + 4], ebx
mov dword [eax], 0x4526e8
mov eax, dword [0x4990a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4526f4
mov eax, ebx
call fcn.00452700
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44eb1c
push eax
push 0
push 0
mov eax, dword [0x499308]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e568]
call fcn.0041fcdc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e568]
call fcn.0041fcdc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e568]
call fcn.0041fcdc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452b20
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4529fc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4529fc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4529fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452493
call fcn.00403c1c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4527e0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45298b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45296c
mov dl, 1
mov eax, dword [0x4138f0]
call fcn.00403870
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404694
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45295b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004407ec
test al, al
je 0x45294e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45299c
lea eax, [ebp - 0x254]
call fcn.00409fd4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45294e
xor eax, eax
push ebp
push 0x452947
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4529d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452930
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404904
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x452930
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45294e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452851
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418408
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452992
lea eax, [ebp - 0x260]
call fcn.00404694
ret

Function at 0x4532c0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49aba0]
cmp byte [eax + 0xa5], 0
jne 0x453331
cmp dword [0x49abb8], 0
jne 0x4532f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45327c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49abb8], eax
cmp dword [0x49abb4], 0
jne 0x45330d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49abb4], eax
cmp dword [0x49abbc], 0
jne 0x453331
push esp
push 0
push 0
push 0x453220
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49abbc], eax
pop edx
ret
Function at 0x453428
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45343f
add esp, 0xfffffff0
call fcn.00403bc4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c850
mov eax, dword [0x4992e0]
cmp word [eax + 2], 0
jne 0x453467
mov eax, dword [0x4992e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045497c
mov eax, dword [0x499424]
cmp word [eax + 2], 0
jne 0x453481
mov eax, dword [0x499424]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454b74
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41328c]
call fcn.00403870
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f048]
call fcn.004263c0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453608
mov eax, dword [0x499158]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426790
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455114
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x499158]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dc80
test eax, eax
je 0x453576
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040998c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dca8
test eax, eax
je 0x45358a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404904
mov eax, dword [0x498f1c]
cmp byte [eax], 0
jne 0x4535be
mov eax, ebx
call fcn.00453730
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004552f0
mov eax, ebx
call fcn.00455cb4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4535fe
call fcn.00403c1c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4539b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49aba0]
cmp dword [eax + 0x30], 0
je 0x453a5a
cmp dword [ebx + 0x94], 0
jne 0x453a54
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453940
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453a54
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 0x453a1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453a54
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.00415978
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453a29
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4545bc
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 0x4545f1
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.00404784
jmp 0x4545fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4554cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45550d
mov eax, esi
call fcn.0043be18
test al, al
je 0x45550d
mov eax, dword [ebx + 0x84]
call fcn.0043bb14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45550d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bb14
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45646c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404b60
xor eax, eax
push ebp
push 0x45659a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x45656d
xor eax, eax
push ebp
push 0x456566
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404970
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45653b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x45652a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404970
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b70
mov edx, ebx
pop ecx
call fcn.004029dc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456531
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x498fc0]
mov dl, 1
mov eax, dword [0x40793c]
call fcn.0040cde8
call fcn.0040402c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4565a1
lea eax, [ebp - 4]
call fcn.00404694
ret
Function at 0x4565a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456759
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404d60
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x456770
call fcn.004049bc
mov eax, ebx
call fcn.0041ce74
mov edi, eax
dec edi
test edi, edi
jl 0x456660
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ce48
mov edx, dword [0x42d50c]
call fcn.00403a2c
test al, al
je 0x45665c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ce48
lea edx, [ebp - 0x14]
call fcn.00435338
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404d60
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a30
inc esi
dec edi
jne 0x45660e
mov al, byte [0x456774]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x456780
mov eax, dword [ebp - 0xc]
call fcn.0040e2c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040472c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00435338
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x456770
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00435338
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x456770
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x456770
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x45678c
call fcn.0040a054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456760
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004046b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004046b8
lea eax, [ebp - 0x14]
call fcn.00404694
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004046b8
ret
Function at 0x45821c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x458246
cmp dword [ebx + 0x64], 0
jne 0x458246
cmp dword [ebx + 0x6c], 0
jne 0x458246
mov edi, esi
jmp 0x4582cd
cmp edi, 0xffffffff
jne 0x45824e
dec edi
jmp 0x4582cd
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4582cd
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00457590
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x45829b
mov cx, word [esp]
sub cx, si
jmp 0x45829d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x458284
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4582c3
mov cx, word [esp]
sub cx, si
jmp 0x4582c5
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4582ac
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x45832a
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00457fb0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x458315
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x45832a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x458226
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45b724
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x45b72e
ret

Function at 0x45d1e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d24c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040939c
mov eax, dword [ebp - 4]
call fcn.0045d148
test al, al
je 0x45d221
mov byte [ebp - 5], 1
jmp 0x45d236
mov eax, dword [ebp - 0xc]
call fcn.00404b70
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d253
lea eax, [ebp - 0xc]
call fcn.00404694
ret
Function at 0x45d3b0
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x45d3d3
and ecx, ecx
jle 0x45d3d3
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x45d3d9]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x45d3c3
pop edi
pop ebx
ret
Function at 0x46570c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x113]
mov edx, 0x465794
call fcn.004099e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x465747
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.004099e8
jmp 0x465758
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x113]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x105
call fcn.00404904
mov esp, ebp
pop ebp
ret
Function at 0x470ff8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x471000
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4711f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x471208
mov eax, esi
call fcn.0046ec78
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004046e8
lea ecx, [ebp - 0x10]
mov edx, 0x47121c
mov eax, esi
call fcn.0046ec78
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004046e8
lea ecx, [ebp - 0x14]
mov edx, 0x471234
mov eax, esi
call fcn.0046ec78
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004046e8
lea ecx, [ebp - 0x18]
mov edx, 0x471250
mov eax, esi
call fcn.0046ec78
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004046e8
lea ecx, [ebp - 0x1c]
mov edx, 0x47126c
mov eax, esi
call fcn.0046ec78
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004046e8
lea ecx, [ebp - 0x24]
mov edx, 0x471284
mov eax, esi
call fcn.0046ec78
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004087c0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408cc4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47129c
mov eax, esi
call fcn.0046ec78
mov eax, dword [ebp - 0x28]
call fcn.0046dd90
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4712ac
mov eax, esi
call fcn.0046ec78
mov eax, dword [ebp - 0x2c]
call fcn.0046dd90
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4712c4
mov eax, esi
call fcn.0046ec78
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408cc4
inc eax
je 0x471195
lea ecx, [ebp - 0x34]
mov edx, 0x4712c4
mov eax, esi
call fcn.0046ec78
mov eax, dword [ebp - 0x34]
call fcn.00408c88
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040aca8
fstp qword [ebp - 0x3c]
wait
call fcn.0040b00c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4711b0
lea ecx, [ebp - 0x40]
mov edx, 0x4712c4
mov eax, esi
call fcn.0046ec78
mov eax, dword [ebp - 0x40]
call fcn.0046dd90
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4712d4
mov eax, esi
call fcn.0046ec78
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004046e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4711f9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004046b8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004046b8
ret
Function at 0x47db50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47dbaa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047db40
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046c748
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046c348
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dbb1
lea eax, [ebp - 4]
call fcn.00404694
ret

Function at 0x47df2c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x47df3f
add esp, 0xfffffff0
call fcn.00403bc4
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47dfb8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403870
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0047e398
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.004046e8
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x47dfe4
call fcn.004049bc
mov ecx, esi
mov dl, 1
mov eax, dword [0x47dd60]
call fcn.0047e7f8
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dfbf
lea eax, [ebp - 4]
call fcn.00404694
ret

Function at 0x4843c4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x484458
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, dword [ebp - 8]
call fcn.00402768
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48443b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409b64
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004087c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484442
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402788
ret