joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440019
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
lea eax, [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0043b5a6
mov esi, eax
cmp esi, 0xffffffff
jne 0x44004c
lea eax, [ebp - 0x21c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4400a3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0043b758
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x10]
push 0
add eax, esi
push 0
add eax, edi
push eax
call fcn.0043b5a6
cmp eax, 0xffffffff
je 0x44008f
mov ecx, dword [ebp + 0x10]
add eax, ecx
and byte [eax + edi], 0
mov eax, dword [ebp + 0x10]
add eax, esi
add eax, edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0043b505
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00433ad6
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x4400dc
lea eax, [ebp - 0x118]
push eax
call fcn.004340b1
test eax, eax
jne 0x4400dc
leave
ret
lea eax, [ebp - 0x21c]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
leave
ret

Function at 0x443861
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov edi, ebx
and ebx, 0x7fffffff
shr edi, 0x1f
cmp ebx, 0x2bf20
jbe 0x443890
or eax, 0xffffffff
jmp 0x4438e0
call esi
sub eax, dword [ebp - 4]
cmp eax, ebx
jae 0x4438de
xor eax, eax
push 1
cmp edi, eax
je 0x4438ce
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x443890
cmp dword [ebp - 0x1c], 0x12
je 0x4438d6
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x443890
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x443890
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x444440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x444461
lea eax, [ebp + 8]
push eax
push 0
push 0x22
push dword [edi + 4]
call fcn.0040382e
cmp dword [ebp + 8], 1
jne 0x444465
xor eax, eax
jmp 0x4444b9
push esi
push dword [edi + 0x40]
call fcn.00433668
mov esi, eax
test esi, esi
je 0x4444a8
cmp dword [esi], 0
je 0x44449e
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44449e
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44449e
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x40]
call fcn.0043369e
jmp 0x44446e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
pop eax
pop esi
pop edi
pop ebp
ret 4
Function at 0x44c721
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push eax
nop
push ecx
push edx
nop
push ebx
nop
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
mov ebx, 0xa
mov eax, 0x78
mov ecx, 0xa
mov edx, 0x66666667
push ecx
mov ecx, eax
imul edx
sar edx, 2
sar ecx, 0x1f
sub edx, ecx
mov eax, edx
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 5
mov esi, 7
and dword [ebp - 4], 0
mov edx, ebx
add edx, eax
sub edx, 0x16
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], 0x28b40857
mov dword [ebp - 0x4c], 0x6e9e
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x6cde
add dword [ebp - 4], 0x2581
add dword [ebp - 0x14], 0x6ea3
add dword [ebp - 4], 0x471eeb
dec dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
sub eax, 0x11
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x14], 0x2487f
mov dword [ebp - 0x3c], 0x17b2
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x14]
mov edx, esi
sub edx, 6
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, byte [edx + eax]
mov byte [ebp - 0x35], al
movzx edx, byte [ebp - 0x35]
mov dword [ebp - 0x80], edx
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov ecx, 6
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [ebp - 0x84], edx
add edi, edx
mov edx, edi
and edx, 0xff
mov edi, dword [ebp - 0x80]
xor edi, edx
mov edx, edi
mov byte [ebp - 0x35], dl
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
invalid
dec ebp
Function at 0x44fcfd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x467cd0
cmp edx, dword [eax]
je 0x44fd1f
add eax, 8
inc ecx
cmp eax, 0x467d60
jl 0x44fd10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x467cd0]
jne 0x44fe4d
mov eax, dword [0x46a06c]
cmp eax, 1
je 0x44fe27
test eax, eax
jne 0x44fd50
cmp dword [0x4678d4], 1
je 0x44fe27
cmp edx, 0xfc
je 0x44fe4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44fd87
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00452fa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0044ccb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44fdca
lea eax, [ebp - 0x1a4]
push eax
call fcn.0044ccb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45f06c
push edi
call fcn.0044cef0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00452fa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00452fb0
lea eax, [ebp - 0xa0]
push 0x45f04c
push eax
call fcn.00452fb0
push dword [esi + 0x467cd4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00452fb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00454451
add esp, 0x2c
pop edi
jmp 0x44fe4d
lea eax, [ebp + 8]
lea esi, [esi + 0x467cd4]
push 0
push eax
push dword [esi]
call fcn.0044ccb0
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 0x45944e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 1
xor ebx, ebx
mov esi, ecx
pop edi
mov dword [ebp - 4], ebx
call fcn.0045954a
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4594b0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4594b0
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.ProxyEnable
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4594b0
cmp dword [ebp - 0xc], ebx
je 0x4594b0
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.00459135
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [esi + 4], eax
je 0x4594d3
cmp dword [ebp + 0xc], 4
jne 0x4594ed
cmp dword [ebp - 0x10], ebx
jne 0x4594ed
cmp word [esi + 0x14], 3
mov ecx, esi
jne 0x4594e8
call fcn.00459709
jmp 0x4594ed
call fcn.00459935
cmp dword [esi + 4], ebx
pop edi
pop esi
setne byte [ebp + 0xf]
cmp dword [ebp - 4], ebx
pop ebx
je 0x459505
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp + 0xf]
leave
ret 0x14
Function at 0x45954a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x258]
push eax
mov edi, SysReAllocStringLen
push str..htm
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x45964a
lea eax, [ebp - 0x258]
push str._shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
call esi
test eax, eax
jne 0x45964a
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x154]
push str.netscape.exe
push eax
call fcn.0044e4a0
pop ecx
test eax, eax
pop ecx
je 0x45964a
lea ecx, [ebp - 0x154]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x50]
call fcn.00459651
lea eax, [ebp - 0x35c]
lea ecx, [ebp - 0x50]
push eax
call fcn.0045a9af
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x50], 0x45f378
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x50]
mov word [eax + 0x14], dx
call fcn.004596ae
xor eax, eax
jmp 0x45964d
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x459709
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.0044cd30
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4598d7
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x4598d7
cmp dword [ebp - 0x14], 1
jne 0x4598d7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x45989a
cmp byte [ebp - 0x148], al
je 0x45989a
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x45988c
lea eax, [ebp - 0x96c]
push 0x46539c
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x4648f0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x464fc4
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x4597f0
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.004592d3
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x4598e5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45a1f4
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
and dword [edi], 0
cmp dword [ebp + 0xc], 0
jbe 0x45a3bb
jmp 0x45a214
mov edi, dword [ebp + 0x10]
cmp dword [esi + 0x5c], 0x2710
jbe 0x45a22f
cmp dword [esi + 0x54], 0
je 0x45a22f
mov ecx, esi
call fcn.0045a3c8
lea ebx, [eax + eax*4]
jmp 0x45a234
mov ebx, 0x1f4
test ebx, ebx
jne 0x45a23b
push 1
pop ebx
cmp byte [esi + 0x90], 0
je 0x45a250
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x45a25d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, ebx
jb 0x45a273
mov ecx, ebx
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, dword [ebp + 8]
add eax, ecx
push eax
push dword [esi + 4]
call fcn.0045920a
add esp, 0x10
test eax, eax
jne 0x45a2a0
mov eax, dword [esi]
push 0x7530
mov ecx, esi
call dword [eax]
test al, al
je 0x45a3c4
cmp byte [esi + 0x90], 0
je 0x45a2bb
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x45a2c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x45a3bb
add dword [edi], ecx
add dword [esi + 0x4c], ecx
add dword [esi + 0x54], ecx
add dword [esi + 0x60], ecx
sub eax, dword [ebp - 0x1c]
sbb edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
or eax, edx
mov dword [ebp - 8], edx
jne 0x45a2fa
and dword [ebp - 8], 0
mov dword [ebp - 0xc], 5
push 0
push 0x3e8
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0044f290
mov edi, dword [esi + 0x8c]
mov ebx, dword [esi + 0x88]
cmp edx, edi
jl 0x45a34f
jg 0x45a322
cmp eax, ebx
jb 0x45a34f
push edi
push ebx
push edx
push eax
call fcn.0045aca0
add dword [esi + 0x5c], eax
add dword [esi + 0x68], eax
push edi
push ebx
push 0
push eax
call fcn.0044f290
push 0xffffffffffffffff
push 0xfffffc18
push edx
push eax
call fcn.0045aca0
add dword [ebp - 0xc], eax
adc dword [ebp - 8], edx
push 0
push 0xf4240
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0044f290
push edi
push ebx
push edx
push eax
call fcn.0045aca0
add dword [esi + 0x58], eax
mov edi, dword [esi + 0x58]
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp edi, ecx
jbe 0x45a392
mov eax, edi
xor edx, edx
mov ebx, ecx
div ebx
xor edx, edx
add dword [esi + 0x5c], eax
mov eax, edi
mov edi, ecx
div edi
mov dword [esi + 0x58], edx
mov edi, dword [esi + 0x64]
cmp edi, ecx
jbe 0x45a3ad
mov eax, edi
xor edx, edx
mov ebx, ecx
div ebx
xor edx, edx
add dword [esi + 0x68], eax
mov eax, edi
div ecx
mov dword [esi + 0x64], edx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ecx], eax
jb 0x45a211
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x45a3bd
Function at 0x45a3c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x6c]
cmp eax, 0x7530
jbe 0x45a400
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x64]
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x58], ecx
mov dword [esi + 0x64], eax
call edi
mov dword [esi + 0x6c], eax
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x45a40c
mov eax, dword [esi + 0x54]
jmp 0x45a455
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x45a453
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x54]
cmp ebx, eax
jbe 0x45a431
shr ebx, 1
shr edi, 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x54]
mov edi, dword [esi + 0x5c]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x45a415
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x45a9af
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x45aa01
push eax
call fcn.0044c87d
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x45aa01
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4644d4
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x45aa05
xor al, al
jmp 0x45aa66
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x45aa64
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.0044c87d
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x45aa64
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x45aa52
mov al, 1
pop ebx
leave
ret 4
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x1013f500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x1017e3ae
call fcn.1006eb8a
mov eax, dword [0x1017b918]
mov dword [ebp - 8], eax
jmp 0x1013f537
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1013f550
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x1013f54e
mov eax, dword [ebp - 8]
jmp 0x1013f5d3
jmp 0x1013f52f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1006e2ed
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1013f5d0
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
cmp eax, 0xfe0
jbe 0x1013f593
mov eax, dword [ebp - 8]
mov ecx, dword [0x1017b918]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [0x1017b918], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1006e2ed
mov esp, ebp
pop ebp
ret
Function at 0x101410a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10174880]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x1017e536
call fcn.1006eb8a
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1017b900]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1014110d
mov eax, dword [ebp - 0x30]
sub eax, 5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebp - 0x24], eax
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1006e2ed
test eax, eax
jne 0x10141138
mov eax, 0xa
jmp 0x1014123a
cmp dword [ebp + 0xc], 0
je 0x10141185
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x30]
add eax, 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 1], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10141183
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov byte [eax], 0xeb
mov eax, dword [ebp - 0x48]
mov byte [eax + 1], 0xf9
jmp 0x101411c1
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101411ac
push 7
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1006ea3b
add esp, 0xc
jmp 0x101411c1
push 5
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1006ea3b
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1006e2ed
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.1006e2ed
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1006e2ed
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1014126c]
call fcn.1006dfaf
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006db4f
add esp, 0x10c
cmp ebp, esp
call fcn.1006e2ed
mov esp, ebp
pop ebp
ret