joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e56c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48b0dc]
cmp byte [eax + 0xc], 0
je 0x44e6d9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e6d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48f548], 0
jne 0x44e5c0
push 0x44e6e0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44e6e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f548], eax
cmp dword [0x489644], 0
jne 0x44e6bb
push 0x44e6f8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x489644], eax
cmp dword [0x489644], 0
je 0x44e6bb
push 0x44e704
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f54c], eax
push 0x44e714
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f550], eax
push 0x44e728
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f554], eax
push 0x44e740
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f558], eax
push 0x44e758
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f55c], eax
push 0x44e76c
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f560], eax
push 0x44e784
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f564], eax
push 0x44e79c
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f568], eax
push 0x44e7b8
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f56c], eax
push 0x44e7c4
mov eax, dword [0x489644]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48f570], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e6d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x454200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x454254]
test si, 4
je 0x454215
or bl, 1
test si, 8
je 0x45421f
or bl, 4
test si, 1
je 0x454229
or bl, 8
test si, 2
je 0x454233
or bl, 0x10
test si, 0x10
je 0x45423d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45424c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x454258
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x454294]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454272
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454281
or bl, 4
test esi, 0x20000000
je 0x45428c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45b9f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ba06
add esp, 0xfffffff0
call fcn.00403df4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e1b0
mov eax, dword [0x48ac68]
mov dword [eax + 4], ebx
mov dword [eax], 0x45bd98
mov eax, dword [0x48ac78]
mov dword [eax + 4], ebx
mov dword [eax], 0x45bda4
mov eax, ebx
call fcn.0045bdb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
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, 0x45782c
push eax
push 0
push 0
mov eax, dword [0x48ae38]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421dac]
call fcn.004236a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421dac]
call fcn.004236a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421dac]
call fcn.004236a0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c270
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c0f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c0f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c0f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bb43
call fcn.00403e4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45bedc
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 0x45c087
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c068
mov dl, 1
mov eax, dword [0x4163b8]
call fcn.00403aa0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404918
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c057
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.0044e8c8
test al, al
je 0x45c04a
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, 0x45c098
lea eax, [ebp - 0x254]
call fcn.00409eac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c04a
xor eax, eax
push ebp
push 0x45c043
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 0x45c0d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c02c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b88
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 0x45c02c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c04a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45bf4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041a0b0
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 0x45c08e
lea eax, [ebp - 0x260]
call fcn.00404918
ret

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

Disassembly:
push ecx
mov eax, dword [0x48f580]
cmp byte [eax + 0xad], 0
jne 0x45cab9
cmp dword [0x48f598], 0
jne 0x45ca7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ca04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48f598], eax
cmp dword [0x48f594], 0
jne 0x45ca95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48f594], eax
cmp dword [0x48f59c], 0
jne 0x45cab9
push esp
push 0
push 0
push 0x45c9a8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48f59c], eax
pop edx
ret
Function at 0x45cc8c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cca3
add esp, 0xfffffff0
call fcn.00403df4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e1b0
mov eax, dword [0x48ae1c]
cmp word [eax + 2], 0
jne 0x45cccb
mov eax, dword [0x48ae1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e7e4
mov eax, dword [0x48aef8]
cmp word [eax + 2], 0
jne 0x45cce5
mov eax, dword [0x48aef8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e9f0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415f94]
call fcn.00403aa0
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42295c]
call fcn.0042a940
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45ce9c
mov eax, dword [0x48acfc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ad14
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f0c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48acfc]
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.0040d770
test eax, eax
je 0x45cdec
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409864
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d7a4
test eax, eax
je 0x45ce00
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b88
mov byte [ebx + 0xd4], 0
push ebx
push 0x45e32c
call fcn.0041f32c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48ab4c]
cmp byte [eax], 0
jne 0x45ce51
mov eax, ebx
call fcn.0045cfe0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f29c
mov eax, ebx
call fcn.0045fdfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ce91
call fcn.00403e4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d260
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48f580]
cmp dword [eax + 0x30], 0
je 0x45d30a
cmp dword [ebx + 0x94], 0
jne 0x45d304
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d1f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d304
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 0x45d2ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d304
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.00418340
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d2d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e024
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e059
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.00404a08
jmp 0x45e066
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040496c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f480
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f4ee
mov eax, esi
call fcn.00449544
test al, al
je 0x45f4ee
mov eax, dword [ebx + 0x84]
call fcn.004491a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f4ee
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f4e2
push 0
mov eax, dword [ebx + 0x84]
call fcn.004491a4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441558
jmp 0x45f4ee
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045f2bc
pop esi
pop ebx
ret
Function at 0x462d24
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x462d52
mov eax, ebx
call fcn.004637d8
cmp dword [ebx + 0x40], 0
je 0x462d4b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462dc3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462db5
cmp dword [ebx + 8], 0
je 0x462d74
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 0x462d86
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462db5
cmp dword [ebx + 8], 0
je 0x462d67
cmp eax, 3
je 0x462d99
dec eax
jne 0x462d67
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 0x462d67
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x462d67
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462de1
cmp dword [ebx + 0x14], 0xcc
je 0x462de1
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.00462dec
pop ebx
ret

Function at 0x473260
Capabilities:
Parse pe header

Disassembly:
push esi
push edi
xor esi, esi
mov edx, dword [0x48e7f8]
mov eax, edx
cmp word [eax], 0x5a4d
jne 0x4732a7
mov eax, dword [eax + 0x3c]
add edx, eax
cmp dword [edx], 0x4550
jne 0x4732a7
add edx, 4
movzx eax, word [edx + 2]
add edx, 0xf4
mov ecx, eax
test ecx, ecx
jle 0x4732a7
mov eax, edx
mov edi, dword [eax + 0x14]
add edi, dword [eax + 0x10]
cmp esi, edi
jae 0x4732a1
mov esi, edi
add edx, 0x28
dec ecx
jne 0x473293
mov eax, esi
pop edi
pop esi
ret

Function at 0x47372c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4737e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ddc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x4737ca
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00405064
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ddc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4737ca
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4737f0
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4737ca
cmp dword [ebp - 0x14], 0x34
jne 0x4737ca
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4737e7
lea eax, [ebp - 0x1c]
call fcn.00404918
ret
Function at 0x4739a8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473b28
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.0040340c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x48a4f0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x48a4f4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x48a4f8], eax
mov eax, dword [0x48b0c8]
cmp dword [eax], 2
sete byte [0x48a0d0]
push 0x473b34
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004736e8
cmp byte [0x48a0d0], 0
jne 0x473a34
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047372c
test al, al
je 0x473a34
mov eax, dword [ebp - 0x4c]
mov dword [0x48fabc], eax
jmp 0x473a3b
xor eax, eax
mov dword [0x48fabc], eax
call fcn.00473814
and eax, 0x7f
cmp eax, 0xc
ja case.0x473a4c.0
jmp dword [eax*4 + 0x473a53]
mov byte [0x48a0bc], 1
jmp case.0x473a4c.0
mov byte [0x48a0c0], 1
jmp case.0x473a4c.0
mov byte [0x48a0c4], 1
jmp case.0x473a4c.0
mov byte [0x48a0c8], 1
jmp case.0x473a4c.0
mov byte [0x48a0cc], 1
jmp case.0x473a4c.0
mov byte [0x48a0d4], 1
mov byte [0x48a0d8], 1
jmp case.0x473a4c.0
mov byte [0x48a0d4], 1
mov byte [0x48a0dc], 1
jmp case.0x473a4c.0
mov byte [0x48a0d4], 1
mov byte [0x48a0dc], 1
mov byte [0x48a0e0], 1
jmp case.0x473a4c.0
mov byte [0x48a0e4], 1
jmp case.0x473a4c.0
mov byte [0x48a0e8], 1
jmp case.0x473a4c.0
mov byte [0x48a0ec], 1
jmp case.0x473a4c.0
mov byte [0x48a0f0], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473b2f
lea eax, [ebp - 4]
call fcn.00404918
ret

Function at 0x477e68
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004778c8
test byte [ebx + 0x285], 4
jne 0x477efd
mov edx, esp
mov eax, ebx
call fcn.00440f48
push esp
mov eax, ebx
call fcn.00448f94
push eax
push 0
mov eax, ebx
test eax, eax
je 0x477e9d
sub eax, 0xfffffd34
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x260]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x274], 0
jne 0x477ece
mov ecx, dword [0x48adac]
mov dl, 1
mov eax, dword [0x4743b8]
call fcn.0040c958
call fcn.00404344
mov eax, ebx
call fcn.00478420
cmp byte [ebx + 0x57], 0
jne 0x477f04
mov eax, ebx
call fcn.004491a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x477f04
push 0
mov eax, ebx
call fcn.004491a4
push eax
call sub.user32.dll_ShowWindow
jmp 0x477f04
mov eax, ebx
call fcn.00445788
add esp, 0x10
pop ebx
ret
Function at 0x47f8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x47f9cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x47f9e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47f9c1
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x47f9f8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47f9b8
cmp dword [ebp - 0x14], 0
je 0x47f9b8
xor edx, edx
push ebp
push 0x47f99e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x47fa10
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x47f994
push 0x47fa20
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
test edi, edi
je 0x47f98e
mov eax, ebx
call fcn.004491a4
push eax
call edi
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push esi
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f9b8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f9d5
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4084a7
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x4084c9
mov eax, 0xfffffffd
jmp 0x408541
mov ebx, dword [0x4f4e40]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40850f
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4f4e40]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x408537
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x408541
mov esp, ebp
pop ebp
ret 4

Function at 0x42975b
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x435e00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a8fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049dbf3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435e82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049bb0a
mov eax, dword [eax]
push 0x4db228
push eax
call fcn.0048e504
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049de7e
test bl, bl
je 0x435e82
push 0x4db228
lea ecx, [esp + 0xc]
call fcn.0049e20e
push 0x4ded94
lea ecx, [esp + 0xc]
call fcn.0049e20e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x435ebe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049de7e
jmp 0x435f89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x435f42
lea edx, [esp + 0x7c]
push 0x4ded90
push edx
call fcn.0048e504
add esp, 8
test eax, eax
je 0x435f42
lea eax, [esp + 0x7c]
push 0x4ded8c
push eax
call fcn.0048e504
add esp, 8
test eax, eax
je 0x435f42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435ed2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049de7e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x436780
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4367e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc