joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4368a4
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 0x4368c0
cmp dword [esi + 4], 0
je 0x4368ed
test byte [ebx + 0x55], 1
jne 0x4368df
mov eax, ebx
call fcn.004354b0
test eax, eax
jne 0x4368df
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4369fd
mov edx, esi
mov eax, ebx
call fcn.004363c8
jmp 0x4369fd
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 0x4369f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043874c
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.004331cc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004368a4
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.0043874c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4369fd
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 0x43cebc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x463a68]
cmp byte [eax + 0xc], 0
je 0x43d029
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d022
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x464b68], 0
jne 0x43cf10
push 0x43d030
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43d038
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b68], eax
cmp dword [0x462b10], 0
jne 0x43d00b
push 0x43d048
call sub.kernel32.dll_LoadLibraryA
mov dword [0x462b10], eax
cmp dword [0x462b10], 0
je 0x43d00b
push 0x43d054
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b6c], eax
push 0x43d064
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b70], eax
push 0x43d078
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b74], eax
push 0x43d090
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b78], eax
push 0x43d0a8
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b7c], eax
push 0x43d0bc
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b80], eax
push 0x43d0d4
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b84], eax
push 0x43d0ec
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b88], eax
push 0x43d108
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b8c], eax
push 0x43d114
mov eax, dword [0x462b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d029
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x448880
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4488d0]
test si, 4
je 0x448894
or bl, 1
test si, 8
je 0x44889e
or bl, 4
test si, 1
je 0x4488a8
or bl, 8
test si, 2
je 0x4488b2
or bl, 0x10
test si, 0x10
je 0x4488bc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4488cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4488d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44890c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4488ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4488fc
or bl, 4
test esi, 0x20000000
je 0x448907
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44efb4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44efc6
add esp, 0xfffffff0
call fcn.004034a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cd50
mov eax, dword [0x4635fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f358
mov eax, dword [0x463608]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f364
mov eax, ebx
call fcn.0044f370
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
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, 0x44b78c
push eax
push 0
push 0
mov eax, dword [0x4637d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fee0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fee0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fee0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f790
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f66c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f66c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f66c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f103
call fcn.004034fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f450
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 0x44f5fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f5dc
mov dl, 1
mov eax, dword [0x415428]
call fcn.00403150
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ed0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f5cb
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.0043d21c
test al, al
je 0x44f5be
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, 0x44f60c
lea eax, [ebp - 0x254]
call fcn.00408d18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f5be
xor eax, eax
push ebp
push 0x44f5b7
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 0x44f644
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f5a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404140
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 0x44f5a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f5be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f4c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418f40
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 0x44f602
lea eax, [ebp - 0x260]
call fcn.00403ed0
ret

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

Disassembly:
push ecx
mov eax, dword [0x464bb4]
cmp byte [eax + 0xa5], 0
jne 0x44ffa1
cmp dword [0x464bcc], 0
jne 0x44ff62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44feec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x464bcc], eax
cmp dword [0x464bc8], 0
jne 0x44ff7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x464bc8], eax
cmp dword [0x464bd0], 0
jne 0x44ffa1
push esp
push 0
push 0
push 0x44fe90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x464bd0], eax
pop edx
ret
Function at 0x450098
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4500af
add esp, 0xfffffff0
call fcn.004034a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cd50
mov eax, dword [0x4637b4]
cmp word [eax + 2], 0
jne 0x4500d7
mov eax, dword [0x4637b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451770
mov eax, dword [0x4638a4]
cmp word [eax + 2], 0
jne 0x4500f1
mov eax, dword [0x4638a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451968
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41500c]
call fcn.00403150
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 [0x41f24c]
call fcn.00426b18
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450278
mov eax, dword [0x46368c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426ee8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x451f08
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46368c]
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.0040c4dc
test eax, eax
je 0x4501e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040870c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c504
test eax, eax
je 0x4501fa
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.00404140
mov eax, dword [0x4634dc]
cmp byte [eax], 0
jne 0x45022e
mov eax, ebx
call fcn.004503a0
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.004520e4
mov eax, ebx
call fcn.00452aa8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45026e
call fcn.004034fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450620
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x464bb4]
cmp dword [eax + 0x30], 0
je 0x4506ca
cmp dword [ebx + 0x94], 0
jne 0x4506c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4505b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4506c4
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 0x45068a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4506c4
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.00417374
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450699
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45122c
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 0x451261
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.00403fc0
jmp 0x45126e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f24
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4522c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452301
mov eax, esi
call fcn.00438a24
test al, al
je 0x452301
mov eax, dword [ebx + 0x84]
call fcn.0043874c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452301
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043874c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x452fc0
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 [0x4145f8]
call fcn.0040483c
xor eax, eax
push ebp
push 0x453104
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x462d44], 0
jne 0x453013
mov ecx, dword [0x463504]
mov dl, 1
mov eax, dword [0x407048]
call fcn.0040b714
call fcn.0040390c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402b88
mov eax, ebx
call fcn.0040470c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x453114
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.004057c0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040471c
test eax, eax
jle 0x4530ab
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 0x4530a4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404158
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404140
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407eac
test eax, eax
jne 0x4530a4
mov ebx, 0x15
jmp 0x4530b0
mov ebx, 0x10
jmp 0x4530b0
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 [0x462d44]
call fcn.00452f18
mov eax, dword [ebp - 8]
call fcn.00452f18
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004057d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45310b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403ef4
lea eax, [ebp - 0x10]
mov edx, dword [0x4145f8]
call fcn.0040490c
ret
Function at 0x42c108
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x42c117
pop dword [ebp - 0x1c]
mov eax, 0x94465fed
add eax, 0x6bfc612a
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x88df6fc2
sub dword [ebp - 0x2c], 0x3a8d2a77
mov dword [ebp - 0x28], 0x4f9a739e
add dword [ebp - 0x28], 0xe298d8a7
mov dword [ebp - 0x24], 0xc8a155f0
sub dword [ebp - 0x24], 0x7c5511c2
mov dword [ebp - 0x20], 0xa5203826
sub dword [ebp - 0x20], 0xa5203826
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xddcfe65e
sub dword [ebp - 0x2c], 0x695d7d08
mov dword [ebp - 0x28], 0xf38230fe
add dword [ebp - 0x28], 0x4dea3077
mov dword [ebp - 0x24], 0x9242df5a
sub dword [ebp - 0x24], 0x2ed372ee
mov dword [ebp - 0x20], 0x706246e2
sub dword [ebp - 0x20], 0x706246e2
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x398a6
push 0
call eax
mov ecx, 0x7cf0864b
add ecx, 0x830fba56
xor esi, esi
add esi, eax
mov edx, 0x82c9cf4a
add edx, 0x7d7a56b6
add edx, dword [ebp - 0x1c]
mov edi, 0xbc517f8c
add edi, 0x7056e14b
mov ebx, dword [edx]
add dword [ebp - 8], ecx
sub ebx, edi
mov dword [ebp - 0x14], 0xffadcd8b
mov dword [esi], ebx
xor dword [ebp - 0x14], 0x7fd38d62
add esi, 0x4c22d57c
sub esi, 0x4c22d578
add edx, 4
loop 0x42c231
add eax, 0xf557
mov ebx, eax
add eax, 0x5e63978
sub eax, 0x5e63973
mov ecx, 0xce8b40c0
add ecx, 0x31b4bf40
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x42e764
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c4b0]
jne 0x42e76e
repz ret
jmp fcn.0042f000
Function at 0x802257
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
test eax, eax
mov byte [esp], ah
push 0xd9ef18b6
lea esp, [esp + 0x48]
je 0x674dea
add si, 0xa8b
ror si, 0xf
movsx si, bl
bsf si, cx
mov esi, dword [eax + 0x3c]
shr dh, cl
inc dx
add esi, eax
add dx, bp
movzx edx, dl
pushfd
push esi
mov edx, dword [esi + 0x78]
bt cx, bp
push dword [esp]
test edx, edx
jmp 0x6773b2

Function at 0x810dcc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x20], ebp
movzx bp, cl
lea ebp, [eax - 0x76600071]
not bp
mov dword [esp + 0x1c], eax
jmp 0x8115d9
Function at 0x1100370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x110038e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x1129074
push ecx
mov edi, eax
call fcn.01114198
mov esi, eax
add esp, 8
test esi, esi
jne 0x11003cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0111402e
push esi
call fcn.01113fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1103850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x11038ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x112e720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x11038ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.011141e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x11038ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x112e720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x110392a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.01115082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x1103957
mov word [eax], si
add eax, 2
push eax
call fcn.01115030
add esp, 4
jmp 0x1103959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x11038ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x11038b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x1103ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret