joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432a40
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 0x432a8c
mov eax, esi
call fcn.00448228
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432a8c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x432a8c
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 0x432bcb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432acc
cmp eax, 0x108
ja 0x432acc
mov eax, esi
call fcn.00448228
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432bc2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x432bcb
jmp 0x432bc2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x432bab
cmp eax, 0x20a
ja 0x432bab
test byte [esi + 0x50], 0x80
jne 0x432afe
sub eax, 0x203
je 0x432afb
sub eax, 3
je 0x432afb
sub eax, 3
jne 0x432afe
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x432b12
dec eax
je 0x432b27
dec eax
je 0x432b44
dec eax
je 0x432b27
jmp 0x432b4b
mov ecx, ebx
mov eax, dword [0x453fac]
mov eax, dword [eax]
mov edx, esi
call fcn.00451b80
jmp 0x432bc2
cmp byte [esi + 0x5d], 1
jne 0x432b3d
mov eax, esi
mov si, 0xffed
call fcn.00403698
jmp 0x432bcb
or word [esi + 0x54], 1
jmp 0x432bc2
and word [esi + 0x54], 0xfffe
jmp 0x432bc2
mov eax, dword [0x455ad0]
cmp byte [eax + 0x20], 0
je 0x432bc2
mov eax, dword [0x455ad0]
cmp dword [eax + 0x1c], 0
je 0x432bc2
mov eax, dword [ebx]
mov edx, dword [0x455ad0]
cmp eax, dword [edx + 0x1c]
jne 0x432bc2
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.0044816c
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.00403698
jmp 0x432bcb
cmp eax, 0xb00b
jne 0x432bc2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00431370
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 0x43614c
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 0x436168
cmp dword [esi + 4], 0
je 0x436195
test byte [ebx + 0x55], 1
jne 0x436187
mov eax, ebx
call fcn.00434cec
test eax, eax
jne 0x436187
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4362a5
mov edx, esi
mov eax, ebx
call fcn.00435c70
jmp 0x4362a5
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 0x43629e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437fbc
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.00432974
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043614c
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.00437fbc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4362a5
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 0x43c8c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x454104]
cmp byte [eax + 0xc], 0
je 0x43ca31
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ca2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455b24], 0
jne 0x43c918
push 0x43ca38
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43ca40
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b24], eax
cmp dword [0x453afc], 0
jne 0x43ca13
push 0x43ca50
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453afc], eax
cmp dword [0x453afc], 0
je 0x43ca13
push 0x43ca5c
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b28], eax
push 0x43ca6c
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b2c], eax
push 0x43ca80
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b30], eax
push 0x43ca98
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b34], eax
push 0x43cab0
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b38], eax
push 0x43cac4
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b3c], eax
push 0x43cadc
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b40], eax
push 0x43caf4
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b44], eax
push 0x43cb10
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b48], eax
push 0x43cb1c
mov eax, dword [0x453afc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ca31
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4408e4
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.0040421c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440933
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.0040448c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4480dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44812c]
test si, 4
je 0x4480f0
or bl, 1
test si, 8
je 0x4480fa
or bl, 4
test si, 1
je 0x448104
or bl, 8
test si, 2
je 0x44810e
or bl, 0x10
test si, 0x10
je 0x448118
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448127
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448168]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448149
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448158
or bl, 4
test esi, 0x20000000
je 0x448163
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e82c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e83e
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419a54
mov eax, dword [0x453df8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ebd0
mov eax, dword [0x453e04]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ebdc
mov eax, ebx
call fcn.0044ebe8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411c6c]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411c6c]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411c6c]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411c6c]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411c6c]
call fcn.00403460
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, 0x44b000
push eax
push 0
push 0
mov eax, dword [0x453f34]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b4ac]
call fcn.0041cc44
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b4ac]
call fcn.0041cc44
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b4ac]
call fcn.0041cc44
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f038
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ef00
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ef00
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ef00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e97b
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ece4
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 0x44ee8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ee70
mov dl, 1
mov eax, dword [0x412088]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040421c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44ee5f
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.0043cc24
test al, al
je 0x44ee52
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, 0x44eea0
lea eax, [ebp - 0x254]
call fcn.00408e98
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44ee52
xor eax, eax
push ebp
push 0x44ee4b
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 0x44eed8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ee34
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
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 0x44ee34
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ee52
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ed55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415bec
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 0x44ee96
lea eax, [ebp - 0x260]
call fcn.0040421c
ret

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

Disassembly:
push ecx
mov eax, dword [0x455b70]
cmp byte [eax + 0xa5], 0
jne 0x44f849
cmp dword [0x455b88], 0
jne 0x44f80a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f794
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x455b88], eax
cmp dword [0x455b84], 0
jne 0x44f825
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x455b84], eax
cmp dword [0x455b8c], 0
jne 0x44f849
push esp
push 0
push 0
push 0x44f738
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x455b8c], eax
pop edx
ret
Function at 0x44fedc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455b70]
cmp dword [eax + 0x30], 0
je 0x44ff86
cmp dword [ebx + 0x94], 0
jne 0x44ff80
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44fe6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ff80
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 0x44ff46
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ff80
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.00413fe8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ff55
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450ae4
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 0x450b19
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.0040430c
jmp 0x450b26
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451cc8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451d09
mov eax, esi
call fcn.00438294
test al, al
je 0x451d09
mov eax, dword [ebx + 0x84]
call fcn.00437fbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451d09
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437fbc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x403d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5796a2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x620514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [edi], vtable.RC::RCCrashClient.0
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 8]
push 0
call dword [sym.imp.BasicBusinessConfigCenter.dll_public:_void___thiscall_RC::DM::RCCloudDataUser::constructor_enum_RC::DM::RCConfigCenterCategory_]
mov byte [ebp - 4], 1
mov byte [edi + 0xc], 0
mov dword [ebp - 4], 2
push 0x148
mov dword [edi + 0x10], vtable.RC::RCSdkMonitorCtrlMgr.0
call fcn.0055e844
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea eax, [esi + 0x20]
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov byte [ebp - 4], 5
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], 7
mov word [eax + 0x30], cx
mov byte [ebp - 4], 6
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], 7
mov word [eax + 0x48], cx
mov byte [ebp - 4], 8
lea edx, [esi + 0x80]
mov dword [ebp - 0x14], edx
mov byte [edx], cl
lea ecx, [edx + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
add ecx, 8
call fcn.00426ae0
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edx + 0xb8], 0
mov dword [edx + 0xbc], 7
mov word [edx + 0xa8], ax
mov byte [ebp - 4], 0xc
mov byte [esi + 0x140], al
mov byte [ebp - 4], 2
mov dword [edi + 0x14], esi
mov byte [ebp - 4], 0xd
mov byte [edi + 0x18], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b8aa
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x620514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 0x10
call fcn.0055e844
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [ebp - 0x30], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00419800
mov dword [edi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 8]
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00419800
mov dword [esi], eax
mov byte [ebp - 4], 6
mov ecx, edi
call fcn.00411480
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
push str.logtofile
mov dword [eax + 0x58], edi
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov dword [edi + 0x68], eax
call fcn.0040ef00
mov dword [ebp - 4], 7
xor eax, eax
push 9
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str.MemUseLog
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00404900
mov byte [ebp - 4], 8
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x64]
call fcn.0043efc0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x413075
mov ecx, eax
call fcn.00404840
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.00404840
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.00404840
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [edi + 0x74]
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov ecx, edi
call fcn.00413110
lea eax, [edi + 0x70]
push eax
push 0
push edi
push 0x414e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x6c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e833
mov esp, ebp
pop ebp
ret
Function at 0x41f650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c8c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x620514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00420250
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov word [ecx + 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [ecx + 0x30], xmm0
xorps xmm0, xmm0
movq qword [ecx + 0x38], xmm0
mov dword [ecx + 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43d820
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x620514]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push 0x118
push 0
lea eax, [esi + 4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43d962
cmp dword [esi + 4], 6
push edi
ja 0x43d876
jne 0x43d8fe
cmp dword [esi + 8], 2
jb 0x43d8fe
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x43d8fe
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43d8fe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43d8fe
movups xmm0, xmmword [0x5d20e0]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x5d20f0]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x43d8fe
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43d8fe
cmp word [edi + 2], ax
jbe 0x43d8fe
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push 0x5cffac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43d949
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x43d949
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.0055e833
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.0055e833
add esp, 0x140
ret