joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1314638c
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x13200ae8
cmp dword [ebp + 0xc], 2
jl 0x131463a0
mov ebx, 0x13200b18
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x131463d8
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, sub.kernel32.dll_RaiseException
mov dword [0x131fe014], eax
mov eax, 0x131425b0
mov dword [0x131fe018], eax
mov eax, ebx
call fcn.13146270
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x1314640d
cmp al, 3
jge 0x1314640d
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1314641e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x13146429
call dword [ecx + eax*4]
cmp dword [0x131fe038], 0
jne 0x1314643f
mov byte [0x131fe040], 1
fnstcw word [0x131fb024]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.13146694
call fcn.13146320
ret 4

Function at 0x13146604
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x131fe054], 0
je 0x13146665
cmp word [0x131fe330], 0xd7b2
jne 0x1314662d
cmp dword [0x131fe338], 0
jbe 0x1314662d
mov eax, 0x131fe32c
call dword [0x131fe348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x13146690
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x131fb028], 0
jne 0x13146681
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x13146810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x131fb02c], 0
je 0x1314683b
mov edx, edi
mov eax, esi
call dword [0x131fb02c]
mov ebx, eax
jmp 0x1314684c
mov eax, 8
call fcn.13144358
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x131fe055], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x131467d8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x13146881
mov edx, 8
mov eax, ebx
call fcn.13144374
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x13148b20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x13148c85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.13146954
cmp si, word [0x131fb7dc]
jb 0x13148bb8
cmp si, word [0x131fb9dc]
ja 0x13148bb8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x13148bb8
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x131fb7dc]
jae 0x13148b92
mov edi, ebx
dec edi
jmp 0x13148bb3
cmp si, word [ebx*8 + 0x131fb7dc]
jbe 0x13148ba2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x13148bb3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x131fb7e0]
call fcn.13148a30
jmp 0x13148bb8
cmp edi, dword [ebp - 8]
jae 0x13148b7c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x13148c67
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x13148c67
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.13147480
push dword [ebp - 0x160]
push 0x13148ca0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.13147480
push dword [ebp - 0x164]
push 0x13148cb0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.13147480
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.131476b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13148c8c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.131469b4
ret
Function at 0x13148e38
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x13148f3b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x13200b55
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x13200b6e]
jne 0x13148e84
mov eax, esi
mov edx, 0x13200b70
mov ecx, 0x55
call fcn.13147480
push 0x13200b55
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x13148f25
push 0x13200b55
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.13146954
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x13148ef3
cmp byte [0x13200b54], 0
je 0x13148eb8
mov edx, esi
mov eax, ebx
call fcn.13148d1c
jmp 0x13148ef3
mov edx, esi
mov eax, ebx
call fcn.13148b20
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x13148ef3
cmp dword [esi], 0
je 0x13148edc
mov eax, esi
mov edx, 0x13148f54
call fcn.131475d8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.13148b20
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.131475d8
push 0x13200b55
call sub.kernel32.dll_EnterCriticalSection
mov word [0x13200b6e], bx
push 0xaa
mov eax, dword [esi]
call fcn.131473dc
push eax
push 0x13200b70
call sub.kernel32.dll_lstrcpynW
push 0x13200b55
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13148f42
lea eax, [ebp - 4]
call fcn.13146954
ret
Function at 0x13149170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.13146a38
xor eax, eax
push ebp
push 0x13149395
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x131491b0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x131491ca
push 0x105
mov eax, dword [ebp - 4]
call fcn.131473dc
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x1314937f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x131493a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x13149299
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x131493a4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x13149299
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x131493e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x13149299
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x131493e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x13149299
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x13149414
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x13149299
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x13149448
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x1314937f
xor eax, eax
push ebp
push 0x13149378
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.13148f7c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x13149308
mov eax, dword [ebp - 0x10]
call fcn.13144358
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.1314742c
jmp 0x13149353
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x13149488
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x13149353
mov eax, dword [ebp - 0x10]
call fcn.13144358
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x13149488
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.1314742c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314937f
cmp dword [ebp - 8], 0
je 0x1314936e
mov eax, dword [ebp - 8]
call fcn.13144374
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314939c
lea eax, [ebp - 4]
call fcn.13146954
ret
Function at 0x131496d4
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.13146a38
xor eax, eax
push ebp
push 0x13149794
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.13147480
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.13147630
mov eax, dword [ebx]
call fcn.1314959c
test al, al
jne 0x13149771
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.13147480
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.13147630
mov eax, dword [ebx]
call fcn.1314959c
test al, al
jne 0x13149771
mov eax, ebx
call fcn.13146954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314979b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.131469b4
lea eax, [ebp - 4]
call fcn.13146954
ret

Function at 0x1314a080
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x1315ad70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x1315adc9
test eax, edx
je 0x1315adcc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x1315ad87
movzx eax, word [eax]
sub eax, ecx
jmp 0x1315adae
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x1315adaf
add ecx, 4
js 0x1315ad9f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x1315adac
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x1315adae
xor eax, eax
ret
test eax, eax
je 0x1315add8
test edx, edx
jne 0x1315ad78
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x1315bb50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.131473dc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x1315bbba
test ah, 4
je 0x1315bbb3
test bl, bl
jne 0x1315bb78
mov al, 1
jmp 0x1315bbe1
test al, 0x10
je 0x1315bb80
xor eax, eax
jmp 0x1315bbe1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x1315bba4
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x1315bbe1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x1315bbe1
test al, 0x10
sete al
jmp 0x1315bbe1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x1315bbdb
cmp ebx, 3
je 0x1315bbdb
cmp ebx, 0x7b
je 0x1315bbdb
mov eax, esi
call fcn.1315bb10
test al, al
jne 0x1315bbdf
xor eax, eax
jmp 0x1315bbe1
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x1315bbe8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.131473dc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x1315bc8f
test esi, 0x400
jne 0x1315bc24
test esi, 0x10
setne bl
jmp 0x1315bca9
cmp byte [esp], 0
je 0x1315bc58
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x1315bca9
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x1315bca9
test esi, 0x10
je 0x1315bc64
mov bl, 1
jmp 0x1315bca9
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x1315bc8b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x1315bca9
mov bl, 1
jmp 0x1315bca9
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x1315bca3
cmp eax, 3
je 0x1315bca3
cmp eax, 0x7b
jne 0x1315bca7
xor ebx, ebx
jmp 0x1315bca9
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x1315f274
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x1315f2ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.13146abc
jmp 0x1315f2b6
mov eax, ebx
mov edx, esi
call fcn.13146d14
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1315f2c0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x1315f2e2
movzx eax, word [esp]
jmp 0x1315f2e4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x1315ffa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x131600c5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.1315fdb0
mov esi, eax
mov eax, dword [0x131fdd80]
cmp byte [eax], 0
je 0x1316006d
mov eax, dword [0x131fdb04]
call fcn.1314484c
call fcn.131444d4
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x1315ff78]
call fcn.13148570
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x131600e0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x131600a9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x131fda94]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x13200c38]
call fcn.13148664
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131600cc
lea eax, [ebp - 4]
mov edx, dword [0x1315ff78]
call fcn.1314857c
ret

Function at 0x13161104
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x131611da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.13146d5c
lea eax, [ebp - 4]
call fcn.13146ec4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.131473dc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x131611c4
mov eax, ebx
call fcn.13144358
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x131611bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.131473dc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x131611a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x131611ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x131611a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131611c4
mov eax, dword [ebp - 0x10]
call fcn.13144374
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131611e1
lea eax, [ebp - 4]
call fcn.13146954
ret
Function at 0x13161bf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.13146e04
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.1314a060
mov edi, eax
cmp edi, 0x104
jbe 0x13161ba3
mov eax, edi
add eax, eax
call fcn.13144358
mov esi, eax
jmp 0x13161ba5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.1314a060
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x13161bde
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x13161bc8
mov eax, esp
cmp esi, eax
je 0x13161beb
mov eax, esi
call fcn.13144374
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x13161c24
cmp bl, 0
je 0x13161c20
cmp bl, 0x41
jl 0x13161c1b
cmp bl, 0x5a
jg 0x13161c1b
or bl, 0x20
xor al, bl
inc esi
jmp 0x13161bff
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x13161b64

Function at 0x131623c4
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.13147480
add esp, 0x800
pop ebx
ret

Function at 0x1318633c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x131863da
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x1318639e
cmp byte [ebx + 0x10], 0
jne 0x1318639e
cmp byte [ebx + 0x3c], 0
jne 0x1318639e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x131863bf
lea edx, [ebp - 4]
mov eax, dword [0x131fdd18]
call fcn.13149fcc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x13176694]
call fcn.131600e4
call fcn.13146024
jmp 0x131863bf
lea edx, [ebp - 8]
mov eax, dword [0x131fdd18]
call fcn.13149fcc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x13176694]
call fcn.131600e4
call fcn.13146024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131863e1
lea eax, [ebp - 8]
mov edx, 2
call fcn.131469b4
ret

Function at 0x13186ce8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x13186d36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.13186288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x13186d4f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x13186d58
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.13186288
dec esi
jne 0x13186d7a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x131885f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x13202f90
cmp dword [edi], 0
jne 0x1318866c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x13202f8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x131fc0a4
mov ecx, 2
call fcn.1314455c
mov edx, 0x131885c8
lea eax, [esi + 5]
call fcn.131885e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.131885e8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x13188641
mov dword [0x13202f8c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1318d290
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.13146a38
mov eax, dword [ebp - 8]
call fcn.13146a38
xor eax, eax
push ebp
push 0x1318d3b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
push ebp
push 0x1318d380
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.131473dc
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
call fcn.131473dc
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.1314b868
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x20]
sub eax, 5
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0xff
call fcn.13144358
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x1c]
add edx, 5
mov eax, dword [ebp - 0x20]
call fcn.1318d218
mov edx, dword [ebp - 0x1c]
add edx, 4
mov byte [edx], al
mov eax, dword [ebp - 0x20]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x20]
inc eax
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 5
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x1c]
add eax, 5
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1318d391
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1318d3b7
lea eax, [ebp - 8]
mov edx, 2
call fcn.131469b4
ret