joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d0f8
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 0x44d144
mov eax, esi
call fcn.004350d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44d144
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44d144
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 0x44d283
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44d184
cmp eax, 0x108
ja 0x44d184
mov eax, esi
call fcn.004350d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44d27a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44d283
jmp 0x44d27a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44d263
cmp eax, 0x20a
ja 0x44d263
test byte [esi + 0x50], 0x80
jne 0x44d1b6
sub eax, 0x203
je 0x44d1b3
sub eax, 3
je 0x44d1b3
sub eax, 3
jne 0x44d1b6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44d1ca
dec eax
je 0x44d1df
dec eax
je 0x44d1fc
dec eax
je 0x44d1df
jmp 0x44d203
mov ecx, ebx
mov eax, dword [0x4b3bf8]
mov eax, dword [eax]
mov edx, esi
call fcn.0043e6fc
jmp 0x44d27a
cmp byte [esi + 0x5d], 1
jne 0x44d1f5
mov eax, esi
mov si, 0xffed
call fcn.004036f4
jmp 0x44d283
or word [esi + 0x54], 1
jmp 0x44d27a
and word [esi + 0x54], 0xfffe
jmp 0x44d27a
mov eax, dword [0x4b4b70]
cmp byte [eax + 0x20], 0
je 0x44d27a
mov eax, dword [0x4b4b70]
cmp dword [eax + 0x1c], 0
je 0x44d27a
mov eax, dword [ebx]
mov edx, dword [0x4b4b70]
cmp eax, dword [edx + 0x1c]
jne 0x44d27a
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.00435018
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.004036f4
jmp 0x44d283
cmp eax, 0xb00b
jne 0x44d27a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044ba60
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 0x450704
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 0x450720
cmp dword [esi + 4], 0
je 0x45074d
test byte [ebx + 0x55], 1
jne 0x45073f
mov eax, ebx
call fcn.0044f310
test eax, eax
jne 0x45073f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45085d
mov edx, esi
mov eax, ebx
call fcn.00450228
jmp 0x45085d
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 0x450856
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004525ac
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.0044d02c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00450704
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.004525ac
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45085d
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 0x456d04
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b3df4]
cmp byte [eax + 0xc], 0
je 0x456e71
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456e6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b4bc4], 0
jne 0x456d58
push 0x456e78
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x456e80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bc4], eax
cmp dword [0x4b0dec], 0
jne 0x456e53
push 0x456e90
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b0dec], eax
cmp dword [0x4b0dec], 0
je 0x456e53
push 0x456e9c
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bc8], eax
push 0x456eac
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bcc], eax
push 0x456ec0
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bd0], eax
push 0x456ed8
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bd4], eax
push 0x456ef0
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bd8], eax
push 0x456f04
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bdc], eax
push 0x456f1c
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4be0], eax
push 0x456f34
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4be4], eax
push 0x456f50
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4be8], eax
push 0x456f5c
mov eax, dword [0x4b0dec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456e71
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45cd24
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f8
mov eax, dword [ebp - 8]
call fcn.004046f8
xor eax, eax
push ebp
push 0x45cf36
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x45ce28
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00407020
mov dword [ebp - 0x5c], 0x44
cmp byte [ebp - 9], 0
je 0x45cd91
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x6c]
mov edx, 0x10
call fcn.00407020
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
je 0x45cdb4
mov eax, dword [ebp - 0x14]
call fcn.00404708
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404708
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x45ce0e
cmp byte [ebp + 0xc], 0
je 0x45cdf3
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObjectEx
mov byte [ebp - 0xa], 1
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x45cf01
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.004086c4
mov byte [ebp - 0xa], 0
jmp 0x45cf01
lea eax, [ebp - 0x70]
call fcn.0045d518
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0045cf60
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00408d10
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00407020
mov dword [ebp - 0x5c], 0x44
cmp byte [ebp - 9], 0
je 0x45ce70
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x6c]
mov edx, 0x10
call fcn.00407020
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404708
push eax
push 0
push 0
push 0
push 0
push 0
push 0x45cf50
push dword [ebp - 0x10]
push 0x45cf5c
push dword [ebp - 8]
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.004045c8
mov eax, dword [ebp - 0x74]
call fcn.00404708
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404708
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x45cefd
cmp byte [ebp + 0xc], 0
je 0x45cee5
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObjectEx
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0xa], 1
jmp 0x45cf01
mov byte [ebp - 0xa], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cf3d
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040426c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040426c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040426c
ret
Function at 0x45d374
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f8
xor eax, eax
push ebp
push 0x45d3d7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x45d3ec
mov eax, 0x80000001
call fcn.0045d2d4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x45d3c1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045d430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3de
lea eax, [ebp - 4]
call fcn.00404248
ret

Function at 0x45d430
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f8
xor eax, eax
push ebp
push 0x45d480
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x45d494
mov eax, 0x80000002
call fcn.0045d2d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d487
lea eax, [ebp - 4]
call fcn.00404248
ret

Function at 0x45d578
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.00404708
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x45d5dd
mov eax, dword [ebp - 4]
call fcn.00404508
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404708
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
mov esp, ebp
pop ebp
ret

Function at 0x46064c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46067a
mov eax, ebx
call fcn.00461100
cmp dword [ebx + 0x40], 0
je 0x460673
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4606eb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4606dd
cmp dword [ebx + 8], 0
je 0x46069c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4606ae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4606dd
cmp dword [ebx + 8], 0
je 0x46068f
cmp eax, 3
je 0x4606c1
dec eax
jne 0x46068f
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 0x46068f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46068f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x460709
cmp dword [ebx + 0x14], 0xcc
je 0x460709
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00460714
pop ebx
ret
Function at 0x477a58
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x477a87
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x477a8a
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x477a6e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x4b5d80], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x477a63
mov byte [0x4b6180], 1
mov esp, ebp
pop ebp
ret

Function at 0x477ab8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x4b6180], 0
jne 0x477adb
call fcn.00477a58
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x477b1a
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x4b5d80]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x477aee
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4820ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4820da
mov eax, ebx
call fcn.00482b50
cmp dword [ebx + 0x3c], 0
je 0x4820d3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48214b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x48213d
cmp dword [ebx + 8], 0
je 0x4820fc
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 0x48210e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48213d
cmp dword [ebx + 8], 0
je 0x4820ef
cmp eax, 3
je 0x482121
dec eax
jne 0x4820ef
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 0x4820ef
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4820ef
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x482169
cmp dword [ebx + 0x10], 0xcc
je 0x482169
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.00482174
pop ebx
ret
Function at 0x48c5e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x48c607
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x48c78e
cmp dword [0x4b6260], 0
jne 0x48c615
call fcn.0048c548
xor dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 8
jb 0x48c751
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 8
jae 0x48c623
cmp dword [ebp - 0xc], 0
jbe 0x48c785
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [0x4b6260]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
ja 0x48c757
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4aa388
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4aa412
xor edx, edx
push ebp
push 0x4aa3f3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa412
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4ab634
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4ab6fc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4ab700
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4ab6fc
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ab6f3
xor eax, eax
push ebp
push 0x4ab6ec
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab6f3
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ad548
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ad5b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4b3724]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4ad59b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004ad530
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ad2c4]
call fcn.004ad5dc
mov dword [0x4b3788], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad5b8
lea eax, [ebp - 8]
call fcn.00405bb4
ret
Function at 0x4524f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d9dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ce0ba
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x452572
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cbcfb
mov eax, dword [eax]
push 0x66de8c
push eax
call fcn.004bddc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ce345
test bl, bl
je 0x452572
push 0x66de8c
lea ecx, [esp + 0xc]
call fcn.004ce6d5
push 0x66de98
lea ecx, [esp + 0xc]
call fcn.004ce6d5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4525ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ce345
jmp 0x452679
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x452632
lea edx, [esp + 0x7c]
push 0x66de94
push edx
call fcn.004bddc4
add esp, 8
test eax, eax
je 0x452632
lea eax, [esp + 0x7c]
push 0x66de90
push eax
call fcn.004bddc4
add esp, 8
test eax, eax
je 0x452632
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4525c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ce345
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x452e90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x452ef2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc