joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a484
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.0040722c
xor eax, eax
push ebp
push 0x40a544
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.00407ed4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408084
mov eax, dword [ebx]
call fcn.0040a34c
test al, al
jne 0x40a521
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407ed4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408084
mov eax, dword [ebx]
call fcn.0040a34c
test al, al
jne 0x40a521
mov eax, ebx
call fcn.00407148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a54b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004071a8
lea eax, [ebp - 4]
call fcn.00407148
ret

Function at 0x40afe8
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 0x41dbdc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41dd05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x41dcdf
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x41dcc8
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00407ed4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004083c0
test eax, eax
jle 0x41dcc8
mov eax, dword [ebp - 4]
test eax, eax
je 0x41dc7c
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41dc8a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00408254
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00407e80
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00408084
jmp 0x41dcdf
add ebx, 2
cmp word [ebx], 0
jne 0x41dcc5
add ebx, 4
test ebx, ebx
je 0x41dcd9
cmp word [ebx], 0
jne 0x41dc2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd0c
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.004071a8
lea eax, [ebp - 4]
call fcn.00407148
ret
Function at 0x41ddf8
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41dfb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00407148
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
test eax, eax
jne 0x41de5c
cmp dword [ebp - 0x14], 0
je 0x41df4a
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x41df4a
xor eax, eax
push ebp
push 0x41df43
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41df2c
xor eax, eax
push ebp
push 0x41df25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.0040e604
test eax, eax
jbe 0x41df0e
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00407ed4
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041dbdc
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00407528
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41df2c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41df4a
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41df96
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0041dd14
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00407528
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41df96
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041dbdc
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.00407528
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dfbb
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.004071a8
ret
Function at 0x41dfc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00425b44
test al, al
je 0x41e06c
mov eax, ebx
call fcn.00407e20
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e06c
test ah, 4
je 0x41e06c
test al, 0x10
je 0x41e00b
mov edi, 0x2000000
jmp 0x41e00d
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00407e20
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41e06c
xor eax, eax
push ebp
push 0x41e065
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041ddf8
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e06c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41e4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e4f9
test eax, edx
je 0x41e4fc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e4b7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e4de
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 0x41e4df
add ecx, 4
js 0x41e4cf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e4dc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e4de
xor eax, eax
ret
test eax, eax
je 0x41e508
test edx, edx
jne 0x41e4a8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41f730
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.00407e20
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f79a
test ah, 4
je 0x41f793
test bl, bl
jne 0x41f758
mov al, 1
jmp 0x41f7c1
test al, 0x10
je 0x41f760
xor eax, eax
jmp 0x41f7c1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41f784
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41f7c1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41f7c1
test al, 0x10
sete al
jmp 0x41f7c1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41f7bb
cmp ebx, 3
je 0x41f7bb
cmp ebx, 0x7b
je 0x41f7bb
mov eax, esi
call fcn.0041f6f0
test al, al
jne 0x41f7bf
xor eax, eax
jmp 0x41f7c1
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41f7c8
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.00407e20
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41f86f
test esi, 0x400
jne 0x41f804
test esi, 0x10
setne bl
jmp 0x41f889
cmp byte [esp], 0
je 0x41f838
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41f889
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41f889
test esi, 0x10
je 0x41f844
mov bl, 1
jmp 0x41f889
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41f86b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41f889
mov bl, 1
jmp 0x41f889
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x41f883
cmp eax, 3
je 0x41f883
cmp eax, 0x7b
jne 0x41f887
xor ebx, ebx
jmp 0x41f889
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f990
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41fa35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407e20
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41fa1a
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041dfc4
test al, al
je 0x41fa1a
mov eax, dword [ebp - 4]
call fcn.0041ffa0
test al, al
je 0x41fa0a
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041fd20
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00426034
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00408084
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fa3c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004071a8
ret
Function at 0x41fa48
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41fb1b
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407570
cmp byte [ebp - 9], 0
je 0x41fad9
mov eax, ebx
call fcn.00407e20
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x41fad9
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041dfc4
test al, al
je 0x41fad9
mov eax, dword [ebp - 8]
call fcn.0041ffa0
test al, al
je 0x41face
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0041fd20
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00426034
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00408084
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00407570
push edi
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41faf3
call sub.kernel32.dll_GetLastError_1
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fb22
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004071a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004071a8
ret

Function at 0x423c9c
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 0x423cd5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004072d0
jmp 0x423cde
mov eax, ebx
mov edx, esi
call fcn.00407528
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423ce8
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 0x423d0a
movzx eax, word [esp]
jmp 0x423d0c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4249c8
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 0x424aed
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004247d8
mov esi, eax
mov eax, dword [0x6b7134]
cmp byte [eax], 0
je 0x424a95
mov eax, dword [0x6b6a04]
call fcn.00404dbc
call fcn.00404630
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 [0x4249a0]
call fcn.00409208
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 0x424b08
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x424ad1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6b68f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6bac38]
call fcn.00409414
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 0x424af4
lea eax, [ebp - 4]
mov edx, dword [0x4249a0]
call fcn.0040932c
ret

Function at 0x425b64
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 0x425c3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407570
lea eax, [ebp - 4]
call fcn.00407758
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x425c24
mov eax, ebx
call fcn.004044b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x425c1d
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.00407e20
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x425c07
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x425c4c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x425c07
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 0x425c24
mov eax, dword [ebp - 0x10]
call fcn.004044d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425c41
lea eax, [ebp - 4]
call fcn.00407148
ret
Function at 0x426774
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.00407664
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040afc8
mov edi, eax
cmp edi, 0x104
jbe 0x42671f
mov eax, edi
add eax, eax
call fcn.004044b4
mov esi, eax
jmp 0x426721
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040afc8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42675a
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 0x426744
mov eax, esp
cmp esi, eax
je 0x426767
mov eax, esi
call fcn.004044d0
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 0x4267a0
cmp bl, 0
je 0x42679c
cmp bl, 0x41
jl 0x426797
cmp bl, 0x5a
jg 0x426797
or bl, 0x20
xor al, bl
inc esi
jmp 0x42677b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4266e0

Function at 0x426f70
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.00407ed4
add esp, 0x800
pop ebx
ret

Function at 0x4272e8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00407148
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00407e20
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42732d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.004072d0
jmp 0x427346
mov edx, ebx
dec edx
mov eax, esi
call fcn.00407fac
push ebx
mov eax, dword [esi]
call fcn.00407e20
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x452478
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x452516
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4524da
cmp byte [ebx + 0x10], 0
jne 0x4524da
cmp byte [ebx + 0x3c], 0
jne 0x4524da
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 0x4524fb
lea edx, [ebp - 4]
mov eax, dword [0x6b7018]
call fcn.0040af34
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x441868]
call fcn.00424b44
call fcn.00406830
jmp 0x4524fb
lea edx, [ebp - 8]
mov eax, dword [0x6b7018]
call fcn.0040af34
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x441868]
call fcn.00424b44
call fcn.00406830
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45251d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004071a8
ret
Function at 0x452e24
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 0x452e72
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.004523c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452e8b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x452e94
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.004523c4
dec esi
jne 0x452eb6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x45472c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6bcff0
cmp dword [edi], 0
jne 0x4547a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6bcfec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6ab1bc
mov ecx, 2
call fcn.00404734
mov edx, 0x454704
lea eax, [esi + 5]
call fcn.00454724
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00454724
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 0x45477d
mov dword [0x6bcfec], 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 0x4567fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x45684e
test eax, edx
je 0x456851
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x456811
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x456837
add ecx, 4
js 0x456827
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x456834
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x45685d
test edx, edx
jne 0x456804
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x469140
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4692bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407570
mov eax, dword [ebp - 4]
call fcn.00468aa0
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x469192
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040829c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00469d34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x469271
xor eax, eax
push ebp
push 0x46926a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00468d40
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004692f0
test al, al
je 0x469248
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004072d0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x469248
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407e20
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00468ca0
test al, al
je 0x469242
mov eax, dword [ebp - 8]
call fcn.00407e20
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407e80
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00469140
dec ebx
cmp ebx, 0xffffffff
jne 0x4691f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469271
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00468d40
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00468d2c
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00468ca0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4692c2
lea eax, [ebp - 0x3c]
call fcn.00407148
lea eax, [ebp - 8]
mov edx, 2
call fcn.004071a8
ret