joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x78b337c3
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x69852009
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40dc0c
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 0x40dd73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a18c
cmp si, word [0x4e1a18]
jb 0x40dca4
cmp si, word [0x4e1c18]
ja 0x40dca4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dca4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4e1a18]
jae 0x40dc7e
mov edi, ebx
dec edi
jmp 0x40dc9f
cmp si, word [ebx*8 + 0x4e1a18]
jbe 0x40dc8e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dc9f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4e1a1c]
call fcn.0040db2c
jmp 0x40dca4
cmp edi, dword [ebp - 8]
jae 0x40dc68
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40dd53
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dd53
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.0040acd4
push dword [ebp - 0x160]
push 0x40dd90
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040acd4
push dword [ebp - 0x164]
push 0x40dda0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040acd4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040af0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd7a
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a1ec
pop eax
jmp eax
Function at 0x40df28
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 0x40e02e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e9c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4e9c2c]
jne 0x40df74
mov eax, esi
mov edx, 0x4e9c2e
mov ecx, 0x55
call fcn.0040acd4
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40e016
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a18c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dfe3
cmp byte [0x4e9c10], 0
je 0x40dfa8
mov edx, esi
mov eax, ebx
call fcn.0040de0c
jmp 0x40dfe3
mov edx, esi
mov eax, ebx
call fcn.0040dc0c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40dfe3
cmp dword [esi], 0
je 0x40dfcc
mov eax, esi
mov edx, 0x40e048
call fcn.0040ae2c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040dc0c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ae2c
push 0x4e9c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4e9c2c], bx
mov eax, dword [esi]
call fcn.0040ac38
mov ecx, eax
mov eax, 0x4e9c2e
mov edx, 0xaa
call fcn.0040da8c
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e035
lea eax, [ebp - 4]
call fcn.0040a18c
pop eax
jmp eax
Function at 0x40e270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a280
xor eax, eax
push ebp
push 0x40e498
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e2b6
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e2d0
mov eax, dword [ebp - 4]
call fcn.0040ac38
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040da8c
cmp word [ebp - 0x21e], 0
je 0x40e47b
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e4a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e39f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e4a8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e39f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e4e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e39f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e4e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e39f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e518
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e39f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e54c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e47b
xor eax, eax
push ebp
push 0x40e474
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040e070
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e402
mov eax, dword [ebp - 0x14]
call fcn.00406dd8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ac98
jmp 0x40e44d
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e58c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e44d
mov eax, dword [ebp - 0x14]
call fcn.00406dd8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e58c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ac98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e47b
cmp dword [ebp - 0xc], 0
je 0x40e468
mov eax, dword [ebp - 0xc]
call fcn.00406df4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e49f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a1ec
pop eax
jmp eax
Function at 0x40e7a8
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.0040a280
xor eax, eax
push ebp
push 0x40e86a
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.0040acd4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ae84
mov eax, dword [ebx]
call fcn.0040e654
test al, al
jne 0x40e845
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040acd4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ae84
mov eax, dword [ebx]
call fcn.0040e654
test al, al
jne 0x40e845
mov eax, ebx
call fcn.0040a18c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e871
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a1ec
lea eax, [ebp - 4]
call fcn.0040a18c
pop eax
jmp eax

Function at 0x410414
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 0x420ff4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42104d
test eax, edx
je 0x421050
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42100b
movzx eax, word [eax]
sub eax, ecx
jmp 0x421032
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x421033
add ecx, 4
js 0x421023
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x421030
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x421032
xor eax, eax
ret
test eax, eax
je 0x42105c
test edx, edx
jne 0x420ffc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x426c0c
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
test eax, eax
jle 0x426c45
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a324
jmp 0x426c4e
mov eax, ebx
mov edx, esi
call fcn.0040a57c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426c58
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x426c7c
movzx eax, word [esp]
jmp 0x426c7e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x428974
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 0x428a9b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042877c
mov esi, eax
mov eax, dword [0x4e5fa0]
cmp byte [eax], 0
je 0x428a41
mov eax, dword [0x4e5dcc]
call fcn.00407b44
call fcn.00406f4c
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x428944]
call fcn.0040d060
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x428ab4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x428a7d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e5d88]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ea634]
call fcn.0040d730
push eax
call sub.user32.dll_LoadStringW
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 0x428aa2
lea eax, [ebp - 4]
mov edx, dword [0x428944]
call fcn.0040d184
pop eax
jmp eax

Function at 0x42addc
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.0040a66c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004103f4
mov edi, eax
cmp edi, 0x104
jbe 0x42ad87
mov eax, edi
add eax, eax
call fcn.00406dd8
mov esi, eax
jmp 0x42ad89
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004103f4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42adc2
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 0x42adac
mov eax, esp
cmp esi, eax
je 0x42adcf
mov eax, esi
call fcn.00406df4
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 0x42ae08
cmp bl, 0
je 0x42ae04
cmp bl, 0x41
jl 0x42adff
cmp bl, 0x5a
jg 0x42adff
or bl, 0x20
xor al, bl
inc esi
jmp 0x42ade3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42ad48

Function at 0x42b724
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
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040acd4
add esp, 0x800
pop ebx
ret
Function at 0x42ded0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42deee
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42df06
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42df01
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42df0b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42df79
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42dfc2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42df37
inc dword [ebp - 0xc]
jmp 0x42df4f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42df4f
cmp dword [ebp - 0xc], 0
jle 0x42df4f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42df71
xor eax, eax
jmp 0x42df6d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42df6c
mov eax, esi
jmp 0x42dfc5
inc eax
cmp eax, ecx
jle 0x42df59
inc esi
cmp esi, dword [ebp - 8]
jl 0x42df23
jmp 0x42dfc2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42dfc2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42df9a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42dfbc
xor eax, eax
jmp 0x42dfb8
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42dfb7
mov eax, esi
jmp 0x42dfc5
inc eax
cmp eax, ecx
jle 0x42dfa4
inc esi
cmp esi, dword [ebp - 8]
jl 0x42df82
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e1b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42e1d1
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42e1df
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42e301
test ebx, ebx
jl 0x42e301
test esi, esi
jle 0x42e301
mov eax, dword [ebp - 8]
call fcn.0040ac38
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040ac38
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42e29e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42e301
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42e283
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42e252
inc dword [ebp - 0x14]
jmp 0x42e262
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42e262
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42e26d
or eax, 0xffffffff
jmp 0x42e283
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42e280
inc eax
jmp 0x42e283
or eax, 0xffffffff
test eax, eax
jl 0x42e28b
cmp esi, eax
jg 0x42e240
cmp esi, eax
jg 0x42e296
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42e304
inc edx
dec dword [ebp - 0x1c]
jne 0x42e23c
jmp 0x42e301
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42e301
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42e2e8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42e2c7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42e2d2
or eax, 0xffffffff
jmp 0x42e2e8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42e2e5
inc eax
jmp 0x42e2e8
or eax, 0xffffffff
test eax, eax
jl 0x42e2f0
cmp esi, eax
jg 0x42e2b0
cmp esi, eax
jg 0x42e2fb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42e304
inc edx
dec dword [ebp - 0x1c]
jne 0x42e2ac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43e518
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 0x43e520
mov eax, edx
pop esi
pop ebx
ret

Function at 0x478dc8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x478e0b
cmp byte [ebx + 0x11], 0
jne 0x478e0b
cmp byte [ebx + 0x24], 0
jne 0x478e0b
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 0x478e22
mov ecx, dword [0x4e5f54]
mov dl, 1
mov eax, dword [0x44bbc4]
call fcn.00428c20
call fcn.004097f4
pop ebx
ret
mov ecx, dword [0x4e5f54]
mov dl, 1
mov eax, dword [0x44bbc4]
call fcn.00428c20
call fcn.004097f4
pop ebx
ret
Function at 0x479790
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 0x4797de
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.00478c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4797f7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x479800
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.00478c74
dec esi
jne 0x479822
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x491fd4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x491feb
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x491fdb
mov eax, ecx
pop ebx
ret

Function at 0x4a440c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4a4420
add esp, 0xfffffff0
call fcn.00408924
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x49e390]
call fcn.004c2ae8
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4a33dc]
call fcn.004c589c
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x4a33dc]
call fcn.004c589c
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x4a4475
call fcn.0040897c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2384
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffefc
mov esi, edx
lea edi, [esp + 0xc]
push ecx
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call fcn.004d232c
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
movzx eax, word [eax + 6]
push eax
mov eax, 0x4ed990
mov ecx, 1
mov edx, dword [0x4d2238]
call fcn.0040d060
add esp, 4
mov eax, dword [esp + 4]
mov eax, dword [eax]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x4d24df
inc edi
xor esi, esi
mov eax, dword [esp + 8]
cmp dword [eax + 0x10], 0
jne 0x4d2458
mov ebp, dword [esp + 0x44]
test ebp, ebp
jle 0x4d2449
push 0x40
push 0x1000
push ebp
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
call fcn.004d22a0
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebx, eax
mov eax, dword [0x4ed990]
mov dword [eax + esi*8], ebx
mov eax, dword [0x4ed990]
mov dword [eax + esi*8 + 4], ebp
mov eax, dword [esp + 8]
mov dword [eax + 8], ebx
mov edx, ebp
mov eax, ebx
xor ecx, ecx
call fcn.00407bbc
push 0
push 0x28
lea eax, [esp + 0x10]
call fcn.004d2270
jmp 0x4d24d7
push 0x40
push 0x1000
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
call fcn.004d22a0
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebx, eax
mov eax, dword [0x4ed990]
mov dword [eax + esi*8], ebx
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov edx, dword [0x4ed990]
mov dword [edx + esi*8 + 4], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 8]
call fcn.004d22a0
mov edx, dword [esp + 8]
mov edx, dword [edx + 0x10]
mov ecx, edx
mov edx, ebx
call fcn.004071e0
mov eax, dword [esp + 8]
mov dword [eax + 8], ebx
push 0
push 0x28
lea eax, [esp + 0x10]
call fcn.004d2270
inc esi
dec edi
jne 0x4d23ed
add esp, 0x104
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d2964
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x4d2979
or edx, 0x200
test eax, 0x20000000
je 0x4d29ac
test eax, 0x40000000
je 0x4d2998
test eax, 0x80000000
je 0x4d2993
or edx, 0x40
jmp 0x4d29d3
or edx, 0x20
jmp 0x4d29d3
test eax, 0x80000000
je 0x4d29a7
or edx, 0x80
jmp 0x4d29d3
or edx, 0x10
jmp 0x4d29d3
test eax, 0x40000000
je 0x4d29c4
test eax, 0x80000000
je 0x4d29bf
or edx, 4
jmp 0x4d29d3
or edx, 2
jmp 0x4d29d3
test eax, 0x80000000
je 0x4d29d0
or edx, 8
jmp 0x4d29d3
or edx, 1
mov eax, edx
pop ebp
ret 4