joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7958
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 0x4b7b03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b7ae4
mov dl, 1
mov eax, dword [0x435704]
call fcn.00442708
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406954
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b7ad3
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.00487c68
test al, al
je 0x4b7ac6
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, 0x4b7b14
lea eax, [ebp - 0x394]
call fcn.0041dd60
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b7ac6
xor eax, eax
push ebp
push 0x4b7abf
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 0x4b7b84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b7aa8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004075b0
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4b7aa8
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004075b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7ac6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4b79c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00442644
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7b0a
lea eax, [ebp - 0x3a0]
call fcn.00406954
ret

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

Disassembly:
push ecx
mov eax, dword [0x56724c]
cmp byte [eax + 0xad], 0
jne 0x4b86d2
cmp dword [0x567264], 0
jne 0x4b8692
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x55dfbc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x567264], eax
cmp dword [0x567260], 0
jne 0x4b86ad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x567260], eax
cmp dword [0x567268], 0
jne 0x4b86d2
push esp
push 0
push 0
mov eax, dword [0x55dfb8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x567268], eax
pop edx
ret
Function at 0x4b89e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b89ff
add esp, 0xfffffff0
call fcn.00405418
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044afdc
mov eax, dword [0x560f0c]
cmp byte [eax], 0
jne 0x4b8a2c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5614b8]
cmp word [eax + 2], 0
jne 0x4b8a46
mov eax, dword [0x5614b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004baab0
mov eax, dword [0x5616a0]
cmp word [eax + 2], 0
jne 0x4b8a60
mov eax, dword [0x5616a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bacb4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x45513c]
call fcn.0045b6a0
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4bb22c
mov dl, 1
mov eax, dword [0x432df0]
call fcn.00404eb8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x432df0]
call fcn.00404eb8
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 [0x459838]
call fcn.00464b58
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b8c40
mov eax, dword [0x561274]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00464fec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4bb514
mov dl, 1
mov eax, dword [0x432df0]
call fcn.00404eb8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x561274]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041db70
test eax, eax
je 0x4b8b71
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041d8d0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041db54
test eax, eax
je 0x4b8b89
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004075b0
push ebx
push 0x4ba49c
call fcn.004ae7f8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x560f0c]
cmp byte [eax], 0
jne 0x4b8bda
mov eax, ebx
call fcn.004b8db4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004bb740
mov eax, ebx
call fcn.004bc370
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b8c37
call fcn.00405470
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b9080
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b9122
cmp dword [ebx + 0x94], 0
jne 0x4b911c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b8fcc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b911c
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 0x4b90e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b911c
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.0043e838
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b90f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x56724c]
cmp dword [eax + 0x170], 0
je 0x4b94a5
test bl, bl
jne 0x4b93f3
cmp dword [esi + 0x9c], 0
jne 0x4b93e8
mov eax, esi
call fcn.004bc1c0
push eax
push 0x4b924c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b93b9
mov eax, dword [0x56724c]
cmp byte [eax + 0xd3], 0
je 0x4b93b9
mov eax, dword [esi + 0xd8]
call fcn.004084dc
mov edi, eax
cmp edi, 0
jl 0x4b93b9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b93a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b93e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043e838
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b93c8
inc dword [esi + 0x9c]
jmp 0x4b94a5
cmp dword [esi + 0x9c], 0
jle 0x4b94a5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b94a5
cmp dword [esi + 0x44], 0
je 0x4b9450
mov eax, dword [0x56724c]
cmp byte [eax + 0xd3], 0
je 0x4b9450
mov eax, dword [esi + 0xd8]
call fcn.004084dc
mov edi, eax
cmp edi, 0
jl 0x4b9450
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b9439
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b947f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043e838
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b945f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4ac6d0]
call fcn.0040869c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ba0e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4ba153
cmp byte [ebx + 0xd3], 0
jne 0x4ba153
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406abc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ba140
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ba160
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d14
jmp 0x4ba160
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406d14
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bb928
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bb996
mov eax, esi
call fcn.00481c50
test al, al
je 0x4bb996
mov eax, dword [ebx + 0x84]
call fcn.004818a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bb996
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bb98a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004818a4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047888c
jmp 0x4bb996
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004bb760
pop esi
pop ebx
ret
Function at 0x4ce754
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ce87c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004ce640
mov eax, dword [esi]
call fcn.004084d4
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4164f8]
call fcn.0040869c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404578
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404578
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004084d4
mov dword [ebp - 0xc], eax
mov eax, dword [0x561898]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004be0a4
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.004048cc
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004084d4
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004be080
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004bde38
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004be09c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce883
lea eax, [ebp - 4]
mov edx, dword [0x4164f8]
call fcn.004086a8
ret

Function at 0x4f93ac
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407688
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4f93d1
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00407514
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4f93f0
mov eax, ebx
mov edx, dword [esp]
call fcn.00407688
pop ecx
pop edx
pop ebx
ret
Function at 0x551320
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406a38
mov eax, dword [ebp - 0xc]
call fcn.00406a38
mov eax, dword [ebp + 8]
call fcn.00406a38
xor eax, eax
push ebp
push 0x5513d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041d3e0
test al, al
je 0x55136b
mov eax, dword [ebp - 0xc]
call fcn.0041d544
mov dl, 1
mov eax, dword [ebp + 8]
call fcn.0041d3e0
test al, al
je 0x551381
mov eax, dword [ebp + 8]
call fcn.0041d544
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00407514
push eax
mov eax, dword [ebp - 8]
call fcn.00407514
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
jne 0x5513ad
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.0041d5a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5513d7
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004069b4
lea eax, [ebp + 8]
call fcn.00406954
ret

Function at 0x551a3c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a38
xor eax, eax
push ebp
push 0x551b81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406d5c
lea eax, [ebp - 0xc]
call fcn.00406efc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407514
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x551b5b
mov eax, dword [ebp - 0x10]
call fcn.004043ac
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x551b54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407514
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x551b3e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x551b8c
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x551b3e
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 8]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x551b9c
call fcn.0041de24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551b63
mov eax, dword [ebp - 0x18]
call fcn.004043c8
ret
mov eax, dword [ebp - 8]
call fcn.00406954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551b88
lea eax, [ebp - 0xc]
call fcn.00406954
lea eax, [ebp - 4]
call fcn.00406954
ret
Function at 0x60af50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x189000]
push edi
or ebp, 0xffffffff
jmp 0x60af72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x60af79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60af68
mov eax, 1
add ebx, ebx
jne 0x60af8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60af9c
jne 0x60afbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60afbb
dec eax
add ebx, ebx
jne 0x60afa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x60af80
add ebx, ebx
jne 0x60afb7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x60b00d
xor ecx, ecx
sub eax, 3
jb 0x60afd3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60b042
sar eax, 1
mov ebp, eax
jmp 0x60afde
add ebx, ebx
jne 0x60afde
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60afac
inc ecx
add ebx, ebx
jne 0x60afec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60afac
add ebx, ebx
jne 0x60aff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60afee
jne 0x60b00a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60afee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x60b02c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x60b01e
jmp 0x60af6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x60b02c
add edi, ecx
jmp 0x60af6e
pop esi
mov edi, esi
mov ecx, 0x648a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x60b04a
cmp byte [edi], 0x13
jne 0x60b04a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x60b04f
lea edi, [esi + 0x207000]
mov eax, dword [edi]
or eax, eax
je 0x60b0be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x210868]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x210994]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60b07c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x210998]
or eax, eax
je 0x60b0b8
mov dword [ebx], eax
add ebx, 4
jmp 0x60b099
call dword [esi + 0x2109a8]
mov ebp, dword [esi + 0x21099c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x60b0f2
sub esp, 0xffffff80
jmp 0x4f2890
Function at 0x4013d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483802
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4aa6b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x228], esi
mov word [esi], cx
mov dword [ebp - 4], ecx
mov edi, dword [eax]
mov ecx, 1
mov dword [ebp - 0x224], ecx
test edi, edi
je 0x4014ae
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], 0x104
call fcn.00428990
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push str.UninstallString
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x401490
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401490
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401ad0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d331
mov esp, ebp
pop ebp
ret 4
Function at 0x401ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4837b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4aa6b4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00402410
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x70], 0
call fcn.00402470
add esp, 0x10
push 0x4a3f08
lea eax, [esp + 0x30]
push eax
call fcn.0041fb98
int3
Function at 0x406430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483258
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4aa6b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x406471
xor eax, eax
jmp 0x40660a
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
xor eax, eax
cmp edx, eax
je 0x40649f
mov ecx, dword [esi + 0x34]
mov ebx, dword [ecx]
lea ebx, [edx + ebx*2]
cmp edx, ebx
jae 0x40649f
dec dword [ecx]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x40660a
cmp dword [esi + 0x54], eax
je 0x406605
mov edx, dword [esi + 0x10]
lea ebx, [esi + 0x48]
cmp dword [edx], ebx
jne 0x4064c8
mov ecx, dword [esi + 0x40]
mov ebx, dword [esi + 0x3c]
mov dword [edx], ebx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov edx, dword [esi + 0x30]
sub ecx, ecx
sar ecx, 1
mov dword [edx], ecx
cmp dword [esi + 0x44], eax
jne 0x4064f2
mov esi, dword [esi + 0x54]
push esi
push edi
call fcn.0041dd63
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x40660a
mov eax, ecx
jmp 0x40660a
movzx edx, di
mov ecx, 0xf
mov dword [ebp - 0x30], edx
mov edx, eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x40651a
lea edx, [ebp - 0x2c]
mov byte [edx + 8], al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x406532
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push edx
push eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x2e]
push edx
mov edx, dword [edi + 0x14]
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call edx
test eax, eax
js 0x4065fd
cmp eax, 1
jg 0x4065c5
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x406572
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, ecx
je 0x40659b
cmp ebx, 0x10
jae 0x406581
lea eax, [ebp - 0x2c]
mov ecx, dword [esi + 0x54]
push ecx
push edi
push 1
push eax
call fcn.0041f1ce
add esp, 0x10
cmp edi, eax
jne 0x4065fd
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
mov byte [esi + 0x4a], 1
cmp dword [ebp - 0x38], edx
jne 0x4065ef
test edi, edi
jne 0x406526
cmp dword [ebp - 0x1c], 0x20
lea ecx, [ebp - 0x2c]
jae 0x406600
push edi
push 8
call fcn.00406e70
jmp 0x406520
cmp eax, 3
jne 0x4065fd
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x30]
call fcn.00404bb0
movzx esi, word [ebp + 8]
test al, al
jne 0x4065e2
mov esi, 0xffff
lea ecx, [ebp - 0x2c]
call fcn.00405110
mov ax, si
jmp 0x40660a
lea ecx, [ebp - 0x2c]
call fcn.00405110
mov ax, word [ebp + 8]
jmp 0x40660a
lea ecx, [ebp - 0x2c]
call fcn.00405110
mov eax, 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d331
mov esp, ebp
pop ebp
ret 4