joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447dc4
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 0x447de0
cmp dword [esi + 4], 0
je 0x447e0d
test byte [ebx + 0x55], 1
jne 0x447dff
mov eax, ebx
call fcn.00446964
test eax, eax
jne 0x447dff
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x447f1d
mov edx, esi
mov eax, ebx
call fcn.004478e8
jmp 0x447f1d
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 0x447f16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00449c6c
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.00444600
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00447dc4
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.00449c6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447f1d
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 0x44e5e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b7904]
cmp byte [eax + 0xc], 0
je 0x44e751
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e74a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b8b94], 0
jne 0x44e638
push 0x44e758
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44e760
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8b94], eax
cmp dword [0x4b4e80], 0
jne 0x44e733
push 0x44e770
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b4e80], eax
cmp dword [0x4b4e80], 0
je 0x44e733
push 0x44e77c
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8b98], eax
push 0x44e78c
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8b9c], eax
push 0x44e7a0
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8ba0], eax
push 0x44e7b8
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8ba4], eax
push 0x44e7d0
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8ba8], eax
push 0x44e7e4
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8bac], eax
push 0x44e7fc
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8bb0], eax
push 0x44e814
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8bb4], eax
push 0x44e830
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8bb8], eax
push 0x44e83c
mov eax, dword [0x4b4e80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b8bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e751
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45263c
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.004041d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45268b
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.00404448
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459ff4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a044]
test si, 4
je 0x45a008
or bl, 1
test si, 8
je 0x45a012
or bl, 4
test si, 1
je 0x45a01c
or bl, 8
test si, 2
je 0x45a026
or bl, 0x10
test si, 0x10
je 0x45a030
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a03f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45a048
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a080]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a061
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a070
or bl, 4
test esi, 0x20000000
je 0x45a07b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460728
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46073a
add esp, 0xfffffff0
call fcn.004037ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422608
mov eax, dword [0x4b72e8]
mov dword [eax + 4], ebx
mov dword [eax], 0x460acc
mov eax, dword [0x4b72f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x460ad8
mov eax, ebx
call fcn.00460ae4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
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, 0x45cf00
push eax
push 0
push 0
mov eax, dword [0x4b7580]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424084]
call fcn.00425898
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424084]
call fcn.00425898
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424084]
call fcn.00425898
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460f04
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460de0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460de0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460de0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460877
call fcn.00403804
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460bc4
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 0x460d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460d50
mov dl, 1
mov eax, dword [0x41a2c4]
call fcn.00403458
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460d3f
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.0044e944
test al, al
je 0x460d32
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, 0x460d80
lea eax, [ebp - 0x254]
call fcn.00409824
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460d32
xor eax, eax
push ebp
push 0x460d2b
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 0x460db8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460d14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404448
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 0x460d14
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460d32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460c35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e7f8
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 0x460d76
lea eax, [ebp - 0x260]
call fcn.004041d8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b8be0]
cmp byte [eax + 0xa5], 0
jne 0x461715
cmp dword [0x4b8bf8], 0
jne 0x4616d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x461660
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b8bf8], eax
cmp dword [0x4b8bf4], 0
jne 0x4616f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b8bf4], eax
cmp dword [0x4b8bfc], 0
jne 0x461715
push esp
push 0
push 0
push 0x461604
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b8bfc], eax
pop edx
ret
Function at 0x46180c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x461823
add esp, 0xfffffff0
call fcn.004037ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422608
mov eax, dword [0x4b7564]
cmp word [eax + 2], 0
jne 0x46184b
mov eax, dword [0x4b7564]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462f8c
mov eax, dword [0x4b76a8]
cmp word [eax + 2], 0
jne 0x461865
mov eax, dword [0x4b76a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463184
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419c60]
call fcn.00403458
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 [0x424c04]
call fcn.0042c95c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4619ec
mov eax, dword [0x4b73a8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cd2c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463734
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b73a8]
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.0040d730
test eax, eax
je 0x46195a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004091e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d758
test eax, eax
je 0x46196e
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.00404448
mov eax, dword [0x4b7154]
cmp byte [eax], 0
jne 0x4619a2
mov eax, ebx
call fcn.00461b14
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.00463910
mov eax, ebx
call fcn.004642d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4619e2
call fcn.00403804
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461d94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b8be0]
cmp dword [eax + 0x30], 0
je 0x461e3e
cmp dword [ebx + 0x94], 0
jne 0x461e38
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461d24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461e38
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 0x461dfe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461e38
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.0041c210
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461e0d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4629a0
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 0x4629d5
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.004042c8
jmp 0x4629e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040422c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463aec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463b2d
mov eax, esi
call fcn.00449f70
test al, al
je 0x463b2d
mov eax, dword [ebx + 0x84]
call fcn.00449c6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463b2d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449c6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4647ec
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419210]
call fcn.00404b70
xor eax, eax
push ebp
push 0x464930
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b50b4], 0
jne 0x46483f
mov ecx, dword [0x4b7194]
mov dl, 1
mov eax, dword [0x407860]
call fcn.0040c890
call fcn.00403c14
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e24
mov eax, ebx
call fcn.00404a40
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x464940
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405e18
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a50
test eax, eax
jle 0x4648d7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4648d0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404460
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404448
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408730
test eax, eax
jne 0x4648d0
mov ebx, 0x15
jmp 0x4648dc
mov ebx, 0x10
jmp 0x4648dc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b50b4]
call fcn.00464744
mov eax, dword [ebp - 8]
call fcn.00464744
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464937
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041fc
lea eax, [ebp - 0x10]
mov edx, dword [0x419210]
call fcn.00404c40
ret

Function at 0x48ba83
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4b5faa
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48badb
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4b5fcb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48bad1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48badf
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49e678
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push 0
push 1
push 0x49e6b0
call sub.wininet.dll_InternetCheckConnectionA
cmp eax, 1
sbb ebx, ebx
inc ebx
push 0
push 1
push 0x49e6c8
call sub.wininet.dll_InternetCheckConnectionA
cmp eax, 1
sbb eax, eax
inc eax
or bl, al
je 0x49e6a9
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x4a2a70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a2a9e
mov eax, ebx
call fcn.004a3524
cmp dword [ebx + 0x40], 0
je 0x4a2a97
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a2b0f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a2b01
cmp dword [ebx + 8], 0
je 0x4a2ac0
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 0x4a2ad2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a2b01
cmp dword [ebx + 8], 0
je 0x4a2ab3
cmp eax, 3
je 0x4a2ae5
dec eax
jne 0x4a2ab3
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 0x4a2ab3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a2ab3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a2b2d
cmp dword [ebx + 0x14], 0xcc
je 0x4a2b2d
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.004a2b38
pop ebx
ret

Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [0x40408c]
push edi
push 0x10000
push 2
call esi
mov edi, dword [0x4040c8]
push eax
mov dword [0x405434], eax
call edi
push 0x8040
push 2
mov dword [0x405430], eax
call esi
push eax
mov dword [0x40546c], eax
call edi
push 0x400
push 2
mov dword [0x40545c], eax
call esi
push eax
mov dword [0x40544c], eax
call edi
mov dword [0x405438], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x405438]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x4020a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020b2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4020eb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020e5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405438]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x4b2cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001dfcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x38], ebx
mov eax, dword [0x10026c5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
mov byte [esp + 0x4c], 5
call fcn.004c5635
cmp eax, ebx
je 0x4b2d1f
push 0
push 0
push 0x10026a54
call fcn.004c51ea
mov esi, dword [esp + 0x40]
push 0x1002a284
mov ecx, esi
call fcn.004c0204
mov dword [esp + 0x14], ebx
jmp 0x4b2daa
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004bff0b
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x44], 6
call fcn.004bff0b
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x48], 7
call fcn.004bff0b
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x4c], 8
call fcn.004bff0b
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 5
push ecx
mov ecx, esi
call fcn.004b2e07
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x3c], 9
call fcn.004bff0b
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x38], 5
call fcn.004c0196
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call fcn.004c0196
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.004c0196
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call fcn.004c0196
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], bl
call fcn.004c0196
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 0
call fcn.004c0196
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 0x10

Function at 0x4c5b0d
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x1001e20f
call fcn.004b436f
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004c3d58
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x10026c5c]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], 0x1001fa14
call fcn.004c02d3
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004c02d3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18