joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43adec
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 0x43ae08
cmp dword [esi + 4], 0
je 0x43ae35
test byte [ebx + 0x55], 1
jne 0x43ae27
mov eax, ebx
call fcn.0043998c
test eax, eax
jne 0x43ae27
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43af45
mov edx, esi
mov eax, ebx
call fcn.0043a910
jmp 0x43af45
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 0x43af3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043cc5c
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.00437628
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043adec
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.0043cc5c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43af45
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 0x441618
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46fb14]
cmp byte [eax + 0xc], 0
je 0x441785
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44177e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x470b90], 0
jne 0x44166c
push 0x44178c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x441794
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b90], eax
cmp dword [0x46ebbc], 0
jne 0x441767
push 0x4417a4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ebbc], eax
cmp dword [0x46ebbc], 0
je 0x441767
push 0x4417b0
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b94], eax
push 0x4417c0
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b98], eax
push 0x4417d4
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470b9c], eax
push 0x4417ec
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470ba0], eax
push 0x441804
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470ba4], eax
push 0x441818
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470ba8], eax
push 0x441830
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bac], eax
push 0x441848
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb0], eax
push 0x441864
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb4], eax
push 0x441870
mov eax, dword [0x46ebbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441785
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445610
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.00404464
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44565f
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.004046d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44cd9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44cdec]
test si, 4
je 0x44cdb0
or bl, 1
test si, 8
je 0x44cdba
or bl, 4
test si, 1
je 0x44cdc4
or bl, 8
test si, 2
je 0x44cdce
or bl, 0x10
test si, 0x10
je 0x44cdd8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cde7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44cdf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ce28]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ce09
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ce18
or bl, 4
test esi, 0x20000000
je 0x44ce23
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4534d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4534e2
add esp, 0xfffffff0
call fcn.00403a38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419b94
mov eax, dword [0x46f7d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x453874
mov eax, dword [0x46f7dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x453880
mov eax, ebx
call fcn.0045388c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
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, 0x44fca8
push eax
push 0
push 0
mov eax, dword [0x46f924]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b5f8]
call fcn.0041cd6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b5f8]
call fcn.0041cd6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b5f8]
call fcn.0041cd6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453cac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453b88
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453b88
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453b88
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45361f
call fcn.00403a90
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45396c
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 0x453b17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453af8
mov dl, 1
mov eax, dword [0x4122a8]
call fcn.004036e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404464
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453ae7
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.00441978
test al, al
je 0x453ada
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, 0x453b28
lea eax, [ebp - 0x254]
call fcn.004090f8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453ada
xor eax, eax
push ebp
push 0x453ad3
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 0x453b60
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453abc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
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 0x453abc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ada
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4539dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415d84
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 0x453b1e
lea eax, [ebp - 0x260]
call fcn.00404464
ret

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

Disassembly:
push ecx
mov eax, dword [0x470bdc]
cmp byte [eax + 0xa5], 0
jne 0x4544bd
cmp dword [0x470bf4], 0
jne 0x45447e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454408
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470bf4], eax
cmp dword [0x470bf0], 0
jne 0x454499
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x470bf0], eax
cmp dword [0x470bf8], 0
jne 0x4544bd
push esp
push 0
push 0
push 0x4543ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x470bf8], eax
pop edx
ret
Function at 0x4545b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4545cb
add esp, 0xfffffff0
call fcn.00403a38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419b94
mov eax, dword [0x46f910]
cmp word [eax + 2], 0
jne 0x4545f3
mov eax, dword [0x46f910]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455d1c
mov eax, dword [0x46f9c0]
cmp word [eax + 2], 0
jne 0x45460d
mov eax, dword [0x46f9c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455f14
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e8c]
call fcn.004036e4
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 [0x41c0d8]
call fcn.00423800
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454794
mov eax, dword [0x46f834]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423bd0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4564b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46f834]
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.0040c8d4
test eax, eax
je 0x454702
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408aec
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8fc
test eax, eax
je 0x454716
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.004046d4
mov eax, dword [0x46f71c]
cmp byte [eax], 0
jne 0x45474a
mov eax, ebx
call fcn.004548bc
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.00456690
mov eax, ebx
call fcn.00457054
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45478a
call fcn.00403a90
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454b3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470bdc]
cmp dword [eax + 0x30], 0
je 0x454be6
cmp dword [ebx + 0x94], 0
jne 0x454be0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454acc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454be0
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 0x454ba6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454be0
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.004141f4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454bb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455748
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 0x45577d
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.00404554
jmp 0x45578a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45686c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4568ad
mov eax, esi
call fcn.0043cf60
test al, al
je 0x4568ad
mov eax, dword [ebx + 0x84]
call fcn.0043cc5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4568ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043cc5c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459f74
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x459fa2
mov eax, ebx
call fcn.0045aa28
cmp dword [ebx + 0x40], 0
je 0x459f9b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a013
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a005
cmp dword [ebx + 8], 0
je 0x459fc4
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 0x459fd6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a005
cmp dword [ebx + 8], 0
je 0x459fb7
cmp eax, 3
je 0x459fe9
dec eax
jne 0x459fb7
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 0x459fb7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x459fb7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a031
cmp dword [ebx + 0x14], 0xcc
je 0x45a031
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.0045a03c
pop ebx
ret
Function at 0x46b0a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404914
xor eax, eax
push ebp
push 0x46b1b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x46b187
push 0xff
lea eax, [ebp - 0x107]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
mov esi, eax
lea eax, [ebp - 8]
lea edx, [ebp - 0x107]
mov ecx, 0xff
call fcn.004046d4
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404984
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00408084
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 8]
call fcn.004044fc
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 4]
call fcn.00408084
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
call fcn.004044fc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404a68
test eax, eax
jne 0x46b187
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x46b0ee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b1b9
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404488
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404488
ret

Function at 0x433000
Capabilities:
Check for vm using instruction vpcext
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x550b4ad0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6d1f4a59
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x465440
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x4655dc
pushal
mov esi, section.UPX1
lea edi, [esi - 0x44000]
push edi
or ebp, 0xffffffff
jmp 0x46546a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x465471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x465460
mov eax, 1
add ebx, ebx
jne 0x465483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x465494
jne 0x4654a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4654a4
dec eax
add ebx, ebx
jne 0x4654a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x465478
xor ecx, ecx
sub eax, 3
jb 0x4654bc
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46552e
sar eax, 1
mov ebp, eax
jmp 0x4654c7
add ebx, ebx
jne 0x4654c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4654d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4654f8
inc ecx
add ebx, ebx
jne 0x4654e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4654d9
jne 0x4654f5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4654d9
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465518
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465509
jmp 0x465466
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465518
add edi, ecx
jmp 0x465466
pop esi
mov edi, esi
mov ecx, 0xf7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465536
cmp byte [edi], 1
jne 0x465536
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x46553b
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x4655aa
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6524c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6529c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465568
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x652a0]
or eax, eax
je 0x4655a4
mov dword [ebx], eax
add ebx, 4
jmp 0x465585
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4655db
cmp al, 0xef
ja 0x4655ce
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4655b0
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4655bd
popal
jmp 0x4034d4
Function at 0x1000789c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100078db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100078db
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100078db
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100078db
cmp dword [ecx + 0x74], 0xe
jbe 0x100078db
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000a269
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000a306
push ebx
push esi
call fcn.1000a232
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000a1c6
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000a2b3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a305
push edi
push eax
call fcn.10008b67
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000a2d3
call fcn.10008bb5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a304
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000a1c6
add esp, 0x20
test eax, eax
jne 0x1000a2f2
push edi
call fcn.10008bb5
jmp 0x1000a2fa
push ebx
call fcn.10008bb5
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000a573
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10011a38
push 0x10011a30
push str.FlsAlloc
push 0x1f
call fcn.1000a48f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a5a7
push dword [ebp + 8]
mov ecx, esi
call dword [0x10010158]
call esi
jmp 0x1000a5ad
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000a5f1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10011a48
push 0x10011a40
push str.FlsGetValue
push 0x21
call fcn.1000a48f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a628
push dword [ebp + 8]
mov ecx, esi
call dword [0x10010158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000a630
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10011a50
push 0x10011a48
push str.FlsSetValue
push 0x22
call fcn.1000a48f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a66a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10010158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]