joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ddf8
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], 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 0x41e035
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00407c30
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
mov ebx, eax
test ebx, ebx
jne 0x41decf
cmp dword [ebp - 0x14], 0
jne 0x41decf
xor edx, edx
mov eax, 6
call fcn.00425ee4
test al, al
je 0x41decf
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x41decf
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040895c
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041dbdc
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00408010
mov byte [ebp - 9], 1
jmp 0x41e017
test ebx, ebx
jne 0x41dedd
cmp dword [ebp - 0x14], 0
je 0x41dfcb
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 0x41dfcb
xor eax, eax
push ebp
push 0x41dfc4
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 0x41dfad
xor eax, eax
push ebp
push 0x41dfa6
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.00410170
test eax, eax
jbe 0x41df8f
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040895c
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.0041dbdc
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00408010
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dfad
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 0x41dfcb
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41e017
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0041dd14
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00408010
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41e017
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041dbdc
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00408010
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e03c
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00407c90
ret
Function at 0x41e048
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.00425ee4
test al, al
je 0x41e110
xor edx, edx
mov eax, ebx
call fcn.0041f790
test al, al
je 0x41e110
mov eax, ebx
call fcn.0041f560
test al, 0x20
je 0x41e110
mov eax, ebx
call fcn.004088b0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e110
test ah, 4
je 0x41e110
test al, 0x10
je 0x41e0af
mov edi, 0x2000000
jmp 0x41e0b1
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.004088b0
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41e110
xor eax, eax
push ebp
push 0x41e109
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 0x41e110
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 0x41e34c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e3a5
test eax, edx
je 0x41e3a8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e363
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e38a
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 0x41e38b
add ecx, 4
js 0x41e37b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e388
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e38a
xor eax, eax
ret
test eax, eax
je 0x41e3b4
test edx, edx
jne 0x41e354
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41ea14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41ea2c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41ea34
mov al, 1
jmp 0x41ea51
movzx esi, word [ebp]
mov eax, esi
call fcn.004104a8
test al, al
jne 0x41ea4d
cmp si, 0x5f
je 0x41ea4d
xor eax, eax
jmp 0x41ea4f
mov al, 1
xor al, 1
test al, al
jne 0x41eae1
test bl, bl
je 0x41eaa1
mov eax, ebp
test eax, eax
je 0x41ea68
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41eadd
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00410534
test al, al
jne 0x41ea95
cmp di, 0x5f
je 0x41ea95
cmp di, 0x2e
je 0x41ea95
xor eax, eax
jmp 0x41ea97
mov al, 1
test al, al
je 0x41eae1
inc esi
dec ebx
jne 0x41ea75
jmp 0x41eadd
mov eax, ebp
test eax, eax
je 0x41eaac
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41eadd
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00410534
test al, al
jne 0x41ead3
cmp di, 0x5f
je 0x41ead3
xor eax, eax
jmp 0x41ead5
mov al, 1
test al, al
je 0x41eae1
inc esi
dec ebx
jne 0x41eab9
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41f694
push dword fs:[eax]
mov dword fs:[eax], esp
movzx ebx, byte [0x41f6a4]
mov dl, 1
mov eax, esi
call fcn.0041f828
test al, al
jne 0x41f5b1
mov dl, 1
mov eax, esi
call fcn.0041f790
test al, al
je 0x41f647
lea edx, [ebp - 0x424]
mov eax, esi
call fcn.0041ff54
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 4]
call fcn.004263ac
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 4]
call fcn.004088b0
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x41f642
test byte [ebp - 0xc], 1
je 0x41f60d
or bl, 1
test byte [ebp - 0xc], 2
je 0x41f616
or bl, 2
test byte [ebp - 0xc], 0x80
je 0x41f61f
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x41f633
dec eax
je 0x41f638
dec eax
je 0x41f63d
dec eax
jne 0x41f66e
or bl, 0x10
jmp 0x41f66e
or bl, 4
jmp 0x41f66e
or bl, 8
jmp 0x41f66e
call fcn.00426d50
lea edx, [ebp - 0x428]
mov eax, dword [0x52d0a8]
call fcn.0040ba50
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x41a900]
call fcn.00424ed0
call fcn.00407328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f69b
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x41f790
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.004088b0
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f7fa
test ah, 4
je 0x41f7f3
test bl, bl
jne 0x41f7b8
mov al, 1
jmp 0x41f821
test al, 0x10
je 0x41f7c0
xor eax, eax
jmp 0x41f821
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41f7e4
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41f821
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41f821
test al, 0x10
sete al
jmp 0x41f821
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41f81b
cmp ebx, 3
je 0x41f81b
cmp ebx, 0x7b
je 0x41f81b
mov eax, esi
call fcn.0041f750
test al, al
jne 0x41f81f
xor eax, eax
jmp 0x41f821
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41f828
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.004088b0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41f8cf
test esi, 0x400
jne 0x41f864
test esi, 0x10
setne bl
jmp 0x41f8ee
cmp byte [esp], 0
je 0x41f898
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41f8ee
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41f8ee
test esi, 0x10
je 0x41f8a4
mov bl, 1
jmp 0x41f8ee
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41f8cb
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41f8ee
mov bl, 1
jmp 0x41f8ee
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41f8e8
cmp eax, 3
je 0x41f8e8
cmp eax, 0x7b
je 0x41f8e8
cmp eax, 0x35
jne 0x41f8ec
xor ebx, ebx
jmp 0x41f8ee
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f9f4
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 0x41fa99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004088b0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41fa7e
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041e048
test al, al
je 0x41fa7e
mov eax, dword [ebp - 4]
call fcn.00420138
test al, al
je 0x41fa6e
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041feb8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004263ac
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00408b0c
mov eax, dword [ebp - 4]
call fcn.004088b0
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 0x41faa0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407c90
ret
Function at 0x41faac
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 0x41fb7f
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408058
cmp byte [ebp - 9], 0
je 0x41fb3d
mov eax, ebx
call fcn.004088b0
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x41fb3d
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041e048
test al, al
je 0x41fb3d
mov eax, dword [ebp - 8]
call fcn.00420138
test al, al
je 0x41fb32
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0041feb8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004263ac
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00408b0c
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408058
push edi
mov eax, dword [ebp - 4]
call fcn.004088b0
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41fb57
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fb86
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret

Function at 0x41fca8
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.004088b0
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41fcfd
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41fcf7
test ah, 4
je 0x41fcf7
test al, 0x10
je 0x41fcf7
mov eax, esi
call fcn.004088b0
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41fcfd
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42403c
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 0x424075
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407db8
jmp 0x42407e
mov eax, ebx
mov edx, esi
call fcn.00408010
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424088
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 0x4240aa
movzx eax, word [esp]
jmp 0x4240ac
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x424d80
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 0x424ea5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424b88
mov esi, eax
mov eax, dword [0x52cffc]
cmp byte [eax], 0
je 0x424e4d
mov eax, dword [0x52cd0c]
call fcn.00404fc8
call fcn.0040473c
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 [0x424d50]
call fcn.00409cc0
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 0x424ec0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x424e89
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x52cca4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x530c50]
call fcn.00409fdc
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 0x424eac
lea eax, [ebp - 4]
mov edx, dword [0x424d50]
call fcn.00409de4
ret

Function at 0x426bf4
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.00408138
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bae4
mov edi, eax
cmp edi, 0x104
jbe 0x426b9b
mov eax, edi
add eax, eax
call fcn.004045e8
mov esi, eax
jmp 0x426b9d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040bae4
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x426bd8
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 0x426bc2
mov eax, esp
cmp esi, eax
je 0x426be5
mov eax, esi
call fcn.00404604
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 0x426c20
cmp bl, 0
je 0x426c1c
cmp bl, 0x41
jl 0x426c17
cmp bl, 0x5a
jg 0x426c17
or bl, 0x20
xor al, bl
inc esi
jmp 0x426bfb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x426b5c

Function at 0x427428
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.0040895c
add esp, 0x800
pop ebx
ret
Function at 0x450d04
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x450da2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x450d66
cmp byte [ebx + 0x10], 0
jne 0x450d66
cmp byte [ebx + 0x3c], 0
jne 0x450d66
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 0x450d87
lea edx, [ebp - 4]
mov eax, dword [0x52cf84]
call fcn.0040ba50
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x440178]
call fcn.00424ed0
call fcn.00407328
jmp 0x450d87
lea edx, [ebp - 8]
mov eax, dword [0x52cf84]
call fcn.0040ba50
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x440178]
call fcn.00424ed0
call fcn.00407328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450da9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret

Function at 0x4516a4
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 0x4516f2
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.00450c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45170b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x451714
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.00450c3c
dec esi
jne 0x451736
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x45648c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4564de
test eax, edx
je 0x4564e1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4564a1
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 0x4564c7
add ecx, 4
js 0x4564b7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4564c4
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 0x4564ed
test edx, edx
jne 0x456494
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x46738c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.004088b0
push eax
push 0x800
lea eax, [ebp - 0x1000]
push eax
mov eax, dword [ebp + 0xc]
call fcn.004088b0
push eax
mov eax, edi
call fcn.004088b0
push eax
mov eax, esi
call fcn.004088b0
push eax
call sub.kernel32.dll_GetPrivateProfileStringW
mov ecx, eax
lea edx, [ebp - 0x1000]
mov eax, dword [ebp + 8]
call fcn.00407db8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x469354
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
xor eax, eax
push ebp
push 0x4693a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x4693c0
mov eax, dword [ebp - 8]
call fcn.004692b0
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4693a9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x46a79c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a8cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x46a8a7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040502c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
movzx eax, word [ebx + 0x18]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00408058
lea eax, [ebp - 0x60]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408cdc
mov eax, dword [ebp - 0x60]
mov edx, 0x46a8f0
call fcn.00408ca4
je 0x46a83e
push 0x46a8f0
push dword [ebp - 4]
push 0x46a8f0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00408b94
cmp dword [ebx + 0x14], 0
je 0x46a85c
push dword [ebp - 4]
push 0x46a900
push dword [ebx + 0x14]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00408b94
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004088b0
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x46a89d
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0xc], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a8b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a8d6
lea eax, [ebp - 0x60]
call fcn.00407c30
lea eax, [ebp - 4]
call fcn.00407c30
ret