joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a3c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3498
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00484b30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.HitmanPro35::HashClassifier.0
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], 0
push 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x14
call fcn.00401280
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.00401280
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.00401300
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.00401e80
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
call fcn.00404b70
sub eax, 1
neg eax
sbb eax, eax
and eax, 0x7d0
add eax, 0x7d0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x54], 0x1e
push 0x24
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x49a4c6
push 0x6086b4
lea ecx, [ebp - 0x24]
call fcn.004b3550
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.00419bc0
mov dword [ebp - 0x30], eax
jmp 0x49a4cd
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x58], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x49a4fe
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x24]
call fcn.004b3860
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x2c]
push edx
push 0x49a6c0
push 0x20000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x49a650
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x49a6b1
push 0
push 0x3a98
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004b9730
push eax
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x49a69a
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov esp, ebp
pop ebp
ret
Function at 0x49c040
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8bf7
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.004a1d20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
mov dword [ecx], vtable.HitmanPro35::AutoStartEnumerator.0
push 0
mov ecx, dword [ebp - 0x220]
add ecx, 8
call fcn.00430200
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
add ecx, 0x14
call fcn.004b34a0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
call fcn.0049c1c0
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x14
call fcn.004b38f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4
Function at 0x4a60b0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c20
call fcn.0055b970
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.00404b70
test eax, eax
jne 0x4a60d8
jmp 0x4a62fe
push 0x5feb54
mov ecx, dword [ebp + 8]
call fcn.004b6880
movzx eax, al
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4a612f
push 1
push 0x5feb54
mov ecx, dword [ebp + 8]
call fcn.004b5060
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4a612d
mov ecx, dword [ebp + 8]
call fcn.00404b70
sub eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004b5a90
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.004b5a90
jmp 0x4a614f
push 0x604bf0
mov ecx, dword [ebp + 8]
call fcn.004b6880
movzx edx, al
test edx, edx
je 0x4a614f
push 4
push 0
mov ecx, dword [ebp + 8]
call fcn.004b5a90
push 0
push str.system32_
mov ecx, dword [ebp + 8]
call fcn.004b68a0
movzx eax, al
test eax, eax
je 0x4a619d
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4a6198
push 8
push 0
mov ecx, dword [ebp + 8]
call fcn.004b5a90
lea edx, [ebp - 0x210]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.004b54e0
jmp 0x4a6224
push 0
push str.SystemRoot_
mov ecx, dword [ebp + 8]
call fcn.004b68a0
movzx eax, al
test eax, eax
je 0x4a61e8
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4a61e6
push 0xb
push 0
mov ecx, dword [ebp + 8]
call fcn.004b5a90
lea edx, [ebp - 0x418]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.004b54e0
jmp 0x4a6224
push 0
mov ecx, dword [ebp + 8]
call fcn.004b3df0
movzx eax, ax
cmp eax, 0x25
jne 0x4a6224
push 0x400
lea ecx, [ebp - 0xc18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0xc18]
push edx
mov ecx, dword [ebp + 8]
call fcn.004b38f0
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.004b45b0
movzx eax, al
test eax, eax
jne 0x4a62bc
lea ecx, [ebp - 0x141c]
push ecx
lea edx, [ebp - 0x1418]
push edx
push 0x400
push 0
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4a62ab
push 0x400
lea eax, [ebp - 0x1418]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5fc5a0
push 0x400
lea ecx, [ebp - 0x1418]
push ecx
call fcn.0054eb7c
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push 0x400
lea edx, [ebp - 0x1418]
push edx
call fcn.0054eb7c
add esp, 0xc
lea eax, [ebp - 0x1418]
push eax
mov ecx, dword [ebp + 8]
call fcn.004b38f0
jmp 0x4a62fe
push 0x604560
mov ecx, dword [ebp + 8]
call fcn.004b45e0
movzx ecx, al
test ecx, ecx
je 0x4a62fe
push 0x400
lea edx, [ebp - 0x1c20]
push edx
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4a62fe
lea eax, [ebp - 0x1c20]
push eax
mov ecx, dword [ebp + 8]
call fcn.004b38f0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x4aa010
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d13b8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x30]
call fcn.0042f9e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0x100
mov dword [ebp - 0x10], 0
mov eax, 1
test eax, eax
je 0x4aa10f
xor ecx, ecx
mov eax, dword [ebp - 0x34]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d3af
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
shl ecx, 2
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4aa0db
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0054d555
add esp, 4
mov byte [ebp - 0x49], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0047dfd0
mov al, byte [ebp - 0x49]
jmp 0x4aa175
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x3c]
jae 0x4aa0f0
mov edx, dword [ebp - 0x38]
shr edx, 2
mov dword [ebp - 0x34], edx
jmp 0x4aa10f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0054d555
add esp, 4
mov edx, dword [ebp - 0x34]
shl edx, 1
mov dword [ebp - 0x34], edx
jmp 0x4aa055
mov dword [ebp - 0x40], 0
jmp 0x4aa121
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x34]
jae 0x4aa141
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx*4]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x30]
call fcn.004a8c30
jmp 0x4aa118
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0054d555
add esp, 4
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.004a9c30
mov byte [ebp - 0x61], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0047dfd0
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4abd80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf01b
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.0055b970
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1040], ecx
lea eax, [ebp - 0x10]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserData
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4abe99
mov dword [ebp - 0x18], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jae 0x4abe8f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1044], ecx
push 0x400
lea edx, [ebp - 0x81c]
push edx
mov eax, dword [ebp - 0x1044]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x820], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x820], 0
jne 0x4abe7c
push str.Components
push 0x400
lea eax, [ebp - 0x81c]
push eax
call fcn.0054eb7c
add esp, 0xc
lea ecx, [ebp - 0x81c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1040]
call fcn.004abfe0
jmp 0x4abe8a
cmp dword [ebp - 0x820], 0x103
jne 0x4abe8a
jmp 0x4abe8f
jmp 0x4abe01
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerFolders
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4abfba
mov dword [ebp - 0x824], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x824]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x1028], 0
mov ecx, dword [ebp - 0x1028]
cmp ecx, dword [ebp - 0x824]
jae 0x4abfb0
mov dword [ebp - 0x102c], 0x800
mov edx, dword [ebp - 0x1028]
mov dword [ebp - 0x1048], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1024]
push ecx
mov edx, dword [ebp - 0x1048]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x1030], eax
mov ecx, dword [ebp - 0x1028]
add ecx, 1
mov dword [ebp - 0x1028], ecx
cmp dword [ebp - 0x1030], 0
jne 0x4abf9d
lea edx, [ebp - 0x1024]
push edx
lea ecx, [ebp - 0x103c]
call fcn.004b3550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x103c]
push eax
mov ecx, dword [ebp - 0x1040]
mov ecx, dword [ecx + 4]
call fcn.0041b840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x103c]
call fcn.004b3860
jmp 0x4abfab
cmp dword [ebp - 0x1030], 0x103
jne 0x4abfab
jmp 0x4abfb0
jmp 0x4abeee
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x4ac2c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cef9b
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.0055b970
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1044], ecx
lea eax, [ebp - 0x10]
push eax
push str.SOFTWAREClassesInstallerProducts
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4ac4be
mov dword [ebp - 0x820], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x820]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x820]
jae 0x4ac4b4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1048], ecx
push 0x800
lea edx, [ebp - 0x81c]
push edx
mov eax, dword [ebp - 0x1048]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x824], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x824], 0
jne 0x4ac4a1
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x81c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4ac49f
mov dword [ebp - 0x1030], 0x800
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x102c]
push ecx
push 0
push 0
push 0x5fdf18
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1030], 0x800
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x102c]
push ecx
push 0
push 0
push str.ProductIcon
mov edx, dword [ebp - 0x828]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac492
push 0x5c
lea eax, [ebp - 0x102c]
push eax
call fcn.00404aa0
add esp, 8
mov dword [ebp - 0x1034], eax
cmp dword [ebp - 0x1034], 0
je 0x4ac492
mov ecx, dword [ebp - 0x1034]
add ecx, 2
mov dword [ebp - 0x1034], ecx
xor edx, edx
mov eax, dword [ebp - 0x1034]
mov word [eax], dx
lea ecx, [ebp - 0x102c]
push ecx
lea ecx, [ebp - 0x1040]
call fcn.004b3550
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1040]
push edx
mov eax, dword [ebp - 0x1044]
mov ecx, dword [eax + 4]
call fcn.0041b840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
call fcn.004b3860
mov ecx, dword [ebp - 0x828]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ac4af
cmp dword [ebp - 0x824], 0x103
jne 0x4ac4af
jmp 0x4ac4b4
jmp 0x4ac347
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret
Function at 0x4ad840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ad88a
xor al, al
jmp 0x4ad8ab
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x4ad898
xor al, al
jmp 0x4ad8ab
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 0x10]
add edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b8610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004b86b0
movzx eax, al
test eax, eax
je 0x4b86a2
mov ecx, dword [ebp - 0x10]
call fcn.004b8390
movzx ecx, al
test ecx, ecx
je 0x4b868d
push 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b868d
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b868d
mov ecx, dword [ebp - 8]
push ecx
call fcn.004b8bc0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b868d
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x34]
call edx
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx]
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret

Function at 0x4b89e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
call fcn.004b86b0
movzx eax, al
test eax, eax
je 0x4b8abb
lea ecx, [ebp - 0x18]
call fcn.004b34a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx]
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x4b8a90
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004b48d0
lea ecx, [ebp - 0x18]
call fcn.004b9730
add eax, 1
push eax
lea ecx, [ebp - 0x18]
call fcn.004553f0
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax]
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b5930
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004b34d0
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov eax, dword [ebp + 8]
jmp 0x4b8ad6
mov eax, dword [ebp - 0x24]
add eax, 0x2c
push eax
mov ecx, dword [ebp + 8]
call fcn.004b34d0
mov ecx, dword [ebp - 0x20]
or ecx, 1
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4bbfc0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004553f0
push eax
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret
Function at 0x4bd980
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
xor edx, edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4c02b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c02e9
mov ecx, dword [ebp - 0x24]
call fcn.004c0160
mov dword [ebp - 0x28], eax
jmp 0x4c02f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x4c0318
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00413920
push 0x6265d4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00553e2b
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x64]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x4c0e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8960
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x280], 0
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jl 0x4c0ef6
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004b3550
mov eax, dword [ebp - 0x280]
or eax, 1
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 8]
jmp 0x4c0fcd
mov ecx, dword [ebp + 0xc]
push ecx
push 0x60bf84
push 0x20
lea edx, [ebp - 0x264]
push edx
call fcn.00410c20
add esp, 0x10
push 0x1c
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x270], 0
je 0x4c0f6f
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004b3550
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x280]
or ecx, 2
mov dword [ebp - 0x280], ecx
lea edx, [ebp - 0x27c]
push edx
mov ecx, dword [ebp - 0x270]
call fcn.00467fb0
mov dword [ebp - 0x284], eax
jmp 0x4c0f79
mov dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x268], ecx
push 0x6268a8
lea edx, [ebp - 0x268]
push edx
call fcn.00553e2b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x280]
and eax, 2
je 0x4c0fcd
and dword [ebp - 0x280], 0xfffffffd
lea ecx, [ebp - 0x27c]
call fcn.004b3860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret