joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5061c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5061d2
add esp, 0xfffffff0
call fcn.004054e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00451da8
mov eax, dword [0x56a6dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x506604
mov eax, dword [0x56a6ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x506610
mov eax, ebx
call fcn.0050661c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x500ff4
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x460584]
call fcn.00466584
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x460584]
call fcn.00466584
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x460584]
call fcn.00466584
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x460584]
call fcn.00466584
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x460584]
call fcn.00466584
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.00506c14
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x506a30
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x506a30
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x506a30
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x506a30
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x506a30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50634f
call fcn.0040553c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5067d0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50697b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x50695c
mov dl, 1
mov eax, dword [0x439dd4]
call fcn.0044826c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406b14
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x50694b
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.004945c0
test al, al
je 0x50693e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x50698c
lea eax, [ebp - 0x394]
call fcn.0041f254
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x50693e
xor eax, eax
push ebp
push 0x506937
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5069fc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x506920
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004076d4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x506920
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004076d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50693e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x506841
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004481a8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506982
lea eax, [ebp - 0x3a0]
call fcn.00406b14
ret

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

Disassembly:
push ecx
mov eax, dword [0x5702ec]
cmp byte [eax + 0xb1], 0
jne 0x5075a6
cmp dword [0x57030c], 0
jne 0x507566
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x56a548]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x57030c], eax
cmp dword [0x570308], 0
jne 0x507581
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x570308], eax
cmp dword [0x570310], 0
jne 0x5075a6
push esp
push 0
push 0
mov eax, dword [0x56a544]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x570310], eax
pop edx
ret
Function at 0x5078bc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5078d3
add esp, 0xfffffff0
call fcn.004054e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00451da8
mov eax, dword [0x56a5b8]
cmp byte [eax], 0
jne 0x507900
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x56a89c]
cmp word [eax + 2], 0
jne 0x50791a
mov eax, dword [0x56a89c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00509a48
mov eax, dword [0x56a9c4]
cmp word [eax + 2], 0
jne 0x507934
mov eax, dword [0x56a9c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00509c4c
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x460584]
call fcn.00466584
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x50a1c4
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x464e64]
call fcn.0046faf4
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x507b18
mov eax, dword [0x56a778]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046ff88
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x50a4ac
mov dl, 1
mov eax, dword [0x436660]
call fcn.00404ea8
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x56a778]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f068
test eax, eax
je 0x507a48
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041ee18
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f04c
test eax, eax
je 0x507a60
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004076d4
push ebx
push 0x50942c
call fcn.004fd550
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x56a5b8]
cmp byte [eax], 0
jne 0x507ab1
mov eax, ebx
call fcn.00507cd8
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0050a6e0
mov eax, ebx
call fcn.0050b30c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x507b0e
call fcn.0040553c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x508000
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5080a2
cmp dword [ebx + 0x98], 0
jne 0x50809c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x507f3c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x50809c
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_GetWindowLongW
test al, 8
je 0x508062
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x50809c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00443c44
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x508071
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5082c0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5702ec]
cmp dword [eax + 0x178], 0
je 0x508425
test bl, bl
jne 0x508373
cmp dword [esi + 0xa0], 0
jne 0x508368
mov eax, esi
call fcn.0050b15c
push eax
push 0x5081cc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x508339
mov eax, dword [0x5702ec]
cmp byte [eax + 0xd7], 0
je 0x508339
mov eax, dword [esi + 0xdc]
call fcn.00408790
mov edi, eax
cmp edi, 0
jl 0x508339
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x508322
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x508368
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443c44
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x508348
inc dword [esi + 0xa0]
jmp 0x508425
cmp dword [esi + 0xa0], 0
jle 0x508425
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x508425
cmp dword [esi + 0x48], 0
je 0x5083d0
mov eax, dword [0x5702ec]
cmp byte [eax + 0xd7], 0
je 0x5083d0
mov eax, dword [esi + 0xdc]
call fcn.00408790
mov edi, eax
cmp edi, 0
jl 0x5083d0
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5083b9
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5083ff
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443c44
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5083df
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x4fa4d4]
call fcn.0040893c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x509078
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x5090e3
cmp byte [ebx + 0xd7], 0
jne 0x5090e3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406c9c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x5090d0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5090f0
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406ef4
jmp 0x5090f0
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406ef4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x50a8c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x50a936
mov eax, esi
call fcn.0048e63c
test al, al
je 0x50a936
mov eax, dword [ebx + 0x88]
call fcn.0048e290
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50a936
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x50a92a
push 0
mov eax, dword [ebx + 0x88]
call fcn.0048e290
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.004850f8
jmp 0x50a936
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0050a700
pop esi
pop ebx
ret
Function at 0x50eee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x50ef5a
mov eax, dword [ebx + 8]
call fcn.0048e290
mov ecx, eax
mov dl, 1
mov eax, dword [0x49a078]
call fcn.00488718
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0049e638
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x50e7f4
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048e290
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048e290
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x50efd0
mov eax, dword [ebx + 8]
call fcn.0048e290
mov ecx, eax
mov dl, 1
mov eax, dword [0x49a078]
call fcn.00488718
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0049e638
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x50e840
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048e290
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048e290
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x50f03c
mov eax, dword [ebx + 8]
call fcn.0048e290
mov ecx, eax
mov dl, 1
mov eax, dword [0x49aab4]
call fcn.00488718
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048e290
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048e290
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40371f
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x34], eax
jne 0x40373b
xor al, al
jmp 0x403755
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x4036eb
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x405e71
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [section..cdata]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.00405da7
cmp eax, esi
jne 0x405ef9
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x405ec2
lea eax, [ebp - 0x70]
push eax
call fcn.00405e71
cmp eax, esi
jne 0x405ef8
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x405eb5
call fcn.00405d90
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.00405d90
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.0041476c
add ebp, 0x94
leave
ret 4
Function at 0x40631f
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40632a
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40b08e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x41c280], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x40b0d2
call ebx
test eax, eax
jns 0x40b0c8
push 0x401f20
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x401f14
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x41c27c], eax
mov dword [0x41c280], 1
mov eax, dword [0x41c27c]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x40b0ee
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x40b11e
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x40b114
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x40b108
push dword [eax + 8]
call dword [eax]
jmp 0x40b10e
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x40b11d
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x413d94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [section..cdata]
push ebx
push esi
mov dword [ebp + 0x194], eax
lea eax, [ebp - 0x7c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x4027d8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], ebx
xor esi, esi
mov dword [ebp - 0x80], 0x208
mov word [ebp - 0x78], bx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x40295c
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x7c], ebx
je 0x413e01
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x413e26
cmp eax, 0x208
ja 0x413e26
shr eax, 1
mov esi, eax
je 0x413e26
lea eax, [ebp + esi*2 - 0x7a]
cmp word [eax], 0x5c
je 0x413e26
dec esi
dec eax
dec eax
cmp esi, ebx
jne 0x413e19
mov edx, dword [ebp + 0x1a0]
lea ecx, [ebp - 0x78]
mov word [ebp + esi*2 - 0x78], bx
call fcn.00413d10
mov ecx, dword [ebp + 0x194]
pop esi
pop ebx
call fcn.0041476c
add ebp, 0x198
leave
ret 4
Function at 0x41476c
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [section..cdata]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.0041476c
pop edi
add ebp, 0x2a8
leave
ret
cmp ecx, dword [section..cdata]
jne 0x414644
ret

Function at 0x41484e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push 0x4029f8
push SysReAllocStringLen
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x4148ed
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x4148df
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x4029e0
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4148df
cmp dword [ebp + 8], esi
jne 0x4148df
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x4148df
cmp dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4148d1
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x4148db
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x4148fd
cmp dword [ebp - 4], ebx
je 0x4148ed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
je 0x4148fb
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x414904
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x41c4a8], 0
je 0x414919
mov eax, dword [0x41c4a4]
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x402a68
mov edi, SysReAllocStringLen
push edi
call esi
test eax, eax
jne 0x414970
lea eax, [ebp - 8]
push eax
push 0x41c4a4
push 0
push 0
push dword [0x41bf50]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414970
cmp dword [ebp - 8], 4
je 0x4149b5
lea eax, [ebp - 4]
push eax
push ebx
xor ebx, ebx
push ebx
push 0x402a2c
push edi
call esi
test eax, eax
jne 0x4149ad
push 4
pop esi
lea eax, [ebp - 8]
push eax
push 0x41c4a4
push ebx
push ebx
push dword [0x41bf50]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4149ad
cmp dword [ebp - 8], esi
je 0x4149b7
mov dword [0x41c4a4], ebx
jmp 0x4149b7
xor ebx, ebx
cmp dword [ebp - 4], ebx
mov esi, dword [0x41c4a4]
mov byte [0x41c4a8], 1
je 0x4149d2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret