joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d6c8
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 0x43d6e4
cmp dword [esi + 4], 0
je 0x43d711
test byte [ebx + 0x55], 1
jne 0x43d703
mov eax, ebx
call fcn.0043c268
test eax, eax
jne 0x43d703
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d821
mov edx, esi
mov eax, ebx
call fcn.0043d1ec
jmp 0x43d821
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 0x43d81a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f538
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.00439f04
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d6c8
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.0043f538
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d821
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 0x443ef4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45d240]
cmp byte [eax + 0xc], 0
je 0x444061
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44405a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45eb98], 0
jne 0x443f48
push 0x444068
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444070
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb98], eax
cmp dword [0x45cc00], 0
jne 0x444043
push 0x444080
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45cc00], eax
cmp dword [0x45cc00], 0
je 0x444043
push 0x44408c
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb9c], eax
push 0x44409c
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eba0], eax
push 0x4440b0
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eba4], eax
push 0x4440c8
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eba8], eax
push 0x4440e0
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebac], eax
push 0x4440f4
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebb0], eax
push 0x44410c
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebb4], eax
push 0x444124
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebb8], eax
push 0x444140
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebbc], eax
push 0x44414c
mov eax, dword [0x45cc00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ebc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444061
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447f08
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.00403eb8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447f57
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.00404128
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f69c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f6ec]
test si, 4
je 0x44f6b0
or bl, 1
test si, 8
je 0x44f6ba
or bl, 4
test si, 1
je 0x44f6c4
or bl, 8
test si, 2
je 0x44f6ce
or bl, 0x10
test si, 0x10
je 0x44f6d8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f6e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f6f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f728]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f709
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f718
or bl, 4
test esi, 0x20000000
je 0x44f723
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455dd0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455de2
add esp, 0xfffffff0
call fcn.0040348c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004193d8
mov eax, dword [0x45cf08]
mov dword [eax + 4], ebx
mov dword [eax], 0x456174
mov eax, dword [0x45cf14]
mov dword [eax + 4], ebx
mov dword [eax], 0x456180
mov eax, ebx
call fcn.0045618c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
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, 0x4525a8
push eax
push 0
push 0
mov eax, dword [0x45d058]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ae34]
call fcn.0041c5a8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ae34]
call fcn.0041c5a8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ae34]
call fcn.0041c5a8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004565ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456488
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456488
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456488
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455f1f
call fcn.004034e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45626c
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 0x456417
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4563f8
mov dl, 1
mov eax, dword [0x411aec]
call fcn.00403138
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403eb8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4563e7
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.00444254
test al, al
je 0x4563da
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, 0x456428
lea eax, [ebp - 0x254]
call fcn.00408a0c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4563da
xor eax, eax
push ebp
push 0x4563d3
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 0x456460
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4563bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404128
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 0x4563bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4563da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4562dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004155c8
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 0x45641e
lea eax, [ebp - 0x260]
call fcn.00403eb8
ret

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

Disassembly:
push ecx
mov eax, dword [0x45ebe4]
cmp byte [eax + 0xa5], 0
jne 0x456dbd
cmp dword [0x45ebfc], 0
jne 0x456d7e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456d08
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ebfc], eax
cmp dword [0x45ebf8], 0
jne 0x456d99
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ebf8], eax
cmp dword [0x45ec00], 0
jne 0x456dbd
push esp
push 0
push 0
push 0x456cac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ec00], eax
pop edx
ret
Function at 0x456eb4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456ecb
add esp, 0xfffffff0
call fcn.0040348c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004193d8
mov eax, dword [0x45d044]
cmp word [eax + 2], 0
jne 0x456ef3
mov eax, dword [0x45d044]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458634
mov eax, dword [0x45d0f0]
cmp word [eax + 2], 0
jne 0x456f0d
mov eax, dword [0x45d0f0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045882c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4116d0]
call fcn.00403138
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 [0x41b914]
call fcn.00422d80
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457094
mov eax, dword [0x45cf6c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423150
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458dcc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45cf6c]
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.0040c118
test eax, eax
je 0x457002
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408400
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c140
test eax, eax
je 0x457016
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.00404128
mov eax, dword [0x45ce58]
cmp byte [eax], 0
jne 0x45704a
mov eax, ebx
call fcn.004571bc
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.00458fa8
mov eax, ebx
call fcn.0045996c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45708a
call fcn.004034e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45743c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ebe4]
cmp dword [eax + 0x30], 0
je 0x4574e6
cmp dword [ebx + 0x94], 0
jne 0x4574e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4573cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4574e0
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 0x4574a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4574e0
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.00413a38
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4574b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458048
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 0x45807d
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.00403fa8
jmp 0x45808a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459184
Capabilities:
Hide graphical window

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

Function at 0x4f4add
Capabilities:
Encode data using xor

Disassembly:
push 0x4f486f
pop edi
sub esp, 4
mov dword [esp], edx
mov ebx, dword [esp]
add esp, 4
sub edx, edx
add edx, 0x75db1473
call fcn.004f4b25
and edx, ebx
and edx, edx
xor dword [esi], edi
add edx, 0xc2c63fad
add edx, 0x575bfd51
inc esi
dec edx
add edx, 1
cmp esi, ecx
jne fcn.004f4add
sub ebx, 0xf341df00
dec edx
ret
Function at 0x404e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0045353a

Function at 0x40b011
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.0040e061
push 0xf1
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40b0fa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x40b0fa
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40b0fa
movzx eax, word [edi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00405828
pop ecx
movzx ecx, word [edi + 6]
xor esi, esi
xor edx, edx
mov dword [ebp - 4], eax
mov eax, ecx
cmp si, cx
jae 0x40b0aa
mov ebx, dword [ebp - 4]
lea ecx, [edi + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov dword [ebx + edx*4], eax
inc edx
movzx esi, word [edi + 6]
cmp edx, esi
jl 0x40b093
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [ebp - 8]
movzx eax, ax
push eax
push dword [ebp - 4]
call fcn.0040b76b
push dword [ebp - 4]
mov esi, eax
call fcn.00405823
pop ecx
test esi, esi
je 0x40b0ef
movzx ecx, word [edi + 4]
movzx esi, word [edi + 2]
push ecx
push esi
lea eax, [ecx + 7]
mov ecx, dword [ebp - 8]
lea edx, [esi + 7]
push eax
push edx
call fcn.0040b937
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0040afc0
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x40b0fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44aea6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x44aeeb
call fcn.0040e061
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44aeeb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44af07
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004f1529
mov ebx, eax
test edi, edi
je 0x44af05
test esi, esi
je 0x44af05
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44b91a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x44b9d8
cmp dword [esi + 0x20], 0
je 0x44b9d8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44b9d8
cmp dword [ebp + 8], 0
je 0x44b9d8
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0040e061
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44b9a9
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44b9d8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004f1fca
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x44b9c9
test edi, edi
je 0x44b9c9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x44b9d4
mov ecx, esi
call fcn.0044b6bc
mov eax, ebx
jmp 0x44b9da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44ff58
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5806e9
call fcn.0055325f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x44ff7e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x44ffde
call fcn.004100f5
push eax
lea ecx, [ebp - 0x10]
call fcn.00402040
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x58f9fc]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00560de5
push eax
call fcn.00405f83
add esp, 0x14
test esi, esi
je 0x44ffd1
push esi
call fcn.005607b0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004020c0
mov eax, ebx
call fcn.00553228
ret 8

Function at 0x451dba
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x451e0d
push esi
push dword [ebp + 8]
call fcn.00451fa0
mov edi, eax
test edi, edi
je 0x451e08
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x451e08
mov eax, dword [ebp - 8]
jmp 0x451e1f
mov eax, dword [ebp + 0x10]
jmp 0x451e1f
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x45359f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0040e061
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4535d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004535f5
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x456be4
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0056205d
pop ecx
test eax, eax
jne 0x456c26
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040a289
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x456bec
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x460eff
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x584ce8
call fcn.0055325f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040ed25
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x460f5d
call fcn.0040e0af
cmp eax, 1
jne 0x460f5d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00418b5d
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040a413
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004020c0
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004020c0
mov eax, esi
call fcn.00553228
ret 0x10

Function at 0x460f84
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x584ce8
call fcn.0055325f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040ed25
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x460fe2
call fcn.0040e0af
cmp eax, 1
jne 0x460fe2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00418b5d
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040a413
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004020c0
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004020c0
mov eax, esi
call fcn.00553228
ret 0x14