joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4444a4
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 0x4444c0
cmp dword [esi + 4], 0
je 0x4444ed
test byte [ebx + 0x55], 1
jne 0x4444df
mov eax, ebx
call fcn.00443044
test eax, eax
jne 0x4444df
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4445fd
mov edx, esi
mov eax, ebx
call fcn.00443fc8
jmp 0x4445fd
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 0x4445f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446374
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.00440bb8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004444a4
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.00446374
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4445fd
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 0x44ad3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c05fc]
cmp byte [eax + 0xc], 0
je 0x44aea9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44aea2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c1b30], 0
jne 0x44ad90
push 0x44aeb0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44aeb8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b30], eax
cmp dword [0x4bedf4], 0
jne 0x44ae8b
push 0x44aec8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bedf4], eax
cmp dword [0x4bedf4], 0
je 0x44ae8b
push 0x44aed4
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b34], eax
push 0x44aee4
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b38], eax
push 0x44aef8
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b3c], eax
push 0x44af10
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b40], eax
push 0x44af28
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b44], eax
push 0x44af3c
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b48], eax
push 0x44af54
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b4c], eax
push 0x44af6c
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b50], eax
push 0x44af88
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b54], eax
push 0x44af94
mov eax, dword [0x4bedf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c1b58], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aea9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ed5c
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.00404698
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44edab
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.00404908
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456674]
test si, 4
je 0x456638
or bl, 1
test si, 8
je 0x456642
or bl, 4
test si, 1
je 0x45664c
or bl, 8
test si, 2
je 0x456656
or bl, 0x10
test si, 0x10
je 0x456660
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45666f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x456678
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4566b0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456691
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4566a0
or bl, 4
test esi, 0x20000000
je 0x4566ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45cd8c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cd9e
add esp, 0xfffffff0
call fcn.00403b64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423f5c
mov eax, dword [0x4c0134]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d130
mov eax, dword [0x4c0148]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d13c
mov eax, ebx
call fcn.0045d148
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b724]
call fcn.004037fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b724]
call fcn.004037fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b724]
call fcn.004037fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b724]
call fcn.004037fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b724]
call fcn.004037fc
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, 0x459560
push eax
push 0
push 0
mov eax, dword [0x4c032c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425a2c]
call fcn.00427264
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425a2c]
call fcn.00427264
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425a2c]
call fcn.00427264
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d5bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d484
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d484
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d484
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cedb
call fcn.00403bbc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d244
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d414
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d3f5
mov dl, 1
mov eax, dword [0x41bd88]
call fcn.004037fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404698
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x45d3e4
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0044b09c
test al, al
jne 0x45d2e1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d3d7
xor edx, edx
push ebp
push 0x45d3d0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d301
mov ebx, dword [ebp - 0x10]
jmp 0x45d303
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x45d424
lea eax, [ebp - 0x258]
call fcn.0040a0e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d3b9
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x45d45c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d3b9
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404908
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d3b9
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3d7
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x45d2c2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004200f4
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 0x45d41b
lea eax, [ebp - 0x264]
call fcn.00404698
ret
Function at 0x45dd5c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c1b7c]
cmp byte [eax + 0xa5], 0
jne 0x45ddcd
cmp dword [0x4c1b94], 0
jne 0x45dd8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45dd18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c1b94], eax
cmp dword [0x4c1b90], 0
jne 0x45dda9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c1b90], eax
cmp dword [0x4c1b98], 0
jne 0x45ddcd
push esp
push 0
push 0
push 0x45dcbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c1b98], eax
pop edx
ret

Function at 0x45e460
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c1b7c]
cmp dword [eax + 0x30], 0
je 0x45e50a
cmp dword [ebx + 0x94], 0
jne 0x45e504
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e3f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e504
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 0x45e4ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e504
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.0041dce8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e4d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f068
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 0x45f09d
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.00404788
jmp 0x45f0aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4601bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4601fd
mov eax, esi
call fcn.00446678
test al, al
je 0x4601fd
mov eax, dword [ebx + 0x84]
call fcn.00446374
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4601fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446374
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x460fc8
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 [0x41acc4]
call fcn.0040517c
xor eax, eax
push ebp
push 0x46110c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bf028], 0
jne 0x46101b
mov ecx, dword [0x4c002c]
mov dl, 1
mov eax, dword [0x407fac]
call fcn.0040d1dc
call fcn.00404090
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031d0
mov eax, ebx
call fcn.00404f30
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46111c
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.00406604
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f40
test eax, eax
jle 0x4610b3
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 0x4610ac
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404920
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404908
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408eb4
test eax, eax
jne 0x4610ac
mov ebx, 0x15
jmp 0x4610b8
mov ebx, 0x10
jmp 0x4610b8
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 [0x4bf028]
call fcn.00460e40
mov eax, dword [ebp - 8]
call fcn.00460e40
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040661c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461113
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046bc
lea eax, [ebp - 0x10]
mov edx, dword [0x41acc4]
call fcn.0040524c
ret

Function at 0x482e74
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x482e99
cmp dword [esp + 4], 5
jb 0x482e99
mov al, 1
jmp 0x482e9b
xor eax, eax
add esp, 0x94
ret
Function at 0x493ac4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404b58
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x493b1c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c0608]
mov dl, 1
mov eax, dword [0x49367c]
call fcn.0040d218
call fcn.00404090
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00493784
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4988a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4988d2
mov eax, ebx
call fcn.00499358
cmp dword [ebx + 0x40], 0
je 0x4988cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x498943
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x498935
cmp dword [ebx + 8], 0
je 0x4988f4
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 0x498906
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x498935
cmp dword [ebx + 8], 0
je 0x4988e7
cmp eax, 3
je 0x498919
dec eax
jne 0x4988e7
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 0x4988e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4988e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x498961
cmp dword [ebx + 0x14], 0xcc
je 0x498961
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.0049896c
pop ebx
ret
Function at 0x407278
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x14]
push esi
mov esi, edx
mov dword [ebp - 0x38], ebx
push edi
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.004071bc
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add edi, 0x23f
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [0x1a2d694]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x407300
push 0x401118
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [0x1a2d694]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1a2d6d8]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x1a2d6d8], eax
mov eax, dword [0x1a2d6e0]
cmove eax, dword [ebp - 0x24]
mov dword [0x1a2d6e0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x1a2d6dc], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
cmp dword [0x1a2d694], 0xb03
jne 0x4073d7
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x40111c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4072c8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
pop edi
pop esi
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407421
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x40745f
cmp dword [0x1a2d694], 0x959
jne 0x40744f
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00407278
add edi, 8
dec esi
jne 0x407431
pop edi
pop esi
pop ebp
ret 4
Function at 0x410bff
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43bcd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a833
mov dword [ebp - 0x14], eax
cmp dword [0x1a2e474], esi
jne 0x410cf2
push 0x800
push esi
push 0x40515c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410dd2
push esi
push esi
push 0x40515c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410dd2
push 0x405174
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410dd2
push eax
call ebx
push 0x405180
push edi
mov dword [0x1a2e474], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405190
push edi
mov dword [0x1a2e478], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4051a4
push edi
mov dword [0x1a2e47c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a2e484], eax
test eax, eax
je 0x410cef
push 0x4051c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a2e480], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410d17
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410d0a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410d2c
push 4
pop eax
jmp 0x410dd4
cmp dword [ebp - 0x14], esi
je 0x410d2c
push dword [0x1a2e474]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410d11
mov eax, dword [0x1a2e480]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410d8a
cmp dword [0x1a2e484], edi
je 0x410d8a
push eax
call ebx
push dword [0x1a2e484]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410d8a
test eax, eax
je 0x410d8a
call ecx
test eax, eax
je 0x410d7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410d7f
test byte [ebp - 8], 1
jne 0x410d8a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410dba
mov eax, dword [0x1a2e478]
cmp eax, edi
je 0x410db7
push eax
call ebx
test eax, eax
je 0x410db7
call eax
mov esi, eax
test esi, esi
je 0x410db7
mov eax, dword [0x1a2e47c]
cmp eax, edi
je 0x410db7
push eax
call ebx
test eax, eax
je 0x410db7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1a2e474]
call ebx
test eax, eax
je 0x410dd2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410dd4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e6e
mov esp, ebp
pop ebp
ret