joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e6f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.005dd030
add esp, 0xc
jo 0x5e6f19
test eax, 0x412d
not eax
not eax
js 0x5e6f2a
lea eax, [eax]
jns 0x5e6f2a
sbb dword [eax + esi*4 + 0x73], 0x45c672b1
inc byte [eax]
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.005e3020
test eax, eax
jne 0x5e6f75
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.005e9510
push 0xf
lea edx, [ebp - 0x10]
push 0
push edx
mov esi, eax
call fcn.005dd030
add esp, 0xc
test esi, esi
jne 0x5e6f9e
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
rol esp, 0
lea eax, [eax]
rol edi, 0x12
rol edi, 0xe
shr ebx, 0
jp 0x5e6fbb
jbe 0x5e6fb2
jmp 0x5e6fb4
lea edi, [edi]
mov ebx, ebx
jnp 0x5e6fbb
mov esi, 0x974fe856
add byte [eax], al
push esi
call fcn.005f0710
add esp, 4
jno 0x5e6fc6
jns 0x5e6fc8
jl 0x5e6fd1
jmp 0x5e6fcc
nop
jge 0x5e6fd1
mov esp, 0xc458b01
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x5e9510
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x5e95b1
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x5e95b1
jae 0x5e952e
xor esp, 0
and esp, 0xffffffff
jno 0x5e953d
jnp 0x5e9538
xchg edx, edx
jo 0x5e953d
mov esi, 0xfb81
add dword [eax], eax
cmp ebx, 0x10000
jae 0x5e9566
nop
jb 0x5e9548
jno 0x5e955d
js 0x5e954c
jp 0x5e954e
lea edi, [edi + 0xd30]
lea edi, [edi - 0xd30]
jo 0x5e955d
adc dword [ebx + 0x50], 0x9e2ce8
add bl, ch
sub al, 0x83
les eax, [eax]
push ebx
push eax
call 0x5f3390
jmp 0x5e9592
add esp, 0
jp 0x5e956b
cmc
mov esi, esi
ja 0x5e9588
pushf
add eax, 0x10d8
sub eax, 0x10d8
lea ecx, [ecx]
cld
popf
jmp 0x5e9583
jbe 0x5e9585
jbe 0x5e9588
xor eax, 0x5308458b
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.005e1f90
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x5e95bc
xchg edi, eax
xchg edi, eax
jl 0x5e95a8
jne 0x5e95a1
jne 0x5e95a3
jmp 0x5e95a5
jge 0x5e95a8
jmp 0x5ebe5737
mov eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0x5d76f4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x5f0710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp eax, 0x47eb
nop
xchg ebx, ebx
lea esp, [esp]
jl 0x5f0729
lea esi, [esi]
jge 0x5f0729
add eax, 0x8458bd9
mov eax, dword [ebp + 8]
push eax
call fcn.005f7900
add esp, 4
cmp eax, 2
jne 0x5f0792
cmp esp, 0x77a1
jp 0x5f0742
xor esi, 0
call 0x5f074a
add esp, 4
jo 0x5f075f
pushf
not edi
not edi
nop
popf
mov ebx, ebx
ja 0x5f075c
jno 0x5f075f
mov eax, 0x5d77a068
add byte [ebx + 0x5d723c], ah
push 0x5d77a0
mov dword [0x5d723c], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [edi + 0xa83]
lea edi, [edi - 0xa83]
test esp, 0x1104
jg 0x5f0788
nop
jle 0x5f0788
mov esp, 0x1b8cf
add byte [eax], al
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
jge 0x5f0794
lea edi, [edi + 0x479d]
lea edi, [edi - 0x479d]
test dword [esp], esi
jle 0x5f07a5
jb 0x5f07b0
jl 0x5f07a9
jnp 0x5f07ab
jne 0x5f07ad
jae 0x5f07b0
call 0xc0926613
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x5f5840
Capabilities:
Print debug messages

Disassembly:
push ebx
ja 0x5f5843
jnp 0x5f5854
lea ebx, [ebx + 0x7df5]
lea ebx, [ebx - 0x7df5]
jp 0x5f5854
mov eax, 0x5d5cf8a1
add byte [ebx - 0x3d], bl
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0xa5a5
mov word [ebp - 0x3c], 0xa
nop
xor esi, esi
mov ebx, 6
jmp 0x5f5887
mov eax, dword [0x5d5cf8]
pop ebx
ret
xor eax, eax
cmp esi, 5
ja case.default.0x5f5890
jmp dword [esi*4 + 0x5f62ac]
lea eax, [ebp - 0x54]
mov ecx, 3
mov edi, eax
xor edx, edx
add eax, 8
dec ecx
mov dword [edi], edx
mov word [edi + 4], dx
jne 0x5f589f
jmp case.default.0x5f5890
mov word [ebp - 0x4e], ax
and ecx, 0xffffffff
lea edx, [edx + 0x395c]
lea edx, [edx - 0x395c]
jl 0x5f58cb
je 0x5f58c8
jge 0x5f58cb
mov edx, 0xff665ceb
inc ebp
mov eax, 0x128df03b
jmp case.default.0x5f5890
inc word [ebp - 0x48]
cmp esi, eax
lea edx, [edx]
je 0x5f58fc
pushf
shr esp, 0
push ecx
add ecx, 0x7cf6
ror ecx, 0xb
pop ecx
popf
jle 0x5f58eb
lea eax, [eax + 0x1c5]
lea eax, [eax - 0x1c5]
mov edx, edx
jne 0x5f58fc
sub eax, 0xc7662beb
inc ebp
ret 0xffff
jmp case.default.0x5f5890
mov word [ebp - 0x3e], 0xffff
jmp case.default.0x5f5890
mov word [ebp - 0x36], ax
add ecx, dword [esp]
sub ecx, dword [esp]
cmp esi, 0x3ea
je 0x5f5923
jae 0x5f591a
jns 0x5f591c
jb 0x5f591e
jge 0x5f5920
jne 0x5f5923
add eax, 0x896604eb
inc ebp
enter 0x4b46, 0xf
inc esi
dec ebx
jne 0x5f5885
xor edi, edi
xor esi, esi
cmp si, 3
jmp case.default.0x5f5890
mov word [ebp - 0x38], ax
inc esi
dec ebx
jne 0x5f5885

Function at 0x5f9000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xe
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.005dd030
add esp, 0xc
nop
jbe 0x5f901c
lea ebx, [ebx + 0x6444]
lea ebx, [ebx - 0x6444]
jb 0x5f9041
pushf
add ecx, 0x707a
sub ecx, 0x707a
popf
jnp 0x5f903c
jl 0x5f903e
jae 0x5f9041
lcall 0x48e8, 0x45c666b0
mov al, 0x66
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0x17], al
mov byte [ebp - 0x12], 0x74
invalid
Function at 0x5fc610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xd
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.005dd030
add esp, 0xc
not eax
not eax
cmp ebx, dword [esp + 0x10]
not ebx
not ebx
call 0x5fc63a
add esp, 4
jp 0x5fc648
xchg ecx, esi
xchg ecx, esi
jnp 0x5fc648
xor eax, 0x66b0e2fa
mov al, 0x66
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x62
mov byte [ebp - 0xd], 0x6d
mov byte [ebp - 0xc], 0x55
mov byte [ebp - 0xb], 0x6a
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 9], al
mov byte [ebp - 8], 0
shr esp, 0
stc
xchg esp, esp
jne 0x5fc68b
jg 0x5fc686
jge 0x5fc688
je 0x5fc68b
mov esp, 0x8aec458a
pop ebp
int1
mov al, byte [ebp - 0x14]
mov bl, byte [ebp - 0xf]
mov dl, byte [ebp - 0xa]
mov cl, byte [ebp - 0x13]
dec al
dec bl
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0xe]
dec dl
mov byte [ebp - 0xf], bl
mov bl, byte [ebp - 9]
dec cl
mov byte [ebp - 0xa], dl
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x13], cl
mov cl, byte [ebp - 0xd]
dec al
dec bl
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x11]
dec dl
mov byte [ebp - 9], bl
mov bl, byte [ebp - 0xc]
dec cl
mov byte [ebp - 0x12], dl
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0xd], cl
mov cl, byte [ebp - 0xb]
dec al
dec bl
dec dl
dec cl
mov byte [ebp - 0x11], al
mov byte [ebp - 0xc], bl
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xb], cl
call fcn.005e3020
mov ecx, eax
test ecx, ecx
je 0x5fc770
ror eax, 0x14
ror eax, 0xc
lea eax, [eax + 0x5536]
lea eax, [eax - 0x5536]
jno 0x5fc712
xchg edi, edi
je 0x5fc70e
jo 0x5fc712
mov edi, 0xec558d1e
lea edx, [ebp - 0x14]
push edx
push ecx
call fcn.005e9510
mov esi, eax
push 0xd
lea eax, [ebp - 0x14]
push 0
push eax
mov dword [ebp - 4], esi
call fcn.005dd030
add esp, 0xc
test esi, esi
je 0x5fc770
mov esp, esp
jp 0x5fc744
lea ebx, [ebx]
lea ebx, [ebx]
lea edi, [edi]
jnp 0x5fc744
add eax, 0xe856c725
invalid
push esi
call fcn.005f0710
add esp, 4
dec edi
inc edi
push ebx
pop ebx
add esi, 0x2052
sub esi, 0x2052
jne 0x5fc769
je 0x5fc761
jo 0x5fc763
lea ebx, [ebx]
je 0x5fc769
sub dword [ecx + 0x51084d8b], 0x5ffc55ff
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x70ce20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e4000]
mov dword [edi + 0x2eb5d4], 0x9d9b9997
push edi
jmp 0x70ce4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x70ce51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70ce40
mov eax, 1
add ebx, ebx
jne 0x70ce63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x70ce74
jne 0x70ce93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70ce93
dec eax
add ebx, ebx
jne 0x70ce80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x70ce58
add ebx, ebx
jne 0x70ce8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x70cee5
xor ecx, ecx
sub eax, 3
jb 0x70ceab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70cf1a
sar eax, 1
mov ebp, eax
jmp 0x70ceb6
add ebx, ebx
jne 0x70ceb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70ce84
inc ecx
add ebx, ebx
jne 0x70cec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70ce84
add ebx, ebx
jne 0x70ced1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x70cec6
jne 0x70cee2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70cec6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x70cf04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x70cef6
jmp 0x70ce46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x70cf04
add edi, ecx
jmp 0x70ce46
pop esi
mov edi, esi
mov ecx, 0x9e7f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x70cf22
cmp byte [edi], 0x1a
jne 0x70cf22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x70cf27
lea edi, [esi + 0x301000]
mov eax, dword [edi]
or eax, eax
je 0x70cf9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30d770]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30d834]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x70cf54
mov ecx, edi
jns 0x70cf83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30d83c]
or eax, eax
je 0x70cf99
mov dword [ebx], eax
add ebx, 4
jmp 0x70cf71
call dword [esi + 0x30d838]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x70cfd0
cmp al, 0xef
ja 0x70cfc3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x70cfa5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x70cfb2
mov ebp, dword [esi + 0x30d840]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x70d004
sub esp, 0xffffff80
jmp 0x54830f
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4c0640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x5a1020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4c06d8
push closesocket
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x4c06b8
xor eax, eax
push ebp
push 0x4c06b1
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 0x4c06f4
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 0x4c06b8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x5a1020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x5a1020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4c1404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5b2044], 0
je 0x4c1465
cmp word [0x5b2218], 0xd7b2
jne 0x4c142d
cmp dword [0x5b2220], 0
jbe 0x4c142d
mov eax, 0x5b2214
call dword [fcn.005b2230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x5a1090
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 0x4c148c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x5a1030], 0
jne 0x4c1481
push 0
push 0x5a1088
push 0x5a1090
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x4c3304
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4c336a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004c17f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004c0234
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4c3354
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3371
lea eax, [ebp - 0x10]
call fcn.004c1588
ret

Function at 0x4c7790
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 0x100
lea ecx, reloc.MSVCRT.dll_strncpy
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x4c77c9
mov ecx, eax
dec ecx
lea edx, reloc.MSVCRT.dll_strncpy
mov eax, ebx
call fcn.004c1678
jmp 0x4c77d2
mov eax, ebx
mov edx, esi
call fcn.004c15dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c77dc
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
test eax, eax
jle 0x4c77fd
mov al, byte [esp]
jmp 0x4c77ff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c8c58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4c8cbc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004c17f8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetACP
mov edx, eax
pop eax
call fcn.004c4c20
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8cc3
lea eax, [ebp - 0xc]
call fcn.004c1588
ret
Function at 0x4c9d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x5a133c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4c9e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x4c9dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x4c9e5f
dec edx
je 0x4c9ea0
jmp 0x4c9efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x4c9efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c9f60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4c9f7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4ca08f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4c9fb0
je 0x4c9ffc
sub ecx, 0x2b
je 0x4c9ff2
sub ecx, 4
je 0x4c9ff7
dec ecx
sub ecx, 0xa
jb 0x4c9fe1
jmp 0x4c9fff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4c9fc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4c9fd0
jmp 0x4c9fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4c9fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4c9fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4c9fff
mov byte [eax], 0x3e
jmp 0x4c9fff
mov byte [eax], 0x3f
jmp 0x4c9fff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4c9f8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4ca04f
cmp byte [esp + 3], 0xff
jne 0x4ca04f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4ca087
cmp dl, 0xff
je 0x4ca087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4c9f88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4ca11c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x5b27a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x4ca138
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ca13a
shr eax, 1
dec edx
jne 0x4ca12b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x4ca124
pop ebx
ret
Function at 0x4ca150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4ca159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004c1a38
xor eax, eax
push ebp
push 0x4ca239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004ca11c
mov eax, dword [0x5b1e0c]
mov byte [eax], 0
mov dword [ebx], reloc.MSVCRT.dll_strncpy
mov edx, dword [ebp - 4]
lea eax, reloc.MSVCRT.dll_strncpy
call fcn.004bfe7c
mov edx, 1
lea eax, reloc.MSVCRT.dll_strncpy
call fcn.004c0218
call fcn.004bfba8
test eax, eax
jne 0x4ca216
lea eax, [ebp - 8]
push eax
lea edx, reloc.MSVCRT.dll_strncpy
mov ecx, 0xfff1
lea eax, reloc.MSVCRT.dll_strncpy
call fcn.004bffcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x4ca210
lea eax, reloc.MSVCRT.dll_strncpy
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4ca1ec
cmp dword [ebp - 8], 0
jne 0x4ca1c3
lea eax, reloc.MSVCRT.dll_strncpy
call fcn.004bffec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca240
lea eax, [ebp - 4]
call fcn.004c1588
ret

Function at 0x4d5718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4d5738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4d5726
pop edi
pop esi
pop ebx
ret