joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a5e0
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 0x45a5fc
cmp dword [esi + 4], 0
je 0x45a629
test byte [ebx + 0x55], 1
jne 0x45a61b
mov eax, ebx
call fcn.00459180
test eax, eax
jne 0x45a61b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45a739
mov edx, esi
mov eax, ebx
call fcn.0045a104
jmp 0x45a739
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 0x45a732
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045c450
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.00456e1c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045a5e0
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.0045c450
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a739
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 0x45dac8
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4ac0dc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x45dca1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00455c98
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00456ec0
mov eax, dword [esi]
call fcn.00473bc8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x45db3a
mov eax, dword [esi]
call fcn.00473bc8
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00473bd4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x45db5e
mov eax, dword [esi]
call fcn.00473bd4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00473bbc
cmp eax, dword [ebp - 0x18]
jle 0x45db74
mov eax, dword [esi]
call fcn.00473bbc
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00473bb0
cmp eax, dword [ebp - 0xc]
jle 0x45db8a
mov eax, dword [esi]
call fcn.00473bb0
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0045c450
push eax
call sub.user32.dll_SetWindowPos
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x45dc51
mov eax, ebx
call fcn.00404750
cmp eax, 0x64
jge 0x45dc51
cmp dword [0x4a9e04], 0
je 0x45dc51
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x45dc51
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x45dc14
mov bl, 2
jmp 0x45dc2f
lea edx, [ebp - 0x20]
mov eax, dword [0x4adb24]
call fcn.00460d60
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x45dc2d
xor ebx, ebx
jmp 0x45dc2f
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4a9f0c]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0045c450
push eax
call dword [0x4a9e04]
mov eax, dword [0x4abe84]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00459b84
push 4
mov eax, dword [ebp - 4]
call fcn.0045c450
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dca8
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x460e70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ac114]
cmp byte [eax + 0xc], 0
je 0x460fdd
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460fd6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4adb78], 0
jne 0x460ec4
push 0x460fe4
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x460fec
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb78], eax
cmp dword [0x4a9f34], 0
jne 0x460fbf
push 0x460ffc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4a9f34], eax
cmp dword [0x4a9f34], 0
je 0x460fbf
push 0x461008
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb7c], eax
push 0x461018
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb80], eax
push 0x46102c
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb84], eax
push 0x461044
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb88], eax
push 0x46105c
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb8c], eax
push 0x461070
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb90], eax
push 0x461088
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb94], eax
push 0x4610a0
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb98], eax
push 0x4610bc
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adb9c], eax
push 0x4610c8
mov eax, dword [0x4a9f34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4adba0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460fdd
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x46d228
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46d278]
test si, 4
je 0x46d23c
or bl, 1
test si, 8
je 0x46d246
or bl, 4
test si, 1
je 0x46d250
or bl, 8
test si, 2
je 0x46d25a
or bl, 0x10
test si, 0x10
je 0x46d264
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46d273
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46d27c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46d2b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46d295
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46d2a4
or bl, 4
test esi, 0x20000000
je 0x46d2af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x473978
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47398a
add esp, 0xfffffff0
call fcn.004039f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424ef0
mov eax, dword [0x4abb2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x473d1c
mov eax, dword [0x4abb40]
mov dword [eax + 4], ebx
mov dword [eax], 0x473d28
mov eax, ebx
call fcn.00473d34
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a20c]
call fcn.00403650
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a20c]
call fcn.00403650
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a20c]
call fcn.00403650
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a20c]
call fcn.00403650
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a20c]
call fcn.00403650
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, 0x47014c
push eax
push 0
push 0
mov eax, dword [0x4abd9c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426984]
call fcn.0042811c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426984]
call fcn.0042811c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426984]
call fcn.0042811c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00474238
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4740b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4740b8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4740b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x473ac7
call fcn.00403a50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x473e9c
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 0x474047
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x474028
mov dl, 1
mov eax, dword [0x41a870]
call fcn.00403650
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404490
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x474017
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.004611d0
test al, al
je 0x47400a
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, 0x474058
lea eax, [ebp - 0x254]
call fcn.0040a22c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47400a
xor eax, eax
push ebp
push 0x474003
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 0x474090
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x473fec
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404700
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 0x473fec
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404700
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47400a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x473f0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041eef0
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 0x47404e
lea eax, [ebp - 0x260]
call fcn.00404490
ret

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

Disassembly:
push ecx
mov eax, dword [0x4adbc4]
cmp byte [eax + 0xa5], 0
jne 0x474a49
cmp dword [0x4adbdc], 0
jne 0x474a0a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x474994
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4adbdc], eax
cmp dword [0x4adbd8], 0
jne 0x474a25
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4adbd8], eax
cmp dword [0x4adbe0], 0
jne 0x474a49
push esp
push 0
push 0
push 0x474938
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4adbe0], eax
pop edx
ret
Function at 0x4750dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4adbc4]
cmp dword [eax + 0x30], 0
je 0x475186
cmp dword [ebx + 0x94], 0
jne 0x475180
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47506c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x475180
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 0x475146
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x475180
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.0041ca5c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x475155
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x475ce4
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 0x475d19
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.00404580
jmp 0x475d26
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x476ec8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x476f09
mov eax, esi
call fcn.0045c754
test al, al
je 0x476f09
mov eax, dword [ebx + 0x84]
call fcn.0045c450
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x476f09
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045c450
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x478f98
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
test esi, esi
je 0x479016
cmp esi, ebx
je 0x479016
push 0x8000
push 0
push esi
call sub.KERNEL32.DLL_VirtualFree
inc edi
jmp 0x47908f
test esi, esi
jne 0x479098
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.KERNEL32.DLL_VirtualQuery
cmp dword [esp + 0x40], 0x118
jb 0x47908c
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x47908c
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x47908c
cmp eax, dword [ebx]
jne 0x47908c
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x47908c
cmp eax, dword [ebx + 0x110]
jne 0x47908c
lea eax, [ebx + 8]
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402fc8
je 0x479098
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x478fcf
xor eax, eax
test esi, esi
je 0x4790fe
cmp esi, ebx
jne 0x47911a
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.00402f1c
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x47911a
test ebx, ebx
je 0x47911a
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x479fe0
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 [0x4199d8]
call fcn.004051a8
xor eax, eax
push ebp
push 0x47a124
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aa1d8], 0
jne 0x47a033
mov ecx, dword [0x4ab9d4]
mov dl, 1
mov eax, dword [0x407e90]
call fcn.0040d274
call fcn.00403e60
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403038
mov eax, ebx
call fcn.00404dc8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47a134
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.00406308
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dd8
test eax, eax
jle 0x47a0cb
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 0x47a0c4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404718
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404700
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e70
test eax, eax
jne 0x47a0c4
mov ebx, 0x15
jmp 0x47a0d0
mov ebx, 0x10
jmp 0x47a0d0
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 [0x4aa1d8]
call fcn.00479f38
mov eax, dword [ebp - 8]
call fcn.00479f38
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a12b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004044b4
lea eax, [ebp - 0x10]
mov edx, dword [0x4199d8]
call fcn.00405278
ret

Function at 0x47bb5c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47bc03
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404950
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47bbed
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404adc
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404950
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47bbed
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47bc14
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47bbed
cmp dword [ebp - 8], 0x34
jne 0x47bbed
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bc0a
lea eax, [ebp - 0x10]
call fcn.00404490
ret
Function at 0x47c884
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ca44
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403038
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4aa940], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4aa944], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4aa948], eax
mov eax, dword [0x4ac104]
cmp dword [eax], 2
sete byte [0x4aa3f8]
push 0x47ca50
call sub.KERNEL32.DLL_GetModuleHandleA
lea edx, [ebp - 4]
call fcn.0047bb2c
cmp byte [0x4aa3f8], 0
jne 0x47c910
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047bb5c
test al, al
je 0x47c910
mov eax, dword [ebp - 0x4c]
mov dword [0x4ae170], eax
jmp 0x47c917
xor eax, eax
mov dword [0x4ae170], eax
call fcn.0047c5fc
and eax, 0x7f
cmp eax, 0x10
ja case.0x47c928.0
jmp dword [eax*4 + 0x47c92f]
mov byte [0x4aa3e4], 1
jmp case.0x47c928.0
mov byte [0x4aa3e8], 1
jmp case.0x47c928.0
mov byte [0x4aa3ec], 1
jmp case.0x47c928.0
mov byte [0x4aa3f0], 1
jmp case.0x47c928.0
mov byte [0x4aa3f4], 1
jmp case.0x47c928.0
mov byte [0x4aa3fc], 1
mov byte [0x4aa400], 1
jmp case.0x47c928.0
mov byte [0x4aa3fc], 1
mov byte [0x4aa404], 1
jmp case.0x47c928.0
mov byte [0x4aa3fc], 1
mov byte [0x4aa404], 1
mov byte [0x4aa408], 1
jmp case.0x47c928.0
mov byte [0x4aa40c], 1
jmp case.0x47c928.0
mov byte [0x4aa410], 1
jmp case.0x47c928.0
mov byte [0x4aa414], 1
jmp case.0x47c928.0
mov byte [0x4aa418], 1
jmp case.0x47c928.0
mov byte [0x4aa41c], 1
jmp case.0x47c928.0
mov byte [0x4aa420], 1
jmp case.0x47c928.0
mov byte [0x4aa424], 1
jmp case.0x47c928.0
mov byte [0x4aa428], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ca4b
lea eax, [ebp - 4]
call fcn.00404490
ret

Function at 0x4813fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48142a
mov eax, ebx
call fcn.00481eb0
cmp dword [ebx + 0x40], 0
je 0x481423
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48149b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48148d
cmp dword [ebx + 8], 0
je 0x48144c
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 0x48145e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48148d
cmp dword [ebx + 8], 0
je 0x48143f
cmp eax, 3
je 0x481471
dec eax
jne 0x48143f
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 0x48143f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48143f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4814b9
cmp dword [ebx + 0x14], 0xcc
je 0x4814b9
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.004814c4
pop ebx
ret