joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa42f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xa579fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xa43002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00a46dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xa43002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00a3e6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00a4720b
push 0x10
call fcn.00a471d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xa42fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00a331c0
jmp 0xa42fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00a42b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xa42ff0
mov ecx, edi
call fcn.00a332c0
push edi
call fcn.00a471c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xa43021
inc ebx
cmp ebx, 0x20
jb 0xa42f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xa44250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa58808
push 0xa48288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xa44329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xa44329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00a471d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xa44329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xa44329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xa4432c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00a44351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa44d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xa44d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xa44d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xa44d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa44d94
push eax
push esi
call fcn.00a4720b
add esp, 8
pop esi
ret 0x10

Function at 0xa44da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa44e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xa44e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xa5d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00a46dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xa44dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xa44e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa44ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xa44eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xa5d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00a46dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xa44eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xa44e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xa45000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xa45131
push esi
call fcn.00a48145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00a37080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xa45131
push 0
push ebp
call fcn.00a373a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00a37260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xa4508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00a372f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xa45121
push 0xa5d918
push edi
call fcn.00a463f0
push eax
push ebx
push esi
call fcn.00a44f60
push 0xa5d8f8
push edi
call fcn.00a463f0
push eax
push ebx
push esi
call fcn.00a44f60
push 0xa5d8d8
push edi
call fcn.00a463f0
push eax
push ebx
push esi
call fcn.00a44f60
push 0xa5d8c0
push edi
call fcn.00a463f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00a44f60
push 0xa5d8a0
push edi
call fcn.00a463f0
push eax
push ebx
push esi
call fcn.00a44f60
push 0xa5d888
push edi
call fcn.00a463f0
push eax
push ebx
push esi
call fcn.00a44f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xa461b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a46140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a46140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a46140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a46140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa46bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa46c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa5887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa46c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa46c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401140
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push 0
push 2
or ebx, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4011d2
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4011bf
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [esp + 0x30]
push str.explorer.exe
push ecx
call edi
add esp, 8
test eax, eax
je 0x4011bb
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4011bf
lea eax, [esp + 0x30]
push str.explorer.exe
push eax
call edi
add esp, 8
test eax, eax
jne 0x401199
mov ebx, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x128
ret
mov eax, ebx
pop esi
pop ebx
add esp, 0x128
ret

Function at 0x4011e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
call fcn.00401140
push 0
push 2
mov ebp, eax
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401262
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40124e
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
cmp eax, dword [esp + 0x18]
jne 0x40123b
cmp ebp, dword [esp + 0x28]
je 0x40124c
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40124e
jmp 0x40122d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x128
ret
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x128
ret

Function at 0x401340
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ecx
mov eax, dword [0x405410]
mov dword [esp], 0
test eax, eax
jbe 0x4013ae
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
push edi
mov edi, 0x4043d0
xor esi, esi
push 0x80
push edi
call ebx
push edi
call ebp
cmp eax, 1
je 0x401391
push 0xbb8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc esi
cmp esi, 3
jle 0x401369
mov eax, dword [esp + 0x10]
mov ecx, dword [0x405410]
inc eax
add edi, 0x104
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x401367
pop edi
pop esi
pop ebp
pop ebx
mov eax, dword [0x405414]
test eax, eax
je 0x4013c2
push 0x4042cc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ecx
ret
Function at 0x401a40
Capabilities:
Get hostname
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0xc], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x401a84
lea edx, [esp + 8]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x4041b8
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push ebp
push esi
push edi
push 0x280
call ebx
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
mov dword [esp + 0x10], 0x280
push edx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov ebp, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0x6f
jne 0x401ac7
push edi
call ebp
mov eax, dword [esp + 0x14]
push eax
call ebx
add esp, 8
mov edi, eax
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x401afb
test edi, edi
mov esi, edi
je 0x401afb
lea edx, [esi + 0x1b0]
push str.0.0.0.0
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x401b0e
mov esi, dword [esi]
test esi, esi
jne 0x401adc
push edi
call ebp
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push 0x104
call ebx
mov ebx, eax
mov eax, dword [esi + 0x190]
push ebx
add esi, 0x194
push eax
push esi
call fcn.00401b40
push edi
call ebp
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret

Function at 0x401ba0
Capabilities:
Get disk size

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
xor esi, esi
push eax
push esi
push esi
push 0x4041c4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x401c07
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, 0x14
call fcn.004021e0
push 0x104
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
add esp, 4
mov esi, eax
push ecx
push edx
push str._I64d
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x401c10
Capabilities:
Get disk information

Disassembly:
push ecx
push esi
push 0x104
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov esi, eax
push 0x4041c8
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea eax, [esp + 4]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0x4041c4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x401d06
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 0x1c
mov al, byte [ecx + edx]
mov byte [esi], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 0x18
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 1], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 0x14
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 2], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 0x10
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 4], 0x2d
mov byte [esi + 3], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 0xc
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 5], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 8
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 6], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
shr ecx, 4
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 7], al
mov ecx, dword [esp + 4]
mov edx, dword [0x404188]
and ecx, 0xf
mov al, byte [ecx + edx]
mov byte [esi + 9], 0
mov byte [esi + 8], al
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401e80
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebx
push esi
jne 0x401e93
pop esi
pop ebx
add esp, 8
ret
push 0
push 0
push 0
push 0
push str.tempapp
mov dword [eax], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
jne 0x401ebc
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
jne 0x401ee5
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push ebp
push edi
push 0x400
mov dword [esp + 0x14], 0
xor esi, esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 4
mov edi, eax
mov edx, 0x400
lea ecx, [esp + 0x10]
sub edx, esi
push ecx
push edx
push eax
push ebx
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401f2a
add esi, eax
lea eax, [edi + esi]
mov byte [eax], 0
jmp 0x401f07
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
mov dword [eax], esi
mov dword [ecx], edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
xor eax, eax
pop edi
test esi, esi
pop ebp
pop esi
setne al
pop ebx
add esp, 8
ret
Function at 0x54c4a7
Capabilities:
Encode data using xor

Disassembly:
jo 0x54c453
out 0xb8, al
insd dword es:[edi], dx
aas
sbb bl, 0xd
jp 0x54c460
outsd dx, dword [esi]
xlatb
sub dh, byte [ebp - 0xc401c41]
xchg ebx, eax
xchg ebx, eax
dec esi
nop
outsb dx, byte [esi]
std
scasb al, byte es:[edi]
sbb dword [edi + 0x752a2ea], edi
cmp byte [edx + 0x7d], bh
jg 0x54c480
dec edi
pop ebp
push ebp
mov dh, 0xd
adc eax, 0x923eb479
cmp eax, 0x9e831ff2
and eax, dword [ebx - 0x40e86139]
bound edi, qword [eax]
inc ebx
and byte [ebx + 0x32be799a], ah
mov edi, 0x20433862
mov dword [0x32be799a], eax
jns 0x54c415
xor bl, byte [0x7e714432]
sbb eax, 0x7e714432
xchg esi, eax
xor dword [eax + 0x45], 0xfebd09df
insb byte es:[edi], dx
sbb word [eax + 0x6600838f], 0x82c8
inc ebp
fisttp word [ecx]
mov ebp, 0x81666cfe
cwde
pop dword [ebx - 0x7d379a00]
sub byte [esi + 0x6b], bl
add dword [edi], 0x4f
push cs
outsd dx, dword [esi]
jg 0x54c44e
psubusw mm3, qword [edi + 0xc13253f]
clc
in al, dx
das
xor al, 0xef
mov edx, 0x8f9f3f53
push edi
mov ebp, 0x98a1bea1
invalid
loope 0x54c455
ja 0x54c43a
and dword [ecx + ebp*8 - 0x4b], 0x71534049
dec eax
scasb al, byte es:[edi]
nop
outsb dx, byte [esi]
jp 0x54c4c7
add cl, ch
inc edi
sbb eax, 0xefd83ce2
out 0xaf, al
aam 0xde
invalid
das
inc edx
cmp al, 0x98
inc eax
stosb byte es:[edi], al
iretd
Function at 0x5cd807
Capabilities:
Encode data using xor

Disassembly:
call 0x68bb6dbb
lodsd eax, dword [esi]
dec esi
add bl, byte [ebp - 0x615516f7]
jge fcn.005cd887
cmp eax, 0x8c4b2ade
xchg ecx, eax
fstp qword [ebx + 0x2e311aad]
mov word [ecx + 0x1aad9bdd], ss
xor dword [esi], ebp
adc byte [eax + 0x7c], bl
push ds
dec esp
push 0xffffffffffffff82
in al, dx
jg 0x5cd81a
mov cl, 0x3f
adc eax, 0x567e4c5e
dec esi
wait
jns 0x5cd866
movsb byte es:[edi], byte [esi]
pop ecx
xchg ebp, eax
in al, 0xe2
sub edi, dword [ebp - 0x6f]
stosb byte es:[edi], al
pop ebx
sbb bl, 0xb6
fisubr dword [edi + esi]
insb byte es:[edi], dx
invalid
invalid
Function at 0x659a76
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662930
cmp edx, dword [eax]
je 0x659a98
add eax, 8
inc ecx
cmp eax, 0x6629c0
jl 0x659a89
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662930]
jne 0x659bc6
mov eax, dword [0xa65d18]
cmp eax, 1
je 0x659ba0
test eax, eax
jne 0x659ac9
cmp dword [0x6602e4], 1
je 0x659ba0
cmp edx, 0xfc
je 0x659bc6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659b00
lea eax, [ebp - 0x1a4]
push 0x65d858
push eax
call fcn.00656af0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00656c70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659b43
lea eax, [ebp - 0x1a4]
push eax
call fcn.00656c70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65d854
push edi
call fcn.00656e00
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65d838
push eax
call fcn.00656af0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00656b00
lea eax, [ebp - 0xa0]
push 0x65d834
push eax
call fcn.00656b00
push dword [esi + 0x662934]
lea eax, [ebp - 0xa0]
push eax
call fcn.00656b00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65d80c
push eax
call fcn.0065b41c
add esp, 0x2c
pop edi
jmp 0x659bc6
lea eax, [ebp + 8]
lea esi, [esi + 0x662934]
push 0
push eax
push dword [esi]
call fcn.00656c70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x409568
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x41e23f
call fcn.0041d6dc
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0040c010
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4095f1
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4095f1
call fcn.00401c76
mov esi, eax
jmp 0x4096f4
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x409614
call fcn.00401c76
jmp 0x4096e7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x40960a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x409647
mov esi, 0x8007000e
jmp 0x4096e9
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x409717
jb 0x409662
cmp eax, 0xffffffff
ja 0x409717
cmp eax, 0x400
jbe 0x409677
push eax
lea ecx, [ebp - 0x424]
call fcn.00407f38
jmp 0x409699
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x409699
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x40963d
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40960a
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00409413
mov esi, eax
test edi, edi
je 0x4096f4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40970d
lea ecx, [ebp - 0x424]
call fcn.00407f23
mov eax, esi
call fcn.0041d629
ret 0x10
push 0x80070216
call fcn.004021d4
int3

Function at 0x416575
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004161ee

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219