joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdcde00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0
push 0xdc7204
call fcn.00dd46d0
add esp, 0xc
mov byte [0xdc7204], 0x80
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0xdd49e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xe
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
xchg esp, esp
ja 0xdd4a0d
pushf
jge 0xdd4a01
or esp, 0
popf
mov esp, esp
jmp 0xdd4a0a
jbe 0xdd4a0d
mov esp, 0x75b066b1
mov cl, 0x66
mov al, 0x75
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 7], 0x4a
mov byte [ebp - 8], 0x6e
mov byte [ebp - 5], 0x67
mov byte [ebp - 0xa], al
mov byte [ebp - 3], 0
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0x70
mov byte [ebp - 0xd], 0x54
mov byte [ebp - 9], cl
mov byte [ebp - 6], 0x6f
xor esp, 0
xor esp, 0
jl 0xdd4a4d
push ebx
add ebx, 0x4f7f
ror ebx, 3
pop ebx
ja 0xdd4a6e
pushf
lea esp, [esp]
jo 0xdd4a61
je 0xdd4a63
popf
jnp 0xdd4a67
js 0xdd4a69
jge 0xdd4a6b
jbe 0xdd4a6e
mov edx, 0x8afc4d8a
inc ebp
cmc
mov cl, byte [ebp - 4]
mov al, byte [ebp - 0xb]
mov bl, byte [ebp - 0xf]
mov dl, byte [ebp - 0xd]
dec cl
dec al
mov byte [ebp - 4], cl
mov cl, byte [ebp - 9]
dec bl
mov byte [ebp - 0xb], al
mov al, byte [ebp - 0xc]
dec dl
mov byte [ebp - 0xf], bl
mov bl, byte [ebp - 0xa]
dec cl
mov byte [ebp - 0xd], dl
mov dl, byte [ebp - 6]
mov byte [ebp - 9], cl
mov cl, byte [ebp - 8]
dec al
dec bl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 0x10]
dec dl
mov byte [ebp - 0xa], bl
mov bl, byte [ebp - 7]
dec cl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 5]
mov byte [ebp - 8], cl
mov cl, byte [ebp - 0xe]
dec al
dec bl
dec dl
dec cl
mov byte [ebp - 0x10], al
mov byte [ebp - 7], bl
mov byte [ebp - 5], dl
mov byte [ebp - 0xe], cl
xchg edi, ecx
xchg edi, ecx
jnp 0xdd4af4
pushf
rol eax, 0x1d
ror eax, 0x1d
shl esp, 0
cmp edx, edi
popf
xchg edi, edi
xchg esi, esi
jl 0xdd4af1
jp 0xdd4af4
mov esp, 0xf6d7e8
add byte [ebx + 0xfc985c8], cl
test byte [edi - 0x70000000], al
call fcn.00de41d0
mov ecx, eax
test ecx, ecx
je 0xdd4b8a
nop
jge 0xdd4b23
pushf
ror esi, 0xf
rol esi, 0xf
rol esp, 0
test dword [esp], edi
xor edx, dword [esp]
xor edx, dword [esp]
popf
jne 0xdd4b1e
je 0xdd4b20
jl 0xdd4b23
or dword [ebp + 0x5152f055], 0xfff693e8
dec dword [ebx - 0x72f19508]
inc ebp
invalid
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.00dd41c0
mov edi, eax
push 0xe
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
jle 0xdd4b41
jne 0xdd4b43
jne 0xdd4b4e
jne 0xdd4b47
xchg edx, edx
jl 0xdd4b4b
je 0xdd4b4e
add eax, 0x3874ff85
test edi, edi
je 0xdd4b8a
lea esp, [esp]
jb 0xdd4b57
xor eax, dword [esp]
xor eax, dword [esp]
js 0xdd4b65
xchg ecx, ecx
jns 0xdd4b65
jmp 0x26c5a2c0
push edi
call fcn.00debd90
add esp, 4
xchg esi, eax
xchg esi, eax
test dword [esp], esi
je 0xdd4b84
pushf
dec ecx
inc ecx
lea esi, [esi]
mov ebx, ebx
popf
lea eax, [eax]
jne 0xdd4b84
sub eax, 0x51084d8b
mov ecx, dword [ebp + 8]
push ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0xdd4ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
jnp 0xdd4bbb
rol eax, 0
jae 0xdd4bd0
pushf
lea esi, [esi]
or ebx, 0
je 0xdd4bc9
popf
mov edx, edx
jb 0xdd4bd0
mov esi, 0x74b066b1
mov cl, 0x66
mov al, 0x74
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xb], 0x70
mov byte [ebp - 6], 0x55
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 5], 0x6a
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 9], cl
mov byte [ebp - 4], 0x6e
mov byte [ebp - 0xd], 0x51
mov byte [ebp - 8], al
mov byte [ebp - 3], cl
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 7], al
mov byte [ebp - 2], al
mov byte [ebp - 1], 0
js 0xdd4c10
xor ecx, dword [esp + 4]
xor ecx, dword [esp + 4]
shl edx, 0
ja 0xdd4c27
jnp 0xdd4c1f
nop
js 0xdd4c22
je 0xdd4c24
jbe 0xdd4c27
mov esi, 0x8af0458a
pop ebp
cmc
mov al, byte [ebp - 0x10]
mov bl, byte [ebp - 0xb]
mov dl, byte [ebp - 6]
mov cl, byte [ebp - 0xf]
dec al
dec bl
mov byte [ebp - 0x10], al
mov al, byte [ebp - 0xa]
dec dl
mov byte [ebp - 0xb], bl
mov bl, byte [ebp - 5]
mov byte [ebp - 6], dl
mov dl, byte [ebp - 0xe]
dec cl
dec al
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 9]
dec bl
mov byte [ebp - 0xa], al
mov al, byte [ebp - 4]
dec dl
mov byte [ebp - 5], bl
mov bl, byte [ebp - 0xd]
mov byte [ebp - 0xe], dl
mov dl, byte [ebp - 8]
dec cl
dec al
mov byte [ebp - 9], cl
mov cl, byte [ebp - 3]
dec bl
mov byte [ebp - 4], al
mov al, byte [ebp - 0xc]
dec dl
mov byte [ebp - 0xd], bl
mov bl, byte [ebp - 7]
mov byte [ebp - 8], dl
mov dl, byte [ebp - 2]
dec cl
dec al
dec bl
dec dl
mov byte [ebp - 3], cl
mov byte [ebp - 0xc], al
mov byte [ebp - 7], bl
mov byte [ebp - 2], dl
call fcn.00de41d0
test eax, eax
jne 0xdd4cb1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, ebx
inc esi
dec esi
mov edx, edx
test dword [esp + 8], edx
jge 0xdd4cc8
ja 0xdd4cbf
jle 0xdd4cc1
xchg ebx, edx
xchg ebx, edx
jl 0xdd4cc8
mov ebp, 0x51f04d8d
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00dd41c0
mov esi, eax
jp 0xdd4cd6
not edx
not edx
jg 0xdd4cdc
jb 0xdd4ce9
jnp 0xdd4ce0
lea esp, [esp]
lea esp, [esp]
jae 0xdd4ce9
call 0x566a5d57
invalid
push 0x10
lea edx, [ebp - 0x10]
push 0
push edx
call fcn.00dd3ec0
add esp, 0xc
lea edi, [edi + 0x4a7d]
lea edi, [edi - 0x4a7d]
cld
je 0xdd4d19
pushf
add eax, 0
test edi, edx
popf
mov esp, esp
lea esp, [esp]
jne 0xdd4d19
add eax, 0xb75f685
test esi, esi
jne 0xdd4d28
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
not edx
not edx
jb 0xdd4d2e
jg 0xdd4d3c
lea edi, [edi]
jg 0xdd4d34
xchg edi, edx
xchg edi, edx
jle 0xdd4d3c
xor eax, 0x4ee8564c
jo 0xdd4d42
push esi
call fcn.00debd90
add byte [ebx - 0x720afb3c], al
mov edi, 0x6728
add esp, 4
cmc
lea edi, [edi + 0x6728]
lea edi, [edi - 0x6728]
sub esp, 0
jno 0xdd4d61
jo 0xdd4d59
jae 0xdd4d5b
jl 0xdd4d5d
jo 0xdd4d61
mov edi, 0x18458b6c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0xdd7450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xd
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
test ecx, 0x50b5
xor esp, 0
shr ecx, 0
jae 0xdd7495
pushf
xor esp, 0
or esi, esi
dec eax
inc eax
popf
jns 0xdd7484
jae 0xdd7486
lea ebx, [ebx + 0x241a]
lea ebx, [ebx - 0x241a]
jb 0xdd7495
call 0x46a3db49
call 0xee22fcee
mov al, 0x66
mov byte [ebp - 0x18], 0x50
mov byte [ebp - 0x13], al
mov byte [ebp - 0xe], al
mov byte [ebp - 0x17], 0x71
mov byte [ebp - 0x12], 0x73
mov byte [ebp - 0xd], 0x42
mov byte [ebp - 0x16], al
mov byte [ebp - 0x11], 0x77
mov byte [ebp - 0xc], 0
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x10], 0x6a
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0xf], 0x64
add esp, 0
jg 0xdd74dc
pushf
je 0xdd74d1
lea ebx, [ebx]
xchg esp, esp
popf
jne 0xdd74d9
jle 0xdd74dc
jmp 0x8bc5c26a
mov cl, byte [ebp - 0x18]
mov al, byte [ebp - 0x13]
mov bl, byte [ebp - 0xe]
mov dl, byte [ebp - 0x17]
dec cl
dec al
mov byte [ebp - 0x18], cl
mov cl, byte [ebp - 0x12]
dec bl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xd]
dec dl
mov byte [ebp - 0xe], bl
mov bl, byte [ebp - 0x16]
mov byte [ebp - 0x17], dl
mov dl, byte [ebp - 0x11]
dec cl
dec al
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 0x15]
dec bl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0x10]
dec dl
mov byte [ebp - 0x16], bl
mov bl, byte [ebp - 0x14]
mov byte [ebp - 0x11], dl
mov dl, byte [ebp - 0xf]
dec cl
dec al
dec bl
dec dl
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x10], al
mov byte [ebp - 0x14], bl
mov byte [ebp - 0xf], dl
cmp ecx, dword [esp + 0xc]
jo 0xdd7542
push edi
pop edi
clc
jp 0xdd7563
pushf
test dword [esp], eax
add esi, 0x1108
sub esi, 0x1108
popf
mov esi, esi
ja 0xdd755e
lea esi, [esi]
jnp 0xdd7563
mov ebp, 0x105b8e8
add byte [ebp - 0x3ba7640], al
call fcn.00de7b20
test eax, eax
mov dword [ebp - 4], eax
jne 0xdd7578
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
add ecx, dword [esp]
sub ecx, dword [esp]
jns 0xdd7585
jno 0xdd7582
js 0xdd7585
call 0x52c5c316
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.00dd41c0
push 0xd
lea edx, [ebp - 0x18]
mov esi, eax
push 0
push edx
mov dword [ebp - 8], esi
call fcn.00dd3ec0
add esp, 0xc
test esi, esi
jne 0xdd75b3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
ror esp, 0
add ecx, 0x3598
sub ecx, 0x3598
shl esp, 0
cmp edx, edi
jo 0xdd75d1
lea esp, [esp]
xchg ecx, ecx
jno 0xdd75d1
add eax, 0x47b9e856
add dword [eax], eax
push esi
call fcn.00debd90
push 0xd
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00dd3ec0
add esp, 0x10
call fcn.00dd75ec
Function at 0xde0440
Capabilities:
Contain obfuscated stackstrings
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xd
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
jne 0xde045b
jnp 0xde0463
jle 0xde045f
jp 0xde0463
xor eax, 0xc666b08d
inc ebp
invalid
mov al, 0x66
mov byte [ebp - 0x10], 0x48
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 0xd], 0x4d
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x6d
mov byte [ebp - 8], 0x55
mov byte [ebp - 7], 0x6a
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], al
mov byte [ebp - 4], 0
call fcn.00de049c
Function at 0xdea3e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xe
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
shl esp, 0
ror edx, 0
jo 0xdea418
pushf
lea ecx, [ecx + 0x7966]
sub ecx, 0x7966
popf
ja 0xdea413
jne 0xdea415
jno 0xdea418
add eax, 0x65b073b1
mov cl, 0x73
mov al, 0x65
mov byte [ebp - 7], 0
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xa], al
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0xe], cl
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x33
mov byte [ebp - 8], 0x74
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0xc], 0x32
mov byte [ebp - 0x10], al
mov byte [ebp - 0xb], 0x4e
test dword [esp], edx
rol eax, 1
rol eax, 0x1f
cmp esp, 0x416
ror ecx, 0x14
ror ecx, 0xc
je 0xdea474
xchg esi, ecx
xchg esi, ecx
lea esp, [esp]
jo 0xdea46f
mov esp, esp
jne 0xdea474
mov ebx, 0xff9d57e8
inc dword [ebp - 0x3ba7640]
call fcn.00de41d0
test eax, eax
mov dword [ebp - 4], eax
jne 0xdea489
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, dword [esp + 0x10]
xor edi, dword [esp + 0x10]
sub esp, 0
rol ecx, 0x17
ror ecx, 0x17
ror ebx, 0x19
ror ebx, 7
jo 0xdea4ab
xchg edx, edx
nop
lea esi, [esi]
nop
jno 0xdea4ab
mov eax, 0x8dfc558b
dec ebp
in al, dx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x14]
push ecx
push edx
call fcn.00dd41c0
mov esi, eax
push 0xe
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
test esi, esi
jne 0xdea4d9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, edi
cmp ebx, dword [esp + 0x10]
std
cld
push edx
pop edx
jg 0xdea4f3
pushf
add ecx, 0
popf
jg 0xdea4ee
jle 0xdea4f0
jle 0xdea4f3
xor eax, 0x1897e856
add byte [eax], al
push esi
call fcn.00debd90
add esp, 4
call 0xdea501
add esp, 4
jbe 0xdea51d
pushf
nop
jne 0xdea50b
push eax
add eax, 0x63f1
ror eax, 9
pop eax
popf
lea esp, [esp]
ja 0xdea51d
mov ebx, 0x8b0c4d8b
push ebp
or byte [ecx + 0x52], dl
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0xdeab50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00dd3ec0
add esp, 0xc
xor ecx, 0x6c7a
xor ecx, 0x6c7a
and esp, 0xffffffff
add edi, 0x3cbb
sub edi, 0x3cbb
jle 0xdeab89
js 0xdeab86
jg 0xdeab89
sub eax, 0x72b173b0
mov al, 0x73
mov cl, 0x72
mov byte [ebp - 2], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], al
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xa], al
mov byte [ebp - 5], cl
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], al
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x46
mov byte [ebp - 3], 0x74
call fcn.00de41d0
test eax, eax
jne 0xdeabd4
pop edi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00dd41c0
push 0xf
lea edx, [ebp - 0x10]
push 0
push edx
mov edi, eax
call fcn.00dd3ec0
add esp, 0xc
test edi, edi
jne 0xdeabfd
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
ror ebx, 0x1f
rol ebx, 0x1f
cmp eax, 0x7b77
stc
jns 0xdeac17
xchg esi, esi
xchg ebx, edx
xchg ebx, edx
js 0xdeac17
mov eax, 0x73e85773
adc dword [eax], eax
add byte [ebx - 0x143efb3c], al
add al, bh
push edi
call fcn.00debd90
add esp, 4
shr ebx, 0
clc
jle 0xdeac3c
lea edx, [edx + 0x14f7]
lea edx, [edx - 0x14f7]
jbe 0xdeac34
xchg ecx, ecx
jb 0xdeac38
jg 0xdeac3c
xor eax, 0xc458b93
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0xdeb9f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0xdc8c38]
push esi
push edi
push eax
push 0xdc8b5d
mov byte [0xdc8b5c], 0x45
call fcn.00deb940
mov edx, dword [0xdc8c38]
mov al, 0x2d
mov byte [0xdc8b62], al
mov byte [0xdc8b63], al
lea eax, [edx + 0x4ed1567b]
mov cl, 0x20
lea edx, [edx + edx*4]
add esp, 8
mov byte [0xdc8b61], cl
mov byte [0xdc8b64], cl
mov esi, 0xdc8b65
xor ecx, ecx
lea edi, [edx + edx*4]
mov edx, eax
imul eax, eax, 0x1003411d
shr edx, 9
add edx, 0x79d11093
xor eax, edx
mov dl, byte [ecx + edi*8 + 0xdada69]
xor dl, al
mov byte [esi], dl
inc esi
inc ecx
cmp ecx, 0xc8
jl 0xdeba3f
mov byte [esi], 0
pop edi
mov eax, 0xdc8b5c
pop esi
ret
Function at 0x40330c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404bdc
test esi, esi
jne 0x403342
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404ccc
jmp 0x403360
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004031b0
mov edi, eax
test esi, esi
je 0x403360
cmp dword [ebx], 0
je 0x403360
dec esi
jmp 0x403349
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403a94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a5020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b2c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403b0c
xor eax, eax
push ebp
push 0x403b05
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 0x403b48
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b0c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4a5020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a5020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404988
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a9048], 0
je 0x4049e9
cmp word [0x4a921c], 0xd7b2
jne 0x4049b1
cmp dword [0x4a9224], 0
jbe 0x4049b1
mov eax, 0x4a9218
call dword [0x4a9234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
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 0x404a10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a502c], 0
jne 0x404a05
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b60
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 [0x4a5030], 0
je 0x404b86
mov edx, esi
mov eax, ebx
call dword [0x4a5030]
jmp 0x404b95
mov eax, 8
call fcn.00402ec0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4a9049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b28
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 0x4062f8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406528
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40637b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406528
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40637b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406544
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406404
xor eax, eax
push ebp
push 0x4063fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406134
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4063e2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406564
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4063e2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406404
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40651e
cmp byte [ebp - 0xd], 0
jne 0x40644b
cmp byte [ebp - 0x12], 0
je 0x40651e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406464
dec ebx
cmp byte [ebx], 0x2e
je 0x406473
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406463
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40651e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4064b0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40651e
cmp byte [ebp - 0xd], 0
je 0x40651e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40651e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408d14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408d66
test eax, edx
je 0x408d69
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408d29
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 0x408d4f
add ecx, 4
js 0x408d3f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408d4c
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 0x408d75
test edx, edx
jne 0x408d1c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0040506c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4096a6
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4096c7
cmp ebx, 3
je 0x4096c7
cmp ebx, 0x7b
je 0x4096c7
mov eax, esi
call fcn.00409648
test al, al
jne 0x4096cb
xor eax, eax
jmp 0x4096cd
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040506c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4096e9
test al, 0x10
jne 0x4096ed
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40cc54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cc8d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ccc
jmp 0x40cc96
mov eax, ebx
mov edx, esi
call fcn.00404c30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cca0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ccc2
movzx eax, byte [esp]
jmp 0x40ccc4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret