joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4608e0
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 0x460a8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460a6c
mov dl, 1
mov eax, dword [0x417ec4]
call fcn.00403d08
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404cf8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460a5b
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.00451208
test al, al
je 0x460a4e
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, 0x460a9c
lea eax, [ebp - 0x254]
call fcn.0040a688
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460a4e
xor eax, eax
push ebp
push 0x460a47
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 0x460ad4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460a30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f68
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 0x460a30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460a4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460951
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041ca78
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 0x460a92
lea eax, [ebp - 0x260]
call fcn.00404cf8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a1cac]
cmp byte [eax + 0xad], 0
jne 0x461475
cmp dword [0x4a1cc8], 0
jne 0x461436
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4613c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a1cc8], eax
cmp dword [0x4a1cc4], 0
jne 0x461451
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a1cc4], eax
cmp dword [0x4a1ccc], 0
jne 0x461475
push esp
push 0
push 0
push 0x461364
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a1ccc], eax
pop edx
ret
Function at 0x461678
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46168f
add esp, 0xfffffff0
call fcn.0040405c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004213c8
mov eax, dword [0x49c114]
cmp word [eax + 2], 0
jne 0x4616b7
mov eax, dword [0x49c114]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004633d8
mov eax, dword [0x49c204]
cmp word [eax + 2], 0
jne 0x4616d1
mov eax, dword [0x49c204]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004635e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417768]
call fcn.00403d08
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417768]
call fcn.00403d08
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417768]
call fcn.00403d08
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 [0x426de4]
call fcn.0042e9f0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x461888
mov eax, dword [0x49bffc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042edc4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463ca8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49bffc]
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.0040e0ac
test eax, eax
je 0x4617d8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a02c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e0e0
test eax, eax
je 0x4617ec
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.00404f68
mov byte [ebx + 0xd4], 0
push ebx
push 0x462e4c
call fcn.00422544
mov dword [ebx + 0xc8], eax
mov eax, dword [0x49be8c]
cmp byte [eax], 0
jne 0x46183d
mov eax, ebx
call fcn.004619cc
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.00463ebc
mov eax, ebx
call fcn.00464a20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46187d
call fcn.004040b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461c4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x461ceb
cmp dword [ebx + 0x94], 0
jne 0x461ce5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461bd4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461ce5
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 0x461cab
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461ce5
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.00419f78
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461cba
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a1cac]
cmp dword [eax + 0x30], 0
je 0x462061
test bl, bl
jne 0x461fb2
cmp dword [esi + 0x9c], 0
jne 0x461fa7
mov eax, esi
call fcn.0046489c
push eax
push 0x461e30
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x461f78
mov eax, dword [0x4a1cac]
call fcn.00464e8c
test al, al
je 0x461f78
mov eax, dword [0x4a1cd0]
call fcn.0040619c
mov edi, eax
cmp edi, 0
jl 0x461f78
push 0
mov eax, dword [0x4a1cd0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x461f62
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x461fa7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419f78
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x461f87
inc dword [esi + 0x9c]
jmp 0x462061
cmp dword [esi + 0x9c], 0
jle 0x462061
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x462061
cmp dword [esi + 0x44], 0
je 0x46200d
mov eax, dword [0x4a1cac]
call fcn.00464e8c
test al, al
je 0x46200d
mov eax, dword [0x4a1cd0]
call fcn.0040619c
mov edi, eax
cmp edi, 0
jl 0x46200d
push 5
mov eax, dword [0x4a1cd0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x461ff7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46203c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419f78
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46201c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a1cd0
mov ecx, 1
mov edx, dword [0x461e10]
call fcn.00406350
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x462b48
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 0x462bb2
mov eax, ebx
call fcn.00464e8c
test al, al
jne 0x462bb2
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.00404de8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x462b9f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x462bbf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d4c
jmp 0x462bbf
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d4c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4640a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46410e
mov eax, esi
call fcn.0044bff8
test al, al
je 0x46410e
mov eax, dword [ebx + 0x84]
call fcn.0044bc58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46410e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x464102
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044bc58
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00443bec
jmp 0x46410e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463edc
pop esi
pop ebx
ret
Function at 0x4656b4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407e94]
call fcn.0040598c
xor eax, eax
push ebp
push 0x465855
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49b99c], 0
jne 0x46570f
mov ecx, dword [0x49bea4]
mov dl, 1
mov eax, dword [0x4084ec]
call fcn.0040d20c
call fcn.00404670
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403658
mov eax, ebx
call fcn.00405644
mov dword [ebp - 0x24], eax
mov esi, 0x465864
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406a34
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405654
test eax, eax
jle 0x4657f8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4657e4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404f68
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46578a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404f80
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4657a0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404f80
mov eax, dword [ebp - 0x54]
call fcn.00405188
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404f68
mov eax, dword [ebp - 0x58]
call fcn.00405188
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4657e6
xor eax, eax
test al, al
je 0x4657f1
mov ebx, 0x15
jmp 0x4657fd
mov ebx, 0x10
jmp 0x4657fd
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x49b99c]
call fcn.00465534
mov eax, dword [ebp - 4]
call fcn.00465534
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406a4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46585c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404d1c
lea eax, [ebp - 0xc]
mov edx, dword [0x407e94]
call fcn.00405a5c
ret

Function at 0x494c10
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x494c32
cmp dword [esp + 4], 6
setae bl
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x4958d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x495958
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x1a
mov eax, dword [0x49c1e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.0040a218
mov edx, dword [ebp - 0x108]
mov eax, ebx
mov ecx, 0x49596c
call fcn.00405010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49595f
lea eax, [ebp - 0x108]
call fcn.00404cf8
ret

Function at 0x4959b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x495a34
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x24
mov eax, dword [0x49c1e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.0040a218
mov edx, dword [ebp - 0x108]
mov eax, ebx
mov ecx, 0x495a48
call fcn.00405010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495a3b
lea eax, [ebp - 0x108]
call fcn.00404cf8
ret
Function at 0x495ab8
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405178
lea eax, [ebp - 0x168]
mov edx, dword [0x4084cc]
call fcn.0040598c
xor eax, eax
push ebp
push 0x495c9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
add esi, 2
add esi, 4
add esi, 8
add esi, 0x10
add esi, 0x20
add esi, 0x3f
mov bl, 1
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.0040def4
mov edx, dword [ebp - 0x16c]
lea eax, [ebp - 4]
call fcn.00404d90
lea eax, [ebp - 0x170]
mov ecx, 0x495cb8
mov edx, dword [ebp - 4]
call fcn.00405010
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x168]
mov edx, esi
call fcn.00409d78
test eax, eax
jne 0x495c50
mov eax, dword [ebp - 0x154]
mov edx, 0x495cc4
call fcn.00405120
je 0x495c32
mov eax, dword [ebp - 0x154]
mov edx, 0x495cd0
call fcn.00405120
je 0x495c32
test byte [ebp - 0x158], 0x10
je 0x495bd6
test bl, bl
je 0x495bcc
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00405010
mov eax, dword [ebp - 0x174]
call fcn.00495ab8
test al, al
jne 0x495bd0
xor eax, eax
jmp 0x495bd2
mov al, 1
mov ebx, eax
jmp 0x495c32
push 0
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00405010
mov eax, dword [ebp - 0x178]
call fcn.00405188
push eax
call sub.kernel32.dll_SetFileAttributesA
test bl, bl
je 0x495c2e
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 4]
call fcn.00405010
mov eax, dword [ebp - 0x17c]
call fcn.00405188
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x495c30
xor eax, eax
mov ebx, eax
lea eax, [ebp - 0x168]
call fcn.00409dc8
test eax, eax
je 0x495b70
lea eax, [ebp - 0x168]
call fcn.00409dec
test bl, bl
je 0x495c60
mov eax, dword [ebp - 4]
call fcn.00409fc0
test al, al
jne 0x495c64
xor eax, eax
jmp 0x495c66
mov al, 1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495ca6
lea eax, [ebp - 0x17c]
mov edx, 5
call fcn.00404d1c
lea eax, [ebp - 0x168]
mov edx, dword [0x4084cc]
call fcn.00405a5c
lea eax, [ebp - 4]
call fcn.00404cf8
ret
Function at 0x496114
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x49611c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4962f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4962b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0x2a
push 0
call sub.wininet.dll_InternetSetOptionA
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 0xc]
call fcn.00402f3c
mov ebx, eax
cmp dword [ebp - 0xc], 0
jbe 0x49617a
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x496275
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 4]
call fcn.00404ef0
mov edx, dword [ebp - 0x14]
mov eax, 0x49630c
call fcn.004306a8
test al, al
je 0x49622c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x49622c
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00405634
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebx + 4]
call fcn.004055c8
mov edx, dword [ebp - 0x20]
pop eax
call fcn.004058d8
test eax, eax
jg 0x49621b
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, 0x49631c
call fcn.00405120
jne 0x496226
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
jmp 0x49622c
inc esi
dec dword [ebp - 0x10]
jne 0x4961c5
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00402f58
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryA
mov eax, dword [ebp - 0xc]
call fcn.00402f3c
mov ebx, eax
cmp dword [ebp - 0xc], 0
jbe 0x49625f
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
jne 0x496193
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00402f58
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_FindCloseUrlCache
mov eax, dword [ebp - 4]
call fcn.00495d1c
push 0
push 0
push 0x27
push 0
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4962be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4962fb
lea eax, [ebp - 0x24]
call fcn.00404cf8
lea eax, [ebp - 0x20]
call fcn.004054ac
lea eax, [ebp - 0x1c]
call fcn.00404cf8
lea eax, [ebp - 0x18]
call fcn.004054ac
lea eax, [ebp - 0x14]
call fcn.00404cf8
ret
Function at 0x496ab8
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, eax
mov dword [0x4a1dd8], ebx
push 0x496b48
push 0xffffffffffffffff
push 0
call fcn.004072c8
mov dword [0x4a1ddc], eax
push 0x496b70
push 0x20
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x4a1de0], eax
cmp dword [0x4a1de0], 0xffffffff
je 0x496b0e
push 0
push 0
push 0
push 6
mov eax, dword [0x4a1de0]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4a1de4], eax
cmp dword [0x4a1de4], 0
je 0x496b44
mov eax, dword [0x4a1de4]
mov eax, dword [eax]
mov dword [0x4a1dd4], eax
mov eax, dword [0x4a1de4]
mov edx, dword [0x4a1dd8]
mov dword [eax + 4], edx
push 1
push ebx
push 0xf750
mov eax, dword [0x4a1dd4]
push eax
call sub.user32.dll_PostMessageA
pop ebx
ret

Function at 0x496f0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x496fb5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x496eec]
call fcn.00406350
add esp, 4
push 0xffffffffffffffff
push 0x1a
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x496f72
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404ef0
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00496e9c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404d4c
jmp 0x496f79
mov eax, ebx
call fcn.00404cf8
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x496eec]
call fcn.00406350
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496fbc
lea eax, [ebp - 8]
call fcn.00404cf8
lea eax, [ebp - 4]
mov edx, dword [0x496eec]
call fcn.0040635c
ret

Function at 0x4bb000
Capabilities:
Encode data using xor

Disassembly:
push 0x2165dab
pop ecx
mov esi, 0x4bb01e
mov edx, 0x6c4
push dword [edx + esi]
xor dword [esp], ecx
pop dword [edx + esi]
sub edx, 3
dec edx
jne 0x4bb010
nop
nop
nop
inc ebx
and byte [edi], dl
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push esi
add cl, bl
les ebx, [edi]
add ch, byte [ebx - 0x50fde2ad]
dec eax
sbb eax, 0x14edab02
add dl, byte [edx - 0x17]
std
out dx, eax
je 0x4bb0a1
add ah, ch
insb byte es:[edi], dx
pop esp
add dh, bl
insb byte es:[edi], dx
pop esp
add bl, byte [ebx - 6]
pop ds
add ah, bh
insb byte es:[edi], dx
sbb al, 2
std
insb byte es:[edi], dx
sbb al, 2
out dx, eax
pop ds
add ah, bh
insb byte es:[edi], dx
sbb al, 2
std
insb byte es:[edi], dx
sbb al, 2
stosd dword es:[edi], eax
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add ch, byte [ebx - 0x54fde9a3]
pop ebp
push ss
add al, byte [eax]
add byte [eax], al
add al, ah
cmp byte [esp + ebp*2 - 0x32], ah
xor dword [0x7a398530], esp
outsb dx, byte [esi]
stosd dword es:[edi], eax
sbb dh, byte [ebx + 0x76]
invalid