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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push ebx
push edi
mov ebx, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
imul eax, dword [edx + 0x60]
mov edi, dword [edx + 0x20]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
add eax, edi
mov dword [ebp - 0x20], eax
cmp edi, eax
jae 0x100ff591
push esi
mov eax, dword [edx + 0x60]
mov esi, edi
add eax, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x68]
mov dword [ebp - 4], esi
lea eax, [edi + eax*2]
mov dword [ebp - 0x18], eax
cmp edi, eax
jae 0x100ff575
mov edi, dword [ebp - 0x14]
movzx eax, word [esi]
movzx ebx, word [edi]
movzx edx, word [edi + 2]
movzx ecx, al
movzx eax, bl
add ecx, eax
movzx ebx, dl
movzx eax, word [esi + 2]
movzx eax, al
add eax, 2
mov dword [ebp - 0x14], edx
movzx edx, word [esi]
add ecx, eax
movzx esi, word [edi + 2]
add ebx, ecx
movzx ecx, word [edi]
mov eax, 0xff00
and ecx, eax
shr ebx, 2
and edx, eax
add ecx, esi
mov esi, dword [ebp - 4]
add ecx, edx
mov edx, dword [ebp - 4]
movzx eax, word [esi + 2]
mov esi, 0xff00
and eax, esi
add eax, 0x200
add eax, ecx
shr eax, 2
xor ebx, eax
movzx eax, word [edx]
movzx edx, word [edi]
and eax, esi
and edx, esi
movzx ecx, bl
mov esi, dword [ebp - 4]
lea edi, [edi + 4]
add edx, dword [ebp - 0x14]
add eax, edx
movzx ebx, word [esi + 2]
add esi, 4
and ebx, 0xff00
mov dword [ebp - 4], esi
add ebx, 0x200
add eax, ebx
shr eax, 2
xor ecx, eax
mov eax, dword [ebp - 8]
mov word [eax], cx
add eax, 2
mov dword [ebp - 8], eax
cmp esi, dword [ebp - 0x18]
jb 0x100ff4c3
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
add ebx, dword [eax + 0x60]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0xc], ebx
lea edi, [edi + eax*2]
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x20]
jb 0x100ff49f
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x100ff597
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push ebx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax + 0x20]
mov eax, dword [edx + 0x6c]
imul eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
add eax, ecx
mov dword [ebp - 0x28], eax
cmp ecx, eax
jae 0x100ff6ac
push esi
push edi
mov eax, dword [edx + 0x68]
mov edi, dword [edx + 0x60]
add eax, ecx
add edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
cmp ecx, eax
jae 0x100ff68c
movzx edx, byte [ecx + 1]
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
movzx edi, byte [ecx]
mov dword [ebp - 8], eax
mov ecx, edi
mov dword [ebp - 0xc], edx
push 0xf
pop ebx
and eax, ebx
and ecx, ebx
add ecx, eax
and edx, ebx
add edx, 2
and ebx, esi
add ecx, edx
mov eax, 0xf0
add ebx, ecx
mov edx, edi
mov ecx, dword [ebp - 8]
and edx, eax
and ecx, eax
shr ebx, 2
mov eax, dword [ebp - 0xc]
add ecx, esi
and eax, 0xf0
add ecx, edx
add eax, 0x20
mov edx, 0xf0
add eax, ecx
and edi, edx
mov ecx, dword [ebp - 0xc]
shr eax, 2
and ecx, edx
xor bl, al
add ecx, 0x20
mov eax, dword [ebp - 8]
and bl, 0xf
and eax, edx
add eax, esi
add eax, edi
mov edi, dword [ebp - 0x14]
add eax, ecx
add edi, 2
mov ecx, dword [ebp - 4]
shr eax, 2
add ecx, 2
xor bl, al
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov byte [eax], bl
inc eax
mov dword [ebp - 0x10], eax
cmp ecx, dword [ebp - 0x24]
jb 0x100ff5e8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
jmp 0x100ff68f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
add ebx, dword [eax + 0x60]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x1c], ebx
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x28]
jb 0x100ff5ca
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10139078
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x2000000
xor edi, edi
mov esi, edx
push edi
push 0x10022ee4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101390de
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x101390da
cmp dword [ebp - 0xc], 4
jne 0x101390da
inc edi
mov eax, edi
jmp 0x101390e0
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x1013b4f2
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
lea eax, [ebp - 0x24]
push edi
xor edi, edi
push eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea edx, [eax + 0xffff]
neg eax
and edx, eax
mov dword [esi + 4], edx
pop edi
lea eax, [edx + 0xfffff]
neg edx
and eax, edx
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
leave
ret 8
Function at 0x1015b9f5
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [edi + 0x34]
push eax
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x101c43b0]
call esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xc]
add eax, dword [edx]
mov edx, dword [esi + 4]
mov dword [ebp - 0x20], eax
xor eax, eax
test byte [ebx + 0x134], 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], edx
jne 0x1015ba6f
cmp dword [ebp + 0x10], eax
je 0x1015ba6f
push eax
push eax
call dword [sym.imp.msvcrt.dll__controlfp]
push 0x30000
push 0
mov dword [ebx + 0x130], eax
call dword [sym.imp.msvcrt.dll__controlfp]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x2c]
add esp, 0x10
or dword [ebx + 0x134], 1
cmp dword [edi + 0x38], 0
je 0x1015bb52
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
and dword [ebp - 8], 0
mov eax, dword [eax]
lea edx, [eax + ecx]
mov dword [ebp - 0xc], edx
mov edx, dword [esi + 0x14]
add edx, eax
mov dword [ebp - 0x14], edx
mov edx, dword [esi + 0x18]
add edx, eax
mov dword [ebp - 0x10], edx
xor edx, edx
cmp dx, word [edi + 0x4a]
jae 0x1015bb4d
mov esi, dword [ebp - 8]
movzx eax, si
imul ecx, eax, 0x18
add ecx, dword [edi + 0x30]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x34]
jbe 0x1015bb37
mov ecx, dword [ecx + 8]
movzx eax, word [ecx + 4]
sub eax, 0
je 0x1015bb15
sub eax, 1
je 0x1015bafa
sub eax, 1
jne 0x1015bb37
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [edi + 0x38]
push eax
movzx eax, word [ecx + 6]
shl eax, 5
add eax, dword [ebp - 0xc]
push eax
push edx
mov ecx, ebx
call fcn.10162a0d
jmp 0x1015bb37
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [edi + 0x38]
push eax
movzx eax, word [ecx + 6]
shl eax, 5
add eax, dword [ebp - 0x10]
jmp 0x1015baef
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
movzx eax, word [ecx + 8]
push ecx
push dword [edi + 0x38]
push eax
movzx eax, word [ecx + 6]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*8]
mov ecx, ebx
push eax
push edx
call fcn.10162dd9
inc esi
cmp si, word [edi + 0x4a]
jb 0x1015baaa
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x1c]
push edx
push edx
push edx
mov edx, dword [edi + 0x40]
push ecx
push eax
mov eax, dword [ebp - 0x20]
push 0
push eax
push eax
push eax
push ecx
push ecx
mov ecx, dword [edi + 0x3c]
lea eax, [ebp - 0x2c]
push eax
call fcn.1010be76
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10165e21
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push edi
mov edi, edx
mov ebx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
cmp dword [ebx + 4], edi
je 0x10165e45
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add eax, dword [ebx + 4]
jmp 0x10165e47
mov eax, edi
mov dword [edx], eax
movzx eax, word [ebx + 8]
mov dword [edx + 4], eax
movzx eax, word [ebx + 0xa]
mov dword [edx + 8], eax
movzx eax, word [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x18]
push esi
mov edi, dword [ebp + 8]
push 0
movzx eax, word [eax]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x18]
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 0x18]
movzx esi, word [eax + 4]
mov dword [edx + 0x18], esi
mov eax, dword [ebx + 0x18]
movzx ecx, word [eax + 6]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebx + 0x18]
movzx edx, word [eax + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0x18]
imul edx, ecx
mov ecx, edi
movzx eax, word [eax + 0xa]
mov dword [edi + 0x24], eax
imul edx, esi
pop edi
pop esi
shl edx, 2
mov dword [ecx + 0x28], edx
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x10165ec0
mov eax, dword [ebx]
mov edi, dword [eax + 8]
add edi, edx
mov dword [ecx + 0x2c], edi
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4
Function at 0x101aa980
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x101aa9be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x101aa9b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x101aa9c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x101aa9a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x101aaa90
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x101aaac1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x101aaac1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x101aaac1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x402ecf
pop dword [ebp - 0x18]
mov eax, 0xfd1a0582
add eax, 0x326294d
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x31cde6f8
add dword [ebp - 0x28], 0x1c845e53
mov dword [ebp - 0x24], 0x822a0fa8
add dword [ebp - 0x24], 0xb0093c9d
mov dword [ebp - 0x20], 0x26de1235
add dword [ebp - 0x20], 0x256e31f9
mov dword [ebp - 0x1c], 0x69250987
sub dword [ebp - 0x1c], 0x69250987
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x9f013ef5
sub dword [ebp - 0x28], 0x2a8ed59f
mov dword [ebp - 0x24], 0xad301c72
sub dword [ebp - 0x24], 0x6bc3bafd
mov dword [ebp - 0x20], 0x942a1c05
sub dword [ebp - 0x20], 0x30baaf99
mov dword [ebp - 0x1c], 0x84dbd854
sub dword [ebp - 0x1c], 0x84dbd854
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x37857
push 0
call eax
mov ecx, 0x4a0b
xor edi, edi
add edi, eax
mov ebx, 0x40ea00
add ebx, dword [ebp - 0x18]
mov esi, 0x5e5ac11b
sub dword [ebp - 0x14], 0x18051112
mov edx, dword [ebx]
xor dword [ebp - 4], 0xd13fe0d6
xor edx, esi
sub dword [ebp - 0x10], 0x86c2a3a1
mov dword [edi], edx
add dword [ebp - 0xc], 0xe128b1fa
add edi, 0xc387aacf
sub edi, 0xc387aacb
add ebx, 0xbea250bb
sub ebx, 0xbea250b7
loop 0x402fd7
add eax, 0x5d147958
add eax, 0xa2eca1a7
mov ebx, eax
add eax, 5
mov ecx, 0xbd834808
add ecx, 0x42bcb7f8
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x405a2a
Capabilities:
Terminate process

Disassembly:
call main
jmp 0x405a34
push 0x14
push 0x40a748
call fcn.00405c00
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCR120.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x40ca80
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x405a7b
cmp eax, edx
jne 0x405a64
xor esi, esi
inc esi
mov edi, esi
jmp 0x405a7e
xor esi, esi
inc esi
cmp dword [0x40ca84], esi
jne 0x405a90
push 0x1f
call sub.MSVCR120.dll__amsg_exit
pop ecx
jmp 0x405acb
cmp dword [0x40ca84], 0
jne 0x405ac5
mov dword [0x40ca84], esi
push 0x40722c
push 0x40721c
call sub.MSVCR120.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x405acb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405be2
mov dword [0x40c72c], esi
cmp dword [0x40ca84], esi
jne 0x405aee
push 0x407218
push 0x407204
call sub.MSVCR120.dll__initterm
pop ecx
pop ecx
mov dword [0x40ca84], 2
test edi, edi
jne 0x405afb
xor eax, eax
mov ecx, 0x40ca80
xchg dword [ecx], eax
cmp dword [0x40ca88], 0
je 0x405b1f
push 0x40ca88
call main
pop ecx
test eax, eax
je 0x405b1f
push 0
push 2
push 0
call dword [0x40ca88]
mov eax, dword [sym.imp.MSVCR120.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x405b6e
test cl, cl
je 0x405b3b
test edi, edi
jne 0x405b6e
mov al, byte [esi]
test al, al
je 0x405b4b
cmp al, 0x20
ja 0x405b4b
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x405b3b
push ebx
push esi
push 0
push 0x400000
call main
mov dword [0x40c730], eax
cmp dword [0x40c734], 0
jne 0x405bc7
push eax
call dword [sym.imp.MSVCR120.dll_exit]
cmp cl, 0x22
jne 0x405b7f
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120.dll__ismbblead]
pop ecx
test eax, eax
je 0x405b92
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x405b2c
cmp dword [0x40c72c], 0
jne 0x405bdb
call dword [sym.imp.MSVCR120.dll__cexit]
mov eax, dword [0x40c730]
mov dword [ebp - 4], 0xfffffffe
call fcn.00405c45
ret
Function at 0x1001712
Capabilities:
Delete file

Disassembly:
push 0x10
push 0x1001500
call fcn.01002714
mov edi, dword [ebp + 8]
test edi, edi
je 0x10017ca
push edi
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
call esi
pop ecx
cmp eax, 6
jb 0x10017ca
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
pop ecx
mov esi, eax
add esi, 6
mov dword [ebp - 0x1c], esi
and dword [ebp - 4], 0
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.01002780
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
jmp 0x1001781
test edi, edi
je 0x10017ca
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.msvcrt.dll_wcsncpy]
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
lea ebx, [edi + eax*2 - 0xa]
push 0x100146c
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 0x18
test eax, eax
jne 0x10017b1
and word [ebx], ax
push 0x1001478
push esi
push edi
call fcn.010016f0
test eax, eax
jl 0x10017ca
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10017cc
xor eax, eax
lea esp, [ebp - 0x2c]
call fcn.0100274f
ret 4

Function at 0x10017dc
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
je 0x10017f3
cmp dword [ebp + 0xc], esi
jne 0x1001800
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1001887
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, 0x103
mov eax, dword [ebp + 0x10]
push esi
push esi
push esi
push esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
je 0x1001830
cmp eax, ebx
jne 0x100184c
cmp eax, ebx
je 0x1001855
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp dword [ebp + 0x14], 1
jne 0x100180d
push dword [ebp + 0xc]
jmp section..htext
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1001885
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push 0x1001410
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001885
mov eax, dword [ebp + 0x14]
lea eax, [eax + eax*2]
push dword [eax*8 + 0x1003024]
push dword [ebp - 4]
call edi
pop edi
pop ebx
cmp dword [ebp - 4], esi
pop esi
je 0x1001896
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 0x10
Function at 0x100010c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.10011eb0
test al, al
je 0x100010e1
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.100115f0
test al, al
je 0x10001106
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.10011660
test al, al
je 0x1000112b
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.10011900
test al, al
je 0x1000114e
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.100116d0
test al, al
je 0x1000116d
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
xor ecx, ecx
xor esi, esi
test ebx, ebx
jle 0x10001276
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x1000118e
inc ecx
cmp ecx, 2
jg 0x100011d5
cmp al, 0x7f
ja 0x100011d5
movzx eax, al
mov al, byte [eax + 0x1002b2b0]
cmp al, 0x7f
je 0x100011d5
cmp al, 0x40
jae 0x100011a7
test ecx, ecx
jne 0x100011d5
inc esi
inc edx
cmp esi, ebx
jl 0x10001181
test edx, edx
je 0x10001276
mov ecx, dword [ebp + 0x14]
lea eax, [edx + edx*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x100011df
mov dword [ecx], eax
mov eax, 0xfffffff0
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10011cf0
test al, al
je 0x100011f8
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
mov edi, 3
mov eax, dword [ebp + 0x10]
mov edx, eax
test esi, esi
jle 0x1000126f
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov cl, byte [eax + 0x1002b2b0]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x10001260
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x1000124b
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x10001258
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x10001260
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x10001210
mov eax, dword [ebp + 0x10]
sub edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10001280
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100012c1
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.100024e0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10003590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100299c7
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x1003b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xa0], 8
lea eax, [esi + 0x8c]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x100035dd
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
push eax
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x10003726
xor eax, eax
mov dword [ebp - 0x814], 7
push eax
push 0x1002b40c
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.10002ba0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10015870
push edi
lea eax, [ebp - 0x810]
push 0x1002b410
push eax
call fcn.10002dc0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [esi + 5], 0
mov ecx, esi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x10003675
call fcn.10003400
mov esi, eax
jmp 0x1000367c
call fcn.10003560
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x100036c9
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x100036a4
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.10002ca0
xor eax, eax
mov dword [ebp - 0x814], 7
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], eax
mov word [ebp - 0x828], ax
call fcn.100026c0
mov eax, dword [ebp - 0x82c]
cmp eax, 8
jb 0x100036e7
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.10002ca0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.10019e6c
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x10003724
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.10002ca0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012ad9
mov esp, ebp
pop ebp
ret 0xc