joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x445c10
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x445c2b
mov eax, 0xffffffff
jmp 0x445c2e
add eax, 0xa
push eax
call fcn.0040cad0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx edi, word [ebx]
test di, di
je 0x445c71
add ebx, 2
nop
nop
nop
mov word [edx], di
add edx, 2
movzx edi, word [ebx]
add ebx, 2
test di, di
jne 0x445c60
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp], dx
add ecx, edi
add ecx, 2
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x74757a7b
mov dword [esp + 0x24], 0
mov ecx, 0x58329816
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x583297f6]
xor edx, ecx
mov esi, edx
not esi
or esi, 0x47030791
add esi, edx
inc esi
mov ebx, esi
and ebx, 2
mov edi, esi
or esi, 2
imul esi, ebx
xor ebx, 2
and edi, 0xfd
imul edi, ebx
xor edx, 0x91
add edx, esi
add edx, edi
inc dl
mov byte [esp + ecx - 0x583297f6], dl
inc ecx
cmp ecx, 0x5832981e
jne 0x445cf0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x451f60]
test ecx, ecx
je 0x445d99
xor edx, edx
mov edi, dword [0x451f64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x87573896
je 0x445d70
inc edx
cmp ecx, edx
jne 0x445d60
jmp 0x445d99
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x445d99
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 2
push dword [0x451f68]
push ecx
mov edi, eax
call fcn.004426c0
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.0040cae0
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x445daf
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x445dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov eax, 0x58329816
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x58329816]
xor edx, eax
mov ecx, edx
not ecx
or ecx, 0x47030791
lea ebx, [edx + ecx]
inc ebx
mov esi, ebx
and esi, 2
mov ecx, ebx
or ebx, 2
imul ebx, esi
xor esi, 2
and ecx, 0xfd
imul ecx, esi
xor edx, 0x91
add edx, ebx
add edx, ecx
inc dl
mov byte [esp + eax - 0x58329816], dl
inc eax
cmp eax, 0x5832981e
jne 0x445df0
mov eax, dword [esp]
mov edx, dword [0x451f60]
test edx, edx
je 0x445e98
xor ecx, ecx
mov ebx, dword [0x451f64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + ecx*8], 0xa70a987f
je 0x445e70
inc ecx
cmp edx, ecx
jne 0x445e60
jmp 0x445e98
mov ecx, dword [ebx + ecx*8 + 4]
cmp ecx, eax
je 0x445e98
mov eax, esp
lea edx, [esp + 0x1c]
push 5
push 0x18
push eax
push edx
push dword [ebp + 8]
push 5
push dword [0x451f68]
push ecx
call fcn.004426c0
add esp, 0x20
test edi, edi
je 0x445ea2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x445eb1
cmp byte [esp + 0x15], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x445ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov eax, 0x58329816
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x58329816]
xor ebx, eax
mov edi, ebx
not edi
or edi, 0x47030791
lea ebp, [ebx + edi]
inc ebp
mov esi, ebp
and esi, 2
mov edi, ebp
or ebp, 2
imul ebp, esi
xor esi, 2
and edi, 0xfd
imul edi, esi
xor ebx, 0x91
add ebx, ebp
add ebx, edi
inc bl
mov byte [esp + eax - 0x58329816], bl
inc eax
cmp eax, 0x5832981e
jne 0x445ef0
mov eax, dword [esp]
mov ebx, dword [0x451f60]
test ebx, ebx
je 0x445f9f
xor edi, edi
mov ebp, dword [0x451f64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0xd41f89d1
je 0x445f71
inc edi
cmp ebx, edi
jne 0x445f60
jmp 0x445f9f
mov ebx, dword [ebp + edi*8 + 4]
cmp ebx, eax
je 0x445f9f
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 9
push dword [0x451f68]
push ebx
call fcn.004426c0
add esp, 0x30
cmp eax, 0x103
jne 0x446059
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov eax, 0x58329816
nop
nop
movzx ecx, byte [esp + eax - 0x58329816]
xor ecx, eax
mov edx, ecx
not edx
or edx, 0x47030791
add edx, ecx
inc edx
mov esi, edx
and esi, 2
mov edi, edx
or edx, 2
imul edx, esi
xor esi, 2
and edi, 0xfd
imul edi, esi
xor ecx, 0x91
add ecx, edx
add ecx, edi
inc cl
mov byte [esp + eax - 0x58329816], cl
inc eax
cmp eax, 0x5832981e
jne 0x445fc0
mov eax, dword [esp]
mov ecx, dword [0x451f60]
test ecx, ecx
je 0x446051
xor edx, edx
mov edi, dword [0x451f64]
cmp dword [edi + edx*8], 0x53f09cfa
je 0x446030
inc edx
cmp ecx, edx
jne 0x446020
jmp 0x446051
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x446051
push 0
push 0
push dword [esp + 0x2c]
push 3
push dword [0x451f68]
push ecx
call fcn.004426c0
add esp, 0x18
test eax, eax
js 0x446059
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x446070
xor ecx, ecx
cmp eax, 0xc0000011
je 0x44606e
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x446230
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x446250
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 8], bx
add ebx, 2
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov eax, 0x58329816
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x58329816]
xor ebx, eax
mov edi, ebx
not edi
or edi, 0x47030791
add edi, ebx
inc edi
mov ecx, edi
and ecx, 2
mov ebp, edi
or edi, 2
imul edi, ecx
xor ecx, 2
and ebp, 0xfd
imul ebp, ecx
xor ebx, 0x91
add ebx, edi
add ebx, ebp
inc bl
mov byte [esp + eax - 0x58329816], bl
inc eax
cmp eax, 0x5832981e
jne 0x4462c0
mov eax, dword [esp]
mov edi, dword [0x451f60]
test edi, edi
je 0x446355
xor ebx, ebx
mov ebp, dword [0x451f64]
cmp dword [ebp + ebx*8], 0x9ecf05eb
je 0x446331
inc ebx
cmp edi, ebx
jne 0x446320
jmp 0x446355
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x446355
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 4
push dword [0x451f68]
push edi
call fcn.004426c0
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0xc369cd
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c369cd
ret

Function at 0x408927
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.0040894a
mov ebx, edi
add ebx, 1
xor dword [eax], edx
inc eax
or edi, edi
mov edi, 0x834c0cd5
cmp eax, ecx
jne fcn.00408927
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x256b56f3
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x23933cfb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5b8b5cce
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6cad00ec
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x403370
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004055bc
test esi, esi
jne 0x4033a8
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004056f8
jmp 0x4033c6
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403254
mov edi, eax
test esi, esi
je 0x4033c6
cmp dword [ebx], 0
je 0x4033c6
dec esi
jmp 0x4033af
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x485020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403aa8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403a88
xor eax, eax
push ebp
push 0x403a81
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ae0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x485020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x485020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ba8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x488050], 0
je 0x404c09
cmp word [0x48832c], 0xd7b2
jne 0x404bd1
cmp dword [0x488334], 0
jbe 0x404bd1
mov eax, 0x488328
call dword [0x488344]
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 0x404c34
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48502c], 0
jne 0x404c25
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d88
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x485030], 0
je 0x404dae
mov edx, esi
mov eax, ebx
call dword [0x485030]
jmp 0x404dbd
mov eax, 8
call fcn.00402f9c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x488051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404d50
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4073a4
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 0x408ca8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x48ab2c
push 0xa
push 0x408d3c
mov eax, dword [0x48ab1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408ccc
call fcn.00410d4c
push ebx
mov eax, dword [0x48ab1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x408ce3
call fcn.00410d4c
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x408cf5
call fcn.00410d4c
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x48ab30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x48ab34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x48ab38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x48ab3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x48ab40], ecx
add edx, dword [eax + 0x14]
mov dword [0x48ab44], edx
pop esi
pop ebx
ret

Function at 0x40a35c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a405
test eax, edx
je 0x40a408
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a385
push edx
mov edx, eax
mov eax, esp
call fcn.00405790
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a39b
push eax
lea eax, [esp + 8]
call fcn.00405790
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a3aa
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a3d1
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 0x40a3eb
add ecx, 4
js 0x40a3c2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a3e8
push eax
mov eax, ecx
mov edx, 2
call fcn.00404e28
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a3cf
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a3d1
xor eax, eax
ret
test eax, eax
je 0x40a418
test edx, edx
jne 0x40a36c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405648
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40b1ba
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40b1db
cmp ebx, 3
je 0x40b1db
cmp ebx, 0x7b
je 0x40b1db
mov eax, esi
call fcn.0040b15c
test al, al
jne 0x40b1df
xor eax, eax
jmp 0x40b1e1
mov al, 1
pop esi
pop ebx
ret
Function at 0x40e68c
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 0x40e6c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004056f8
jmp 0x40e6ce
mov eax, ebx
mov edx, esi
call fcn.004055bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e6d8
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 0x40e6fa
movzx eax, word [esp]
jmp 0x40e6fc
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ee60
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0040ec98
mov eax, dword [0x48786c]
cmp byte [eax], 0
je 0x40eef2
mov eax, dword [0x487614]
call fcn.0040347c
call fcn.00403104
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040b574
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ef40
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ef2b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4875bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48ab1c]
call fcn.004066ec
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x40fb08
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 0x40fbde
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405610
lea eax, [ebp - 4]
call fcn.00405e8c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405648
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40fbc8
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40fbc1
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.00405648
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x40fbab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40fbf0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x40fbab
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 0x40fbc8
mov eax, dword [ebp - 0x10]
call fcn.00402fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fbe5
lea eax, [ebp - 4]
call fcn.004055ac
ret

Function at 0x410bf4
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.004050c4
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x410b9e
mov eax, edi
add eax, eax
call fcn.00402f9c
mov esi, eax
jmp 0x410ba0
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x410bd9
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 0x410bc3
mov eax, esp
cmp esi, eax
je 0x410be6
mov eax, esi
call fcn.00402fb8
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 0x410c20
cmp bl, 0
je 0x410c1c
cmp bl, 0x41
jl 0x410c17
cmp bl, 0x5a
jg 0x410c17
or bl, 0x20
xor al, bl
inc esi
jmp 0x410bfb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x410b60

Function at 0x420f3c
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.00420c40
dec esi
jne 0x420f5e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x422108
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48ce60
cmp dword [edi], 0
jne 0x422184
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48ce5c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x485c34
mov ecx, 2
call fcn.00403154
mov edx, 0x4220e0
lea eax, [esi + 5]
call fcn.00422100
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422100
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 0x422159
mov dword [0x48ce5c], 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 0x4250a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405648
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x425100
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487998]
mov dl, 1
mov eax, dword [0x424b30]
call fcn.0040f03c
call fcn.0040462c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424cb8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42639c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4263a2
ret