joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d100
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 0x44d2ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d28c
mov dl, 1
mov eax, dword [0x411818]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d27b
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.0043b134
test al, al
je 0x44d26e
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, 0x44d2bc
lea eax, [ebp - 0x254]
call fcn.004088d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d26e
xor eax, eax
push ebp
push 0x44d267
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 0x44d2f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d250
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
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 0x44d250
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d26e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d171
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004152f4
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 0x44d2b2
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x454bb0]
cmp byte [eax + 0xa5], 0
jne 0x44dc51
cmp dword [0x454bc8], 0
jne 0x44dc12
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44db9c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bc8], eax
cmp dword [0x454bc4], 0
jne 0x44dc2d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x454bc4], eax
cmp dword [0x454bcc], 0
jne 0x44dc51
push esp
push 0
push 0
push 0x44db40
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x454bcc], eax
pop edx
ret
Function at 0x44dd90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44dda7
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419104
mov eax, dword [0x452f48]
cmp word [eax + 2], 0
jne 0x44ddcf
mov eax, dword [0x452f48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f468
mov eax, dword [0x452ff4]
cmp word [eax + 2], 0
jne 0x44dde9
mov eax, dword [0x452ff4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f660
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4113fc]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4113fc]
call fcn.004030cc
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 [0x41b630]
call fcn.004229c8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44df70
mov eax, dword [0x452e70]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422d98
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fc00
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452e70]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040bfa0
test eax, eax
je 0x44dede
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082cc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bfc8
test eax, eax
je 0x44def2
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.004040bc
mov eax, dword [0x452d68]
cmp byte [eax], 0
jne 0x44df26
mov eax, ebx
call fcn.0044e098
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.0044fddc
mov eax, ebx
call fcn.004507a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44df66
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e318
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bb0]
cmp dword [eax + 0x30], 0
je 0x44e3c2
cmp dword [ebx + 0x94], 0
jne 0x44e3bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e2a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e3bc
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 0x44e382
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e3bc
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.00413764
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e391
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ef24
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 0x44ef59
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.00403f3c
jmp 0x44ef66
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ffb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fff9
mov eax, esi
call fcn.004367f4
test al, al
je 0x44fff9
mov eax, dword [ebx + 0x84]
call fcn.00436594
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fff9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436594
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x409e9b
pop dword [ebp - 0x2c]
mov eax, 0x7980839b
add eax, 0x86c01b00
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x8b15c295
sub dword [ebp - 0x3c], 0x3cc37d4a
mov dword [ebp - 0x38], 0xa9ae0140
sub dword [ebp - 0x38], 0x777ab4fb
mov dword [ebp - 0x34], 0x292a99d0
add dword [ebp - 0x34], 0x2321aa5e
mov dword [ebp - 0x30], 0xd7d97971
add dword [ebp - 0x30], 0x2826868f
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x92ca6ad9
add eax, 0x6d76657b
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xadf49b51
add dword [ebp - 0x3c], 0xc67dce05
mov dword [ebp - 0x38], 0x33eeb57d
sub dword [ebp - 0x38], 0xf2825408
mov dword [ebp - 0x34], 0x729720f0
add dword [ebp - 0x34], 0xf0d84b7c
mov dword [ebp - 0x30], 0x6b0d9f22
add dword [ebp - 0x30], 0x94f260de
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x8360fc2b
sub eax, 0x83202bdf
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37e3e
push 0
call eax
mov ecx, 0xcc8b0128
add ecx, 0x33753fdc
xor edi, edi
add edi, eax
mov edx, 0xce5596f1
add edx, 0x31ec190f
add edx, dword [ebp - 0x2c]
mov esi, 0x21e8e40a
sub esi, 0xf1290ff4
mov dword [ebp - 0x20], 0xf8ad27cc
mov ebx, dword [edx]
mov dword [ebp - 8], 0x6651fa72
xor ebx, esi
add dword [ebp - 0x14], esi
mov dword [edi], ebx
add dword [ebp - 0x24], 0x32a5b027
add edi, 0x844feed4
add edi, 0x7bb01130
add edx, 0x6497f33c
add edx, 0x9b680cc8
loop 0x409fbf
add eax, 0xc4f06a1f
add eax, 0x3b108cc4
mov ebx, eax
add eax, 0xa495096b
sub eax, 0xa4950966
mov ecx, 0x57078ed3
sub ecx, 0x56c78ed3
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x41a82f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x41a83e
pop dword [ebp - 0xc]
mov eax, 0x6cac672a
sub eax, 0x6c6abeec
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x716bffaf
add dword [ebp - 0x1c], 0xdce6459c
mov dword [ebp - 0x18], 0x7065dfc
add dword [ebp - 0x18], 0x2b2cee49
mov dword [ebp - 0x14], 0xe907189a
sub dword [ebp - 0x14], 0x9cbad46c
mov dword [ebp - 0x10], 0xf8746438
add dword [ebp - 0x10], 0x78b9bc8
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x1dec9ab3
sub eax, 0x1dac8847
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x619d73fe
add dword [ebp - 0x1c], 0x12d4f558
mov dword [ebp - 0x18], 0xfbd2044e
sub dword [ebp - 0x18], 0xba65a2d9
mov dword [ebp - 0x14], 0xc1c78abd
add dword [ebp - 0x14], 0xa1a7e1af
mov dword [ebp - 0x10], 0x5bd03d2
add dword [ebp - 0x10], 0xfa42fc2e
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3b93f
push 0
call eax
mov ecx, 0x53130786
add ecx, 0xaced3279
mov esi, eax
mov edi, 0x8ac78c1a
add edi, 0x757fb9e6
add edi, dword [ebp - 0xc]
mov edx, 0xd137b28d
sub edx, 0x3708775d
sub dword [ebp - 8], 0x44280662
mov ebx, dword [edi]
add dword [ebp - 4], 0x1cf2f7c
add ebx, edx
sub dword [ebp - 8], 0x805eb054
mov dword [esi], ebx
xor dword [ebp - 8], eax
add esi, 4
add edi, 0xde164068
add edi, 0x21e9bf9c
loop 0x41a95b
add eax, 0xdacf
mov ebx, eax
add eax, 5
mov ecx, 0x9892fc90
sub ecx, 0x9852fc90
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x41b6ff
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x438088
call fcn.0041e390
xor esi, esi
cmp dword [0x470cd8], esi
jne 0x41b5b7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x41b5ca
mov dword [ebp - 0x1c], esi
jmp 0x41b600
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x41b5c5
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x41b5c5
cmp dword [eax + 0x400074], 0xe
jbe 0x41b5c5
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0041e372
test eax, eax
jne 0x41b611
push 0x1c
call main
pop ecx
call fcn.0041e1f7
test eax, eax
jne 0x41b622
push 0x10
call main
pop ecx
call fcn.0041deac
mov dword [ebp - 4], esi
call main
test eax, eax
jns 0x41b63d
push 0x1b
call main
jmp 0x41b63c
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x470cd4], eax
call fcn.0041dc0f
mov dword [0x46d7bc], eax
call main
test eax, eax
jns 0x41b665
push 8
call main
jmp 0x41b664
pop ecx
call fcn.0041d92f
test eax, eax
jns 0x41b678
push 9
call main
jmp 0x41b677
pop ecx
push 1
call main
pop ecx
cmp eax, esi
je 0x41b68d
push eax
call main
jmp 0x41b68c
pop ecx
mov eax, dword [0x46daf4]
mov dword [0x46daf8], eax
push eax
push dword [0x46daf0]
push dword [0x46daec]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x41b6ba
push eax
call main
call fcn.0041d59b
jmp 0x41b6ef
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0041e3d5
ret
call main
jmp 0x41b596

Function at 0x41b78e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b72c]
jne 0x41d115
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x46d8d0], eax
mov dword [0x46d8cc], ecx
mov dword [0x46d8c8], edx
mov dword [0x46d8c4], ebx
mov dword [0x46d8c0], esi
mov dword [0x46d8bc], edi
mov word [0x46d8e8], ss
mov word [0x46d8dc], cs
mov word [0x46d8b8], ds
mov word [0x46d8b4], es
mov word [0x46d8b0], fs
mov word [0x46d8ac], gs
pushfd
pop dword [0x46d8e0]
mov eax, dword [ebp]
mov dword [0x46d8d4], eax
mov eax, dword [ebp + 4]
mov dword [0x46d8d8], eax
lea eax, [ebp + 8]
mov dword [0x46d8e4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x46d820], 0x10001
mov eax, dword [0x46d8d8]
mov dword [0x46d7d4], eax
mov dword [0x46d7c8], 0xc0000409
mov dword [0x46d7cc], 1
mov eax, dword [0x46b72c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x46b730]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x46d818], eax
push 1
call fcn.0041ecde
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x408770
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x46d818], 0
jne 0x41d201
push 1
call fcn.0041ecde
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x432894
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x437e2d
call fcn.0041cc7c
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x4328bd
cmp dword [0x46ec30], edi
je 0x4329a7
push 2
pop ebx
jmp 0x4328d7
cmp edi, 1
jne 0x4329a7
mov eax, ebx
call fcn.00433765
test al, al
je 0x4329a7
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.00433787
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x432989
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x43291e
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.00432f7e
test eax, eax
je 0x4329bb
push 0x1c049f
push 0
call main
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x46cc90], 0
push ebx
mov ecx, 0x46ec40
call main
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.00433095
mov esi, eax
test esi, esi
je 0x43290a
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.004337a8
inc edi
cmp edi, 2
jl 0x4328a5
mov eax, esi
call fcn.0041cd1b
ret 0x18
push ebx
mov ecx, 0x46ec40
call main
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x43299b
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x4329f6
cmp dword [ebp - 0x20], 3
jne 0x4329f1
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x4329f1
and cl, 0xf
cmp cl, 4
je 0x4329f6
push 2
pop esi
jmp 0x43299b
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.004337a8
xor eax, eax
jmp 0x4329b3
Function at 0x432e7f
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x437e9e
call fcn.0041cc7c
mov esi, dword [ebp + 8]
cmp esi, dword [0x46ec38]
jne 0x432e9d
xor al, al
jmp 0x432f76
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x432eae
xor ecx, ecx
cmp dword [0x46ec30], ecx
jmp 0x432eb9
mov eax, esi
call fcn.00433765
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x432e96
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.00433787
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x432f37
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x432eed
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.00432f7e
test eax, eax
je 0x432f5c
push 0x1c04c2
xor ebx, ebx
push ebx
call main
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x46ec40
mov dword [eax + 0x46cc90], ebx
call main
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.00433095
mov ebx, eax
test ebx, ebx
je 0x432ee1
jmp 0x432f69
push dword [ebp + 8]
mov ecx, 0x46ec40
call main
lea ecx, [ebp + 0xf]
call fcn.004337a8
test ebx, ebx
sete al
call fcn.0041cd1b
ret 8
Function at 0x4337c9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x437ef4
call fcn.0041cc7c
mov esi, dword [ebp + 8]
cmp esi, dword [0x46ec38]
jne 0x4337e7
xor eax, eax
jmp 0x43394c
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x43380a
cmp dword [0x46ec30], ebx
je 0x43390c
push 2
pop edi
jmp 0x433824
cmp ebx, 1
jne 0x43390c
mov eax, esi
call fcn.00433765
test al, al
je 0x43390c
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.00433787
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x4338cf
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x433858
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x433884
cmp dword [ebp - 0x1c], 1
je 0x433881
cmp dword [ebp - 0x1c], 2
jne 0x433884
push 2
pop edi
mov eax, edi
call fcn.00432f7e
test eax, eax
je 0x4338ec
push 0x1c0496
xor edi, edi
push edi
call main
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x46ec40
mov dword [eax + 0x46cc90], edi
call main
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.00433095
mov edi, eax
test edi, edi
je 0x43384c
jmp 0x4338fd
push dword [ebp - 0x10]
mov ecx, 0x46ec40
call main
test edi, edi
je 0x433918
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.004337a8
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x4337f2
jmp 0x433927
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.004337a8
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x433942
cmp dword [ebp - 0x1c], 2
je 0x43393a
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x43394a
push ecx
call main
jmp 0x433948
push esi
call main
mov ecx, eax
mov eax, ecx
call fcn.0041cd1b
ret 4
Function at 0x10001770
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045c19
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1005e068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test ebx, ebx
je 0x1000192e
mov al, byte [edx]
dec ebx
mov byte [ebp + esi - 0x14], al
inc edx
mov ah, byte [ebp - 0x12]
inc esi
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ah
mov byte [ebp + 0xb], ch
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x10001865
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
mov cl, ch
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop word [eax + eax]
cmp dword [0x10114874], 0x10
mov ecx, 0x10114860
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x10114860]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.10001b80
inc esi
cmp esi, 4
jl 0x10001830
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ch, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
test ebx, ebx
jne 0x100017d0
mov dword [ebp + 8], esi
test esi, esi
je 0x1000192e
mov eax, esi
cmp esi, 3
jge 0x1000189e
cmp eax, 3
jae 0x10001942
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x10001882
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x100018a1
mov dl, byte [ebp - 0xe]
mov al, cl
xor ebx, ebx
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1000190c
mov esi, eax
nop dword [eax]
cmp dword [0x10114874], 0x10
mov ecx, 0x10114860
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x10114860]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.10001b80
inc ebx
cmp ebx, esi
jl 0x100018e0
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1000192e
mov ebx, 3
sub ebx, esi
nop dword [eax + eax]
push 0x3d
mov ecx, edi
call fcn.10001b80
sub ebx, 1
jne 0x10001920
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001f95d
int3