joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474400
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x474410
sub eax, edx
mov esi, eax
lea ebp, [esi + esi]
push ebp
call dword [0x4d3f38]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x474439
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
add esp, 0xc
ret
mov ecx, ebx
call fcn.00476c80
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x4744bf
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4744b2
mov eax, dword [esp + 0x10]
push 0
push ebp
push ebx
push eax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [esi + 0x10], eax
push ebx
mov byte [esi + 0x14], al
call dword [0x4d3f3c]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x4747b0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4747e1
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret

Function at 0x4747f0
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret
Function at 0x477350
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x4d3f38]
mov edi, eax
add esp, 4
test edi, edi
jne 0x477375
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x4773bc
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x4773c0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x47741e
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x4773e3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x477461
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x4af977
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x4af978
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x477430
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4788df
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d3f84]
jne 0x4788e9
repz ret
jmp fcn.00481f3e
Function at 0x48e21b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00480aa0
and dword [ebp - 4], 0
cmp dword [0x4d6d04], 0
mov ebx, eax
jne 0x48e2cc
push 0x4b0f04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48e37d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x48e37d
push eax
call fcn.00480a2e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4d6d04], eax
call esi
push eax
call fcn.00480a2e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d6d08], eax
call esi
push eax
call fcn.00480a2e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d6d0c], eax
call esi
push eax
call fcn.00480a2e
pop ecx
mov dword [0x4d6d14], eax
test eax, eax
je 0x48e2cc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00480a2e
pop ecx
mov dword [0x4d6d10], eax
mov eax, dword [0x4d6d10]
cmp eax, ebx
je 0x48e324
cmp dword [0x4d6d14], ebx
je 0x48e324
push eax
call fcn.00480aa9
push dword [0x4d6d14]
mov esi, eax
call fcn.00480aa9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48e324
test edi, edi
je 0x48e324
call esi
test eax, eax
je 0x48e31b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48e31b
test byte [ebp - 0xc], 1
jne 0x48e324
or dword [ebp + 0x10], 0x200000
jmp 0x48e35d
mov eax, dword [0x4d6d08]
cmp eax, ebx
je 0x48e35d
push eax
call fcn.00480aa9
pop ecx
test eax, eax
je 0x48e35d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48e35d
mov eax, dword [0x4d6d0c]
cmp eax, ebx
je 0x48e35d
push eax
call fcn.00480aa9
pop ecx
test eax, eax
je 0x48e35d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d6d04]
call fcn.00480aa9
pop ecx
test eax, eax
je 0x48e37d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48e37f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x499200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x49921f
cmp dword [ebp + 0xc], 0
jne 0x499226
xor eax, eax
jmp 0x499343
lea eax, [ebp - 0x400]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x499333
mov dword [ebp - 8], 0
jmp 0x499252
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [ebp + edx*2 - 0x400]
test eax, eax
je 0x499333
push 0x4b3574
mov ecx, dword [ebp - 8]
lea edx, [ebp + ecx*2 - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x499299
push 0x4b357c
mov eax, dword [ebp - 8]
lea ecx, [ebp + eax*2 - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x49929b
jmp 0x499249
mov edx, dword [ebp - 8]
mov ax, word [ebp + edx*2 - 0x400]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 8]
mov dx, word [ebp + ecx*2 - 0x3fe]
mov word [ebp - 0x12], dx
xor eax, eax
mov word [ebp - 0x10], ax
push 0x64
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x4992da
xor eax, eax
jmp 0x499343
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047b322
add esp, 0xc
test eax, eax
jne 0x49932e
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
jmp 0x499343
jmp 0x499249
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret
Function at 0x499530
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004788f0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x4995e6
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004788f0
add esp, 0xc
push 0x208
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x214]
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.00499200
add esp, 8
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004012d0
mov edx, dword [ebp - 0x424]
or edx, 1
mov dword [ebp - 0x424], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret

Function at 0x499850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dba5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x2c]
call fcn.004033b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4998f4
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004011c0
lea edx, [ebp + 0x18]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401180
push eax
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.00401180
push eax
mov ecx, dword [ebp + 8]
call fcn.00403c50
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403420
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret
Function at 0x499940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dbea
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.004033b0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x499a36
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00403c50
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 1
push 0x4b3544
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00402a00
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00402a00
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.00403420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00403420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00403420
jmp 0x499a42
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403370
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403390
push eax
push 0x4b3548
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret
Function at 0x499cd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dc4a
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.004788f0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x499d34
xor al, al
jmp 0x499dcf
mov dword [ebp - 0x244], 0x22c
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x499dc3
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00499a90
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00403390
push eax
lea ecx, [ebp - 0x260]
call fcn.00403390
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x499d9d
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00401560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00403420
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x499d52
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret

Function at 0x49a260
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4d3f84]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0049a020
add esp, 4
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call fcn.00401390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49a2bc
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.00401390
push eax
lea ecx, [ebp - 0x20]
call fcn.00401390
push eax
push 0x4b367c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jae 0x49a2e1
push 3
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401390
push eax
push 0x4b3688
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
jae 0x49a309
push 3
push 0
mov ecx, dword [ebp + 8]
call fcn.00401390
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x25], cl
lea ecx, [ebp - 0x20]
call fcn.00401350
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004788df
mov esp, ebp
pop ebp
ret
Function at 0x1000a526
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000a535
pop dword [ebp - 0x20]
mov eax, 0x1000a535
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x42a8ea60
add dword [ebp - 0x30], 0xba95aeb
mov dword [ebp - 0x2c], 0xbc4be20b
sub dword [ebp - 0x2c], 0x8a1895c6
mov dword [ebp - 0x28], 0xe43468bd
add dword [ebp - 0x28], 0x6817db71
mov dword [ebp - 0x24], 0xe675f66a
sub dword [ebp - 0x24], 0xe675f66a
lea eax, [ebp - 0x30]
push eax
mov eax, 0x25484e88
add eax, 0xeab9a21c
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xbf7d87fc
sub dword [ebp - 0x30], 0x4b0b1ea6
mov dword [ebp - 0x2c], 0x1b680021
sub dword [ebp - 0x2c], 0xd9fb9eac
mov dword [ebp - 0x28], 0xd97b03e6
sub dword [ebp - 0x28], 0x760b977a
mov dword [ebp - 0x24], 0x851674dc
add dword [ebp - 0x24], 0x7ae98b24
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x39b1f
push 0
call eax
mov ecx, 0xadd0045a
sub ecx, 0xadcfc205
mov edx, eax
mov esi, 0x10029a00
add esi, dword [ebp - 0x20]
mov ebx, 0x884acac7
add ebx, 0x3077c217
xor dword [ebp - 0xc], ebx
mov edi, dword [esi]
xor dword [ebp - 4], eax
xor edi, ebx
mov dword [ebp - 0x14], 0x29f944ee
mov dword [edx], edi
sub dword [ebp - 8], 0x1db5ba49
add edx, 0x8678764f
add edx, 0x798789b5
add esi, 0xaca75169
add esi, 0x5358ae9b
loop 0x1000a647
add eax, 0xfc27
mov ebx, eax
add eax, 0x8cab911f
sub eax, 0x8cab911a
mov ecx, 0x42bc3075
sub ecx, 0x32bc3075
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1000a526
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1000a526
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.1000a526
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1000a526
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1000a526
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c
Function at 0x1a50cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb46000]
push edi
or ebp, 0xffffffff
jmp 0x1a50cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a50cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a50ce8
mov eax, 1
add ebx, ebx
jne 0x1a50d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a50d00
jne 0x1a50d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a50d00
xor ecx, ecx
sub eax, 3
jb 0x1a50d30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a50da2
mov ebp, eax
add ebx, ebx
jne 0x1a50d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1a50d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1a50d6c
inc ecx
add ebx, ebx
jne 0x1a50d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a50d4d
jne 0x1a50d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a50d4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a50d8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a50d7d
jmp 0x1a50cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a50d8c
add edi, ecx
jmp 0x1a50cee
pop esi
mov edi, esi
mov ecx, 0x8bc4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1a50daa
cmp byte [edi], 0x2f
jne 0x1a50daa
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 0x1a50daf
lea edi, [esi + 0x103c000]
mov eax, dword [edi]
or eax, eax
je 0x1a50e1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1043778]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10438b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a50ddc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10438bc]
or eax, eax
je 0x1a50e18
mov dword [ebx], eax
add ebx, 4
jmp 0x1a50df9
call dword [esi + 0x10438c4]
mov ebp, dword [esi + 0x10438c0]
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 0x1a50e52
sub esp, 0xffffff80
jmp 0xb5ea24