joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d0fc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46395c]
cmp byte [eax + 0xc], 0
je 0x43d269
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d262
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x464bb8], 0
jne 0x43d150
push 0x43d270
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43d278
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bb8], eax
cmp dword [0x45fab0], 0
jne 0x43d24b
push 0x43d288
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45fab0], eax
cmp dword [0x45fab0], 0
je 0x43d24b
push 0x43d294
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bbc], eax
push 0x43d2a4
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bc0], eax
push 0x43d2b8
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bc4], eax
push 0x43d2d0
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bc8], eax
push 0x43d2e8
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bcc], eax
push 0x43d2fc
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bd0], eax
push 0x43d314
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bd4], eax
push 0x43d32c
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bd8], eax
push 0x43d348
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464bdc], eax
push 0x43d354
mov eax, dword [0x45fab0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d269
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440fcc
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.004042ec
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44101b
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.00404554
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448e68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448eb8]
test si, 4
je 0x448e7c
or bl, 1
test si, 8
je 0x448e86
or bl, 4
test si, 1
je 0x448e90
or bl, 8
test si, 2
je 0x448e9a
or bl, 0x10
test si, 0x10
je 0x448ea4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448eb3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448ebc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448ef4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448ed5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448ee4
or bl, 4
test esi, 0x20000000
je 0x448eef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f510
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f522
add esp, 0xfffffff0
call fcn.004038e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004204bc
mov eax, dword [0x463670]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f8b4
mov eax, dword [0x46367c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f8c0
mov eax, ebx
call fcn.0044f8cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
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, 0x44bd94
push eax
push 0
push 0
mov eax, dword [0x463794]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421e4c]
call fcn.00423290
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421e4c]
call fcn.00423290
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421e4c]
call fcn.00423290
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044fcec
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fbc8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fbc8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fbc8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f65f
call fcn.0040393c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f9ac
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 0x44fb57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44fb38
mov dl, 1
mov eax, dword [0x41696c]
call fcn.00403568
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44fb27
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.0043d45c
test al, al
je 0x44fb1a
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, 0x44fb68
lea eax, [ebp - 0x254]
call fcn.00408f24
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44fb1a
xor eax, eax
push ebp
push 0x44fb13
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 0x44fba0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44fafc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404554
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 0x44fafc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fb1a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44fa1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041aac8
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 0x44fb5e
lea eax, [ebp - 0x260]
call fcn.004042ec
ret

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

Disassembly:
push ecx
mov eax, dword [0x464bfc]
cmp byte [eax + 0xa5], 0
jne 0x4504fd
cmp dword [0x464c14], 0
jne 0x4504be
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450448
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x464c14], eax
cmp dword [0x464c10], 0
jne 0x4504d9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x464c10], eax
cmp dword [0x464c18], 0
jne 0x4504fd
push esp
push 0
push 0
push 0x4503ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x464c18], eax
pop edx
ret
Function at 0x4505f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45060b
add esp, 0xfffffff0
call fcn.004038e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004204bc
mov eax, dword [0x463784]
cmp word [eax + 2], 0
jne 0x450633
mov eax, dword [0x463784]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451c28
mov eax, dword [0x46381c]
cmp word [eax + 2], 0
jne 0x45064d
mov eax, dword [0x46381c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451e20
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41647c]
call fcn.00403568
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], 0x80000018
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 [0x4225fc]
call fcn.00428248
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4507d4
mov eax, dword [0x4636c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428618
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452390
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4636c8]
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.0040b1c0
test eax, eax
je 0x450742
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408880
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b1e8
test eax, eax
je 0x450756
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.00404554
mov eax, dword [0x4635e8]
cmp byte [eax], 0
jne 0x45078a
mov eax, ebx
call fcn.004508fc
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.0045256c
mov eax, ebx
call fcn.00452f1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4507ca
call fcn.0040393c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450b70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x464bfc]
cmp dword [eax + 0x30], 0
je 0x450c1a
cmp dword [ebx + 0x94], 0
jne 0x450c14
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450b00
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450c14
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 0x450bda
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450c14
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.00418b1c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450be9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4516f8
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 0x45172d
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.004043dc
jmp 0x45173a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404340
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452748
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452789
mov eax, esi
call fcn.00438d24
test al, al
je 0x452789
mov eax, dword [ebx + 0x84]
call fcn.00438a20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452789
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438a20
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4533b4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00453130
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040479c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x453412
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x463798]
mov dl, 1
mov eax, dword [0x453054]
call fcn.0040a870
call fcn.00403d4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x454349
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov ecx, 3
push ebx
push esi
push edi
lea edi, [ebp - 0x20]
mov dword [ebp - 0x10], 0x2710
mov esi, 0x45fd50
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x20], 0x5c
mov byte [ebp - 0x1f], 0x5c
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x5c
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x50
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x4d
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x31
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
call fcn.004539cb
mov edi, eax
call fcn.004539cb
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x454494
call fcn.004539cb
mov edi, eax
mov esi, 1
mov eax, esi
add al, 0x30
mov byte [ebp - 0x17], al
push 0
push 0x80
push 3
push 0
push 7
push 0xc0000000
lea edx, [ebp - 0x20]
push edx
call fcn.004536e4
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45446e
push 0
lea eax, [ebp - 4]
push eax
push 0x120
push dword [ebp + 0x10]
push 0x130
push dword [ebp + 0xc]
push 0x860021b0
push ebx
call fcn.0045376d
add esp, 0x20
test eax, eax
je 0x454454
push ebx
call fcn.00453954
pop ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00459e9c
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x45443f
mov eax, ebx
jmp 0x4544a7
inc dword [ebp - 8]
push 1
call fcn.00453809
cmp dword [ebp - 8], 0xa
pop ecx
jle 0x454480
mov eax, ebx
jmp 0x4544a7
push ebx
call fcn.00453954
pop ecx
call fcn.00453a41
mov ebx, eax
cmp ebx, 0x57
jne 0x454480
mov eax, 0x753c
jmp 0x4544a7
call fcn.00453a41
cmp eax, 5
jne 0x454480
push 0x32
call fcn.00453809
pop ecx
inc esi
cmp esi, 4
jb 0x4543cc
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
cmp edi, edx
jae 0x4544a2
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
cmp edi, ecx
jb 0x4543c0
mov eax, 0x4f1a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456a79
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x457641
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov byte [eax], 0x52
mov edx, dword [ebp + 0xc]
mov byte [edx + 1], 0x43
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], 0x36
mov eax, dword [ebp + 0xc]
mov byte [eax + 3], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], 0xb8
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0xb7e15163
mov ebx, 1
mov eax, dword [ebp + 0xc]
add eax, 8
mov edx, dword [eax]
inc ebx
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
cmp ebx, 0x2b
jle 0x457691
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov edi, ecx
cmp dword [ebp - 8], 0x2c
mov esi, ecx
mov ebx, eax
jle 0x4576bd
mov eax, dword [ebp - 8]
jmp 0x4576c2
mov eax, 0x2c
lea edx, [eax + eax*2]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jg 0x45773c
push 3
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ebx*4 + 8]
add esi, edi
push esi
call fcn.0045799f
mov edx, dword [ebp + 0xc]
mov esi, eax
add esp, 8
mov dword [edx + ebx*4 + 8], eax
lea edx, [edi + esi]
push edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
add edx, esi
add edi, edx
push edi
call fcn.0045799f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edi, eax
add esp, 8
mov dword [ecx + edx*4], eax
lea eax, [ebx + 1]
cdq
mov ecx, 0x2c
idiv ecx
mov eax, dword [ebp - 0xc]
mov ebx, edx
inc eax
cdq
idiv dword [ebp - 8]
mov dword [ebp - 0xc], edx
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jle 0x4576d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, eax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x45c9a5
pop es
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x45c9b9
mov byte [ebp - 1], 0x55
mov al, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop esi
pop ecx
pop ebp
ret

