joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fe38
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x47ac94]
cmp esi, dword [eax + 0x30]
jne 0x44fe5f
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x44fe8e
mov eax, dword [0x47ac94]
cmp esi, dword [eax + 0x30]
jne 0x44fe8a
mov eax, dword [0x47ac94]
cmp byte [eax + 0x5b], 0
jne 0x44fe8e
xor eax, eax
jmp 0x44fe90
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x44fea5
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x44febc
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44fecb
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x44feda
test bl, bl
je 0x44fef0
test bl, bl
je 0x44fee8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x44fef0
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x450194
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4501ba
mov eax, esp
push eax
push 0x45015c
call sub.user32.dll_EnumWindows
jmp 0x4501cd
mov eax, esp
push eax
push 0x45013c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x450258
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4502ac]
test si, 4
je 0x45026d
or bl, 1
test si, 8
je 0x450277
or bl, 4
test si, 1
je 0x450281
or bl, 8
test si, 2
je 0x45028b
or bl, 0x10
test si, 0x10
je 0x450295
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4502a4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4502b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4502ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4502ca
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4502d9
or bl, 4
test esi, 0x20000000
je 0x4502e4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4581b8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4581ca
add esp, 0xfffffff0
call fcn.00403d4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a2ec
mov eax, dword [0x475870]
mov dword [eax + 4], ebx
mov dword [eax], 0x45855c
mov eax, dword [0x47587c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458568
mov eax, ebx
call fcn.00458574
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
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, 0x453c24
push eax
push 0
push 0
mov eax, dword [0x4759c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41de8c]
call fcn.0041f3ac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41de8c]
call fcn.0041f3ac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41de8c]
call fcn.0041f3ac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004589a4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458874
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458874
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458874
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458307
call fcn.00403da4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458658
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 0x458803
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4587e4
mov dl, 1
mov eax, dword [0x4124c0]
call fcn.004039d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404854
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4587d3
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.0044ab38
test al, al
je 0x4587c6
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, 0x458814
lea eax, [ebp - 0x254]
call fcn.00409544
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4587c6
xor eax, eax
push ebp
push 0x4587bf
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 0x45884c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4587a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac4
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 0x4587a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4587c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4586c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416198
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 0x45880a
lea eax, [ebp - 0x260]
call fcn.00404854
ret

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

Disassembly:
push ecx
mov eax, dword [0x47ac94]
cmp byte [eax + 0xad], 0
jne 0x4591ed
cmp dword [0x47acb0], 0
jne 0x4591ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459138
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47acb0], eax
cmp dword [0x47acac], 0
jne 0x4591c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47acac], eax
cmp dword [0x47acb4], 0
jne 0x4591ed
push esp
push 0
push 0
push 0x4590dc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47acb4], eax
pop edx
ret
Function at 0x4593c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4593d7
add esp, 0xfffffff0
call fcn.00403d4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a2ec
mov eax, dword [0x4759ac]
cmp word [eax + 2], 0
jne 0x4593ff
mov eax, dword [0x4759ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045afc0
mov eax, dword [0x475a54]
cmp word [eax + 2], 0
jne 0x459419
mov eax, dword [0x475a54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b1cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41209c]
call fcn.004039d0
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 [0x41e668]
call fcn.004245b4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4595d0
mov eax, dword [0x4758d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424988
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b890
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4758d8]
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.0040cc6c
test eax, eax
je 0x459520
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408efc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cca0
test eax, eax
je 0x459534
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.00404ac4
mov byte [ebx + 0xd4], 0
push ebx
push 0x45aae8
call fcn.0041b468
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4757e0]
cmp byte [eax], 0
jne 0x459585
mov eax, ebx
call fcn.00459714
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.0045ba68
mov eax, ebx
call fcn.0045c5cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4595c5
call fcn.00403da4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459994
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x459a33
cmp dword [ebx + 0x94], 0
jne 0x459a2d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45991c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459a2d
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 0x4599f3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459a2d
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.00414440
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459a02
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x47ac94]
cmp dword [eax + 0x30], 0
je 0x459da9
test bl, bl
jne 0x459cfa
cmp dword [esi + 0x9c], 0
jne 0x459cef
mov eax, esi
call fcn.0045c448
push eax
push 0x459b78
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x459cc0
mov eax, dword [0x47ac94]
call fcn.0045cb28
test al, al
je 0x459cc0
mov eax, dword [0x47acb8]
call fcn.00405710
mov edi, eax
cmp edi, 0
jl 0x459cc0
push 0
mov eax, dword [0x47acb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x459caa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x459cef
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414440
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x459ccf
inc dword [esi + 0x9c]
jmp 0x459da9
cmp dword [esi + 0x9c], 0
jle 0x459da9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x459da9
cmp dword [esi + 0x44], 0
je 0x459d55
mov eax, dword [0x47ac94]
call fcn.0045cb28
test al, al
je 0x459d55
mov eax, dword [0x47acb8]
call fcn.00405710
mov edi, eax
cmp edi, 0
jl 0x459d55
push 5
mov eax, dword [0x47acb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x459d3f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x459d84
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414440
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x459d64
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x47acb8
mov ecx, 1
mov edx, dword [0x459b58]
call fcn.004058c4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45a83c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45a8a6
mov eax, ebx
call fcn.0045cb28
test al, al
jne 0x45a8a6
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.00404944
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45a893
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45a8b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a8
jmp 0x45a8b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45bc4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bcba
mov eax, esi
call fcn.004457fc
test al, al
je 0x45bcba
mov eax, dword [ebx + 0x84]
call fcn.0044544c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bcba
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45bcae
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044544c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043d3d4
jmp 0x45bcba
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ba88
pop esi
pop ebx
ret
Function at 0x401248
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 8]
push ecx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x400
push eax
mov byte [ebp - 0x805], 0
call fcn.004011f0
add esp, 0x14
test eax, eax
js 0x40131f
and dword [ebp - 0x80c], 0
lea eax, [ebp - 0x80c]
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40131f
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
xor edi, edi
push edi
push ebx
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], edi
mov dword [ebp - 0x814], edi
mov dword [ebp - 0x818], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401313
cmp dword [ebp - 0x810], 4
jne 0x401313
cmp dword [ebp - 0x814], edi
mov byte [ebp - 0x805], 1
setne al
mov dword [esi], eax
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x805]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e7ae
leave
ret

Function at 0x401f2d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x43c50c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x401f71
call ebx
test eax, eax
jns 0x401f67
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x43c508], eax
mov dword [0x43c50c], 1
mov eax, dword [0x43c508]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401f8d
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x401fbd
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x401fb3
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x401fa8
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x401fad
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x401fbc
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 0x402136
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x432748
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4021a0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x432744
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402197
cmp dword [ebp - 8], esi
jne 0x402197
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4030b1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4305f6
call fcn.0042e7c4
mov edi, 0x200
push edi
call fcn.0042e732
pop ecx
mov dword [ebp - 0x18], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ebx, str.SoftwareAdobeAdobe_Acrobat11.0LanguageNext
push ebx
push SysReAllocString
call esi
test eax, eax
je 0x403144
lea eax, [ebp - 0x10]
push eax
push ebx
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call esi
test eax, eax
je 0x403144
lea eax, [ebp - 0x10]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageNext
push SysReAllocString
call esi
test eax, eax
je 0x403144
lea eax, [ebp - 0x10]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageNext
push ebx
call esi
test eax, eax
je 0x403144
lea eax, [ebp - 0x10]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageCurrent
push ebx
call esi
test eax, eax
je 0x403144
or esi, 0xffffffff
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
call fcn.0042e89c
ret
mov esi, dword [ebp - 0x18]
push edi
xor ebx, ebx
push ebx
push esi
mov dword [ebp - 0x14], edi
call sub.MSVCR100.dll_memset
sub dword [ebp - 0x14], 2
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
shr eax, 1
cmp edi, ebx
jne 0x403130
cmp dword [ebp - 0x1c], 1
jne 0x403130
cmp eax, 4
jb 0x403130
mov edi, dword [sym.imp.MSVCR100.dll__wcsicmp]
lea esi, [esi + eax*2 - 8]
push 0x432af4
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x40320e
push 0x432aec
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x40320e
movzx eax, word [esi]
mov edi, dword [sym.imp.MSVCR100.dll_iswalpha]
push eax
call edi
pop ecx
test eax, eax
je 0x403130
movzx eax, word [esi + 2]
push eax
call edi
pop ecx
test eax, eax
je 0x403130
movzx eax, word [esi + 4]
push eax
call edi
pop ecx
test eax, eax
je 0x403130
cmp word [esi + 6], bx
jne 0x403130
push esi
push 4
push dword [ebp + 8]
call fcn.00403047
test eax, eax
js 0x403130
xor esi, esi
inc esi
jmp 0x403133
xor esi, esi
jmp 0x403133
Function at 0x4032a5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.00402678
mov ebx, eax
cmp ebx, esi
je 0x403316
lea ecx, [ebp - 0x214]
call fcn.004025f5
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e7ae
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x403334
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.004032a5
cmp eax, esi
jne 0x40337b
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x40331e
lea ecx, [ebp - 0x214]
call fcn.004025f5
push dword [ebp - 0x218]
mov ecx, edi
call fcn.00402585
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.004025f5
mov eax, esi
jmp 0x403305

Function at 0x40384f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x40386e
xor eax, eax
jmp 0x403894
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x403215
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x403891
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret