joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3dea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x5530c8]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x4e3e2e
cmp word [edx], bx
jne 0x4e3e2e
or byte [edi + eax + 0x28], 4
jmp 0x4e3e33
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x4e3f87
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x4e3f67
cmp ax, word [ebp - 0x10]
je 0x4e3e6c
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x4e3f5c
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x4e3e92
push 0xa
pop ecx
cmp word [eax], cx
jne 0x4e3e82
push ecx
pop eax
push 4
jmp 0x4e3e87
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x4e3f56
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4e3f4d
cmp dword [ebp - 0x18], 0
je 0x4e3f4d
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x5530c8]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x4e3f19
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x4e3edd
mov word [esi], ax
jmp 0x4e3f11
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x5530c8]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x5530c8]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x5530c8]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x4e3f5c
cmp word [ebp - 4], ax
jne 0x4e3f2e
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x4e3f2e
mov word [esi], ax
add esi, 2
jmp 0x4e3f5c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004d8b31
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4e3f59
jmp 0x4e3f50
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x4e3e4c
jmp 0x4e3f87
mov ecx, dword [ecx*4 + 0x5530c8]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x4e3f7e
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x4e3f87
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e56ae
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e5350

Function at 0x4ecdcd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x403918
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x912008], 0x8088405
inc edx
mov dword [ebx + 0x912008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e85c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8fee6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00405060
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e897
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e8b0
lea eax, [ebp - 0xc]
mov edx, dword [0x91419c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004050c0
jmp 0x41e8c3
lea eax, [ebp - 0xc]
mov edx, dword [0x91419c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.004050c0
lea eax, [ebp - 0xc]
mov edx, ebx
sar edx, 1
jns 0x41e8cf
adc edx, 0
mov edx, dword [edx*4 + 0x912cbc]
call fcn.004052b0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
call fcn.00406ecc
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea3f
mov eax, 0x40
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ea32
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.0040714c
mov eax, edi
call fcn.004035ec
mov eax, 0x18
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ea32
add eax, 4
cmp byte [ebp - 1], 0
je 0x41e9d6
cmp word [eax], 0x8664
jne 0x41e9d6
mov eax, edi
call fcn.004035ec
mov eax, 0xf0
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x41ea32
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040509c
jmp 0x41ea32
cmp byte [ebp - 1], 0
jne 0x41ea32
cmp word [eax], 0x14c
jb 0x41ea32
cmp word [eax], 0x150
ja 0x41ea32
mov eax, edi
call fcn.004035ec
mov eax, 0xe0
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x41ea32
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040509c
mov eax, edi
call fcn.004035ec
push esi
call fcn.00406e84
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.004053c0
jne 0x41ea57
inc ebx
cmp ebx, 0x19
jne 0x41e889
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8fee74
lea eax, [ebp - 0xc]
call fcn.00405060
ret
Function at 0x40c3ec
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.004092c4
xor eax, eax
push ebp
push 0x40c4ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
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.00409dc4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409f74
mov eax, dword [ebx]
call fcn.0040c2b4
test al, al
jne 0x40c489
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409dc4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409f74
mov eax, dword [ebx]
call fcn.0040c2b4
test al, al
jne 0x40c489
mov eax, ebx
call fcn.004091e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c4b3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409240
lea eax, [ebp - 4]
call fcn.004091e0
ret

Function at 0x420b14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420b6d
test eax, edx
je 0x420b70
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420b2b
movzx eax, word [eax]
sub eax, ecx
jmp 0x420b52
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 0x420b53
add ecx, 4
js 0x420b43
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420b50
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420b52
xor eax, eax
ret
test eax, eax
je 0x420b7c
test edx, edx
jne 0x420b1c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x421f88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x421fb5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x425e68
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 0x425ea1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409368
jmp 0x425eaa
mov eax, ebx
mov edx, esi
call fcn.004095c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425eb4
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 0x425ed6
movzx eax, word [esp]
jmp 0x425ed8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x426f8c
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 0x4270b1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426d94
mov esi, eax
mov eax, dword [0x5ffee0]
cmp byte [eax], 0
je 0x427059
mov eax, dword [0x5ffbc4]
call fcn.00406f5c
call fcn.00406858
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 [0x426f5c]
call fcn.0040b198
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 0x4270cc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x427095
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5ffb40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x603c54]
call fcn.0040b3ac
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 0x4270b8
lea eax, [ebp - 4]
mov edx, dword [0x426f5c]
call fcn.0040b2bc
ret

Function at 0x4281e4
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffee0
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x428295
cmp dword [esp + 0x10], 6
ja 0x428219
cmp dword [esp + 0x10], 6
jne 0x428245
cmp dword [esp + 0x14], 1
jbe 0x428245
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 8]
lea edx, [esp + 4]
mov eax, esp
call fcn.00428094
mov eax, dword [esp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [0x5fbedc], eax
mov eax, dword [esp + 0x10]
mov dword [0x5fbee0], eax
mov eax, dword [esp + 0x14]
mov dword [0x5fbee4], eax
cmp dword [0x5fbedc], 1
jne 0x428279
mov eax, dword [esp + 0x18]
and eax, 0xffff
mov dword [0x5fbee8], eax
jmp 0x428282
mov eax, dword [esp + 0x18]
mov dword [0x5fbee8], eax
mov eax, 0x5fbeec
lea edx, [esp + 0x20]
mov ecx, 0x80
call fcn.00409dc4
add esp, 0x120
ret
Function at 0x4282bc
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 0x428392
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409608
lea eax, [ebp - 4]
call fcn.00409768
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409d20
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42837c
mov eax, ebx
call fcn.004066e4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428375
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.00409d20
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42835f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4283a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42835f
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 0x42837c
mov eax, dword [ebp - 0x10]
call fcn.00406700
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428399
lea eax, [ebp - 4]
call fcn.004091e0
ret

Function at 0x428d40
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.004096b0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040cddc
mov edi, eax
cmp edi, 0x104
jbe 0x428ceb
mov eax, edi
add eax, eax
call fcn.004066e4
mov esi, eax
jmp 0x428ced
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040cddc
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x428d26
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 0x428d10
mov eax, esp
cmp esi, eax
je 0x428d33
mov eax, esi
call fcn.00406700
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 0x428d6c
cmp bl, 0
je 0x428d68
cmp bl, 0x41
jl 0x428d63
cmp bl, 0x5a
jg 0x428d63
or bl, 0x20
xor al, bl
inc esi
jmp 0x428d47
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x428cac

Function at 0x4295cc
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.00409dc4
add esp, 0x800
pop ebx
ret
Function at 0x48723c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x487244
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c42e8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c4386
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c434a
cmp byte [ebx + 0x11], 0
jne 0x4c434a
cmp byte [ebx + 0x3c], 0
jne 0x4c434a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c436b
lea edx, [ebp - 4]
mov eax, dword [0x5ffe58]
call fcn.0040cd48
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x495a40]
call fcn.004270dc
call fcn.004088e4
jmp 0x4c436b
lea edx, [ebp - 8]
mov eax, dword [0x5ffe58]
call fcn.0040cd48
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x495a40]
call fcn.004270dc
call fcn.004088e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c438d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409240
ret

Function at 0x4c4d30
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 + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c4d7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c4168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4d97
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c4da0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c4168
dec esi
jne 0x4c4dc2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4c75ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x606414
cmp dword [edi], 0
jne 0x4c7668
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x606410]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5fe77c
mov ecx, 2
call fcn.004068a8
mov edx, 0x4c75c4
lea eax, [esi + 5]
call fcn.004c75e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c75e4
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 0x4c763d
mov dword [0x606410], 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 0x4f6e34
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 0x4f6fef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409608
mov eax, dword [ebp - 4]
call fcn.004f6784
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4f6e86
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a12c
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.004f7a70
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4f6f65
xor eax, eax
push ebp
push 0x4f6f5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004f6a24
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004f7024
test al, al
je 0x4f6f3c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409368
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4f6f3c
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.00409d20
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.004f6984
test al, al
je 0x4f6f36
mov eax, dword [ebp - 8]
call fcn.00409d20
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00409d88
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004f6e34
dec ebx
cmp ebx, 0xffffffff
jne 0x4f6ee5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6f65
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004f6a24
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x60644c], 0
je 0x4f6fa5
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00409d20
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f6a10
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f6984
mov ebx, eax
jmp 0x4f6fcc
mov eax, dword [ebp - 4]
call fcn.00409d20
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f6a10
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f6984
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6ff6
lea eax, [ebp - 0x3c]
call fcn.004091e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409240
ret