Function at 0x45d774
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.0040479c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x45d826
xor eax, eax
push ebp
push 0x45d81f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, 2
call fcn.0045d70c
push eax
xor eax, eax
call fcn.0045d70c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x45d7ec
mov eax, 2
call fcn.0045d70c
cmp eax, dword [ebp - 0xc]
je 0x45d7f0
xor eax, eax
jmp 0x45d7f2
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x45d808
mov eax, ebx
call fcn.0040479c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d826
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d830
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d968
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00404928
push 0x104
lea eax, [ebp - 8]
call fcn.004047f4
push eax
push 0x45d97c
call sub.kernel32.dll_GetEnvironmentVariableA
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404928
mov eax, dword [ebp - 8]
call fcn.004045a4
test eax, eax
jle 0x45d94a
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402e1c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push dword [ebp - 8]
push 0x45d98c
push ebx
push 0x45d99c
push esi
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00404664
mov eax, dword [ebp - 0x60]
call fcn.0040479c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x45d94a
xor eax, eax
push ebp
push 0x45d943
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d94a
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d96f
lea eax, [ebp - 0x60]
call fcn.004042ec
lea eax, [ebp - 8]
call fcn.004042ec
ret

Function at 0x45d9a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040479c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45d9bd
and eax, 0x10
cmp eax, 0x10
je 0x45d9c1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x45e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
xor eax, eax
push ebp
push 0x45e312
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004042ec
lea edx, [ebp - 4]
xor eax, eax
call fcn.00453484
test eax, eax
jne 0x45e2f5
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408488
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.0045e154
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
pop ecx
call fcn.004045f0
mov eax, dword [0x463904]
mov dword [eax], 0xbd6
mov eax, dword [ebp - 8]
call fcn.004045a4
mov esi, eax
test esi, esi
jle 0x45e259
mov ebx, 1
mov eax, pe_nt_image_headers32
call fcn.00402e3c
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor eax, edx
push eax
lea eax, [ebp - 8]
call fcn.004047f4
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x45e233
mov eax, dword [0x463904]
mov dword [eax], 0xfc8
mov eax, dword [ebp - 8]
call fcn.004045a4
mov esi, eax
test esi, esi
jle 0x45e29d
mov ebx, 1
mov eax, pe_nt_image_headers32
call fcn.00402e3c
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor eax, edx
push eax
lea eax, [ebp - 8]
call fcn.004047f4
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x45e277
mov eax, dword [0x463904]
mov dword [eax], 0x13ba
mov eax, edi
call fcn.004042ec
mov eax, dword [ebp - 8]
call fcn.004045a4
mov esi, eax
test esi, esi
jle 0x45e2f1
mov ebx, 1
mov eax, pe_nt_image_headers32
call fcn.00402e3c
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor eax, edx
lea ecx, [ebp - 0x14]
mov edx, 2
call fcn.004084ec
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.004045ac
inc ebx
dec esi
jne 0x45e2c2
mov bl, 1
jmp 0x45e2f7
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e319
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404310
ret