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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465678]
cmp byte [eax + 0xc], 0
je 0x443bc9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443bc2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466be0], 0
jne 0x443ab0
push 0x443bd0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443bd8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466be0], eax
cmp dword [0x464abc], 0
jne 0x443bab
push 0x443be8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464abc], eax
cmp dword [0x464abc], 0
je 0x443bab
push 0x443bf4
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466be4], eax
push 0x443c04
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466be8], eax
push 0x443c18
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466bec], eax
push 0x443c30
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466bf0], eax
push 0x443c48
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466bf4], eax
push 0x443c5c
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466bf8], eax
push 0x443c74
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466bfc], eax
push 0x443c8c
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466c00], eax
push 0x443ca8
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466c04], eax
push 0x443cb4
mov eax, dword [0x464abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466c08], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443bc9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447cb0
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.00404540
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447cff
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.004047a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fb40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44fb90]
test si, 4
je 0x44fb54
or bl, 1
test si, 8
je 0x44fb5e
or bl, 4
test si, 1
je 0x44fb68
or bl, 8
test si, 2
je 0x44fb72
or bl, 0x10
test si, 0x10
je 0x44fb7c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fb8b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44fb94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44fbcc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fbad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fbbc
or bl, 4
test esi, 0x20000000
je 0x44fbc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4561d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4561e2
add esp, 0xfffffff0
call fcn.00403b38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041beb0
mov eax, dword [0x465368]
mov dword [eax + 4], ebx
mov dword [eax], 0x456574
mov eax, dword [0x465374]
mov dword [eax + 4], ebx
mov dword [eax], 0x456580
mov eax, ebx
call fcn.0045658c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
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, 0x452a54
push eax
push 0
push 0
mov eax, dword [0x4654a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d920]
call fcn.0041eff4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d920]
call fcn.0041eff4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d920]
call fcn.0041eff4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004569ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456888
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456888
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456888
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45631f
call fcn.00403b90
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45666c
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 0x456817
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4567f8
mov dl, 1
mov eax, dword [0x4123e8]
call fcn.004037a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404540
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4567e7
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.00443dbc
test al, al
je 0x4567da
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, 0x456828
lea eax, [ebp - 0x254]
call fcn.004096a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4567da
xor eax, eax
push ebp
push 0x4567d3
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 0x456860
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4567bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047a8
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 0x4567bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4567da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4566dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416548
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 0x45681e
lea eax, [ebp - 0x260]
call fcn.00404540
ret

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

Disassembly:
push ecx
mov eax, dword [0x466c24]
cmp byte [eax + 0xa5], 0
jne 0x4571bd
cmp dword [0x466c3c], 0
jne 0x45717e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457108
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466c3c], eax
cmp dword [0x466c38], 0
jne 0x457199
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x466c38], eax
cmp dword [0x466c40], 0
jne 0x4571bd
push esp
push 0
push 0
push 0x4570ac
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x466c40], eax
pop edx
ret
Function at 0x4572b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4572cb
add esp, 0xfffffff0
call fcn.00403b38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041beb0
mov eax, dword [0x465494]
cmp word [eax + 2], 0
jne 0x4572f3
mov eax, dword [0x465494]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004588d0
mov eax, dword [0x465524]
cmp word [eax + 2], 0
jne 0x45730d
mov eax, dword [0x465524]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458ac8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411ef8]
call fcn.004037a4
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], 0x80000018
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 [0x41e3a0]
call fcn.00425d64
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457494
mov eax, dword [0x4653c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426134
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459048
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4653c8]
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.0040b124
test eax, eax
je 0x457402
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ffc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b14c
test eax, eax
je 0x457416
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.004047a8
mov eax, dword [0x4652c0]
cmp byte [eax], 0
jne 0x45744a
mov eax, ebx
call fcn.004575bc
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.00459224
mov eax, ebx
call fcn.00459b64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45748a
call fcn.00403b90
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457830
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466c24]
cmp dword [eax + 0x30], 0
je 0x4578da
cmp dword [ebx + 0x94], 0
jne 0x4578d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4577c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4578d4
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 0x45789a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4578d4
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.00414598
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4578a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4583b8
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 0x4583ed
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.00404630
jmp 0x4583fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404594
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459400
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459441
mov eax, esi
call fcn.0043f4f4
test al, al
je 0x459441
mov eax, dword [ebx + 0x84]
call fcn.0043f1f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459441
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f1f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45dd7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45deed
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45dec8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404720
lea eax, [ebp - 0x118]
mov edx, 0x45df04
call fcn.00404800
mov eax, dword [ebp - 0x118]
call fcn.004049f0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x45de3a
lea eax, [ebp - 0x111]
call fcn.00408fc0
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404630
jmp 0x45de41
mov eax, esi
call fcn.00404540
cmp bl, 0x61
jae 0x45de62
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040aff8
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404594
jmp 0x45de7c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040af6c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404594
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x45df10
call fcn.00409720
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45decf
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x15029d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x151a378], 0
jne 0x15029e9
call fcn.015181b8
mov dword [0x151a374], eax
inc byte [0x151a378]
call fcn.015181b8
sub eax, dword [0x151a374]
cmp eax, 0x64
jle 0x15029fe
call fcn.0150c988
cmp dword [0x151a370], 0
je 0x1502a12
push dword [0x151a370]
call sub.KERNEL32.DLL_Sleep
ret
Function at 0x1503558
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
mov ebx, eax
lea esi, [ebp - 0x84]
mov edi, str.Formats.fmt
lea eax, [ebx + 4]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebx + 0x404], eax
cmp dword [ebx + 0x404], 0
jne 0x1503590
xor eax, eax
jmp 0x1503776
lea edx, [edi + 0x29]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x490], eax
lea ecx, [edi + 0x31]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x494], eax
lea eax, [edi + 0x36]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x498], eax
lea edx, [edi + 0x3c]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x49c], eax
lea ecx, [edi + 0x42]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a0], eax
lea eax, [edi + 0x4e]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a4], eax
lea edx, [edi + 0x5a]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a8], eax
lea ecx, [edi + 0x62]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4ac], eax
cmp dword [ebx + 0x490], 0
je 0x1503653
cmp dword [ebx + 0x494], 0
jne 0x150365a
cmp dword [ebx + 0x498], 0
jne 0x150365a
xor eax, eax
jmp 0x1503776
push 0x84
push 0
push esi
call fcn.01510c08
add esp, 0xc
mov dword [esi], 0x84
mov dword [esi + 4], 0x1502d10
mov dword [esi + 8], 0x1502d19
mov dword [esi + 0xc], 0x1502d20
mov dword [esi + 0x10], 0x1502d35
mov dword [esi + 0x14], 0x1502d41
mov dword [esi + 0x18], 0x1502d64
mov dword [esi + 0x1c], 0x1502d67
mov dword [esi + 0x20], 0x1502d68
mov dword [esi + 0x24], 0x1502d6f
mov dword [esi + 0x28], 0x1502d76
mov dword [esi + 0x2c], 0x1502d84
mov dword [esi + 0x30], 0x1502d8b
mov dword [esi + 0x34], 0x1502d95
mov dword [esi + 0x38], 0x1502d9e
mov dword [esi + 0x3c], fcn.01502d58
mov dword [esi + 0x40], 0x1502e30
mov dword [esi + 0x44], 0x1502e39
mov dword [esi + 0x48], 0x1502e40
mov dword [esi + 0x4c], 0x1502e55
mov dword [esi + 0x50], 0x1502e6a
mov dword [esi + 0x54], 0x1502e7f
mov dword [esi + 0x58], 0x1502e94
mov dword [esi + 0x5c], 0x1502e9b
mov dword [esi + 0x60], 0x1502ea4
mov dword [esi + 0x64], 0x1502ead
mov dword [esi + 0x68], 0x1502d7d
push 0x88
push 0
lea edx, [ebx + 0x408]
push edx
call fcn.01510c08
add esp, 0xc
lea ecx, [ebx + 0x408]
mov dword [ebx + 0x408], 0x88
push ecx
push esi
call dword [ebx + 0x490]
cmp dword [ebx + 0x488], 0
je 0x1503774
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
mov dword [ebx + 0x404], eax
xor eax, eax
jmp 0x1503776
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1506b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x28], eax
mov eax, 0x151acfc
call fcn.01511028
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov edx, 1
add eax, 0xf8
call fcn.01506cac
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
imul edx, dword [eax + 0x104], 0x38
mov esi, dword [ecx + 0xf8]
add esi, edx
cmp word [ebx + 0x400], 0
je 0x1506bd7
lea ecx, [ebx + 0x400]
jmp 0x1506bd9
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.015015f4
mov word [ebp - 0x14], 0
jmp 0x1506c1f
mov edx, dword [ebx + 0xc2c]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0xc00]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0xc04]
mov dword [esi + 0x10], ecx
mov eax, dword [ebx + 0xc08]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0xc0c]
mov dword [esi + 0x18], eax
mov edx, dword [ebx + 0xc10]
mov dword [esi + 0x1c], edx
mov ecx, dword [ebx + 0xc14]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebx + 0xc18]
mov dword [esi + 0x24], ecx
mov eax, dword [ebx + 0xc1c]
mov dword [esi + 0x28], eax
mov edx, dword [ebx + 0xc20]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0xc24]
mov dword [esi + 0x30], ecx
mov eax, dword [ebx + 0xc28]
mov dword [esi + 0x34], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x104]
inc dword [edx + 0x104]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1506d44
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff664
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x1506d75
xor eax, eax
jmp 0x1506ec4
mov edx, esi
mov eax, 0x80000001
call fcn.01506ecb
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
push edx
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push esi
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
je 0x1506db4
mov eax, dword [ebp - 4]
call fcn.01507069
xor eax, eax
jmp 0x1506ec4
xor ebx, ebx
mov dword [ebp - 0x14], 0xc8
mov dword [ebp - 0x18], 0x3e8
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x4d4]
push eax
push edx
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x14]
push ecx
push 0
push eax
lea edx, [ebp - 0xec]
push edx
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
jne 0x1506e0e
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4d4]
lea eax, [ebp - 0xec]
push ecx
push dword [ebp - 0x10]
push 0
push eax
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
inc ebx
jmp 0x1506db6
xor ebx, ebx
mov dword [ebp - 0x1c], 0xc8
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x59c]
push ecx
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x1506eb2
lea eax, [ebp - 0x59c]
push eax
push edi
push str._s_s
lea edx, [ebp - 0x79c]
push edx
call fcn.015136c4
add esp, 0x10
lea ecx, [ebp - 0x59c]
push ecx
push esi
push str._s_s
lea eax, [ebp - 0x99c]
push eax
call fcn.015136c4
add esp, 0x10
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
lea eax, [ebp - 0x99c]
push edx
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x1506eb2
lea edx, [ebp - 0x99c]
lea eax, [ebp - 0x79c]
call fcn.01506d44
inc ebx
jmp 0x1506e10
mov eax, dword [ebp - 4]
call fcn.01507069
mov eax, dword [ebp - 8]
call fcn.01507069
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1506f01
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd28
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
cmp byte [esi], 0
je 0x1506fa0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push esi
push edi
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x1506fa0
xor ebx, ebx
mov dword [ebp - 8], 0xc8
lea eax, [ebp - 0x10]
lea edx, [ebp - 8]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0xd8]
push ecx
push ebx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x1506f87
lea eax, [ebp - 0xd8]
push eax
push esi
push str._s_s
lea edx, [ebp - 0x2d8]
push edx
call fcn.015136c4
add esp, 0x10
lea edx, [ebp - 0x2d8]
mov eax, edi
call fcn.01506f01
inc ebx
jmp 0x1506f32
mov eax, dword [ebp - 4]
call fcn.01507069
push esi
push edi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
jne 0x1506fa0
inc dword [0x151e7bc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret