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

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x101b25b
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x101b230
test eax, eax
jne 0x101b230
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x101b170
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x101b25b
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x101b230
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x101b4c0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 0x58]
mov eax, edx
and eax, 0x3f
mov ebx, 0x40
sub ebx, eax
cmp ebx, 8
push edi
ja 0x101b4e2
add ebx, 0x40
lea ecx, [ebx - 8]
mov ebp, ecx
shr ecx, 2
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x54]
mov eax, edx
shl ecx, 3
shr eax, 0x1d
or ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [edx*8]
push 2
lea edx, [esp + 0x14]
push edx
lea eax, [esp + ebx + 0x18]
push eax
mov byte [esp + 0x24], 0x80
mov dword [esp + 0x20], ecx
call fcn.0101c0e0
push ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0101b3a0
mov edx, dword [esp + 0x68]
push 5
lea edi, [esi + 0x40]
push edi
push edx
call fcn.0101c0e0
xor eax, eax
mov dword [edi], 0x67452301
pop edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x44], 0xefcdab89
mov dword [esi + 0x48], 0x98badcfe
mov dword [esi + 0x4c], 0x10325476
mov dword [esi + 0x50], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8
Function at 0x101c0e0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x101c123
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, edx
mov ecx, dword [esi + edx]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [edx], ecx
add edx, 4
dec edi
jne 0x101c0f5
pop esi
pop ebx
pop edi
ret 0xc

Function at 0x101c23a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
cmp dword [0x1027730], 0
mov eax, dword [0x1025ce0]
mov dword [ebp - 4], eax
jne 0x101c326
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x101c31b
xor eax, eax
cmp dword [ebp - 0x88], 2
push esi
sete al
test eax, eax
mov dword [0x1026854], eax
je 0x101c2e9
push 0x1002e8c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x101c31a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002e70
push edi
call esi
test eax, eax
mov dword [0x102771c], eax
je 0x101c2cd
mov dword [0x1026850], 0x4000
push 0x1002e64
push edi
call esi
push 0x1002e4c
push edi
mov dword [0x1027720], eax
call esi
mov dword [0x1027724], eax
jmp 0x101c31a
push 0x10025e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101c31a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002e3c
push edi
call esi
push 0x1002e2c
push edi
mov dword [0x1027714], eax
call esi
mov dword [0x1027718], eax
pop esi
mov dword [0x1027730], 1
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [0x1026854]
call fcn.0101339b
leave
ret
Function at 0x101cc81
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.0101cc0e
test eax, eax
je 0x101ccc0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push 0x1002ee4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8

Function at 0x101d3f8
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x101d4d0
mov ax, word [esi]
test ax, ax
je 0x101d4d0
cmp ax, 0x3b
je 0x101d4d0
cmp ax, 0x22
je 0x101d4d0
cmp ax, 0x3c
je 0x101d4d0
cmp ax, 0x3e
je 0x101d4d0
cmp ax, 0x2a
je 0x101d4d0
cmp ax, 0x2b
je 0x101d4d0
cmp ax, 0x3d
je 0x101d4d0
cmp ax, 0x7c
je 0x101d4d0
cmp ax, 0x3f
je 0x101d4d0
cmp ax, 0x2c
je 0x101d4d0
cmp ax, 0x20
je 0x101d4d0
cmp ax, 9
je 0x101d4d0
cmp ax, 0x3a
je 0x101d484
inc esi
inc esi
mov ax, word [esi]
test ax, ax
jne 0x101d412
jmp 0x101d4cb
cmp dword [esp + 0x10], 0
je 0x101d4d0
inc esi
inc esi
mov ax, word [esi]
test ax, ax
mov edi, esi
je 0x101d4d0
movzx eax, ax
push eax
call fcn.01013e8b
inc esi
inc esi
test eax, eax
pop ecx
je 0x101d4d0
mov ax, word [esi]
test ax, ax
jne 0x101d497
sub esi, edi
and esi, 0xfffffffe
cmp esi, 0xa
jg 0x101d4d0
push edi
call fcn.01013f69
test eax, eax
pop ecx
jl 0x101d4d0
cmp eax, 0xffff
jg 0x101d4d0
xor eax, eax
inc eax
jmp 0x101d4d2
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x101dc6d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x1027740], 0
je 0x101dc8d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x101dcbb
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x214]
call fcn.0101f901
push dword [ebp + 0xc]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0101f717
mov eax, esi
pop esi
leave
ret 8

Function at 0x101e0b9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x1027740], 0
je 0x101e0d9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x101e118
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x218]
push dword [ebp + 0xc]
call fcn.0101f93a
mov eax, dword [ebp - 4]
push dword [ebp - 0x214]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x218]
call fcn.0101f8ad
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.0101f957
mov eax, esi
pop esi
leave
ret 8

Function at 0x101e18b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x1027740], 0
je 0x101e1a8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x101e1d3
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x214]
call fcn.0101f901
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0101f717
mov eax, esi
pop esi
leave
ret 4
Function at 0x101e333
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x1027740], 0
push edi
je 0x101e356
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
jmp 0x101e396
push esi
mov esi, dword [ebp + 0xc]
push dword [esi]
lea ecx, [ebp - 0x218]
push dword [ebp + 8]
call fcn.0101f93a
push esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, eax
test edi, edi
je 0x101e38a
lea ecx, [ebp - 0x218]
call fcn.0101f87e
mov dword [esi], eax
lea ecx, [ebp - 0x218]
call fcn.0101f957
pop esi
mov eax, edi
pop edi
leave
ret 8

Function at 0x101e4e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x1027740], ebx
je 0x101e4f7
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_LoadStringW]
push esi
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jg 0x101e503
xor eax, eax
jmp 0x101e55e
mov eax, dword [ebp + 0xc]
shr eax, 4
push 6
inc eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x101e554
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x101e554
and dword [ebp + 0xc], 0xf
je 0x101e53b
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x101e531
movzx ebx, word [eax]
lea ecx, [esi - 1]
cmp ebx, ecx
jl 0x101e547
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov ecx, ebx
lea esi, [eax + 2]
rep movsw word es:[edi], word [esi]
pop edi
mov eax, dword [ebp + 0x10]
and word [eax + ebx*2], 0
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x101e675
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x1027740], 0
je 0x101e695
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x101e6c3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x214]
call fcn.0101f901
push dword [ebp - 0x210]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0101f717
mov eax, esi
pop esi
leave
ret 8
Function at 0x101e6c7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
cmp dword [0x1027740], 0
je 0x101e6fc
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x101e787
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
push edi
jne 0x101e70d
lea esi, [ebp - 4]
mov edi, dword [ebp + 0x14]
push dword [edi]
lea ecx, [ebp - 0x434]
push dword [ebp + 0x10]
call fcn.0101f93a
push dword [esi]
lea ecx, [ebp - 0x21c]
push dword [ebp + 0x1c]
call fcn.0101f93a
push dword [ebp + 0x24]
push esi
push dword [ebp - 0x218]
push dword [ebp + 0x18]
push edi
push dword [ebp - 0x430]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [ebp - 0x434]
mov ebx, eax
call fcn.0101f8ad
lea ecx, [ebp - 0x21c]
mov dword [edi], eax
call fcn.0101f8ad
lea ecx, [ebp - 0x21c]
mov dword [esi], eax
call fcn.0101f957
lea ecx, [ebp - 0x434]
call fcn.0101f957
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x20

Function at 0x101e78b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
xor esi, esi
cmp dword [0x1027740], esi
je 0x101e7c5
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
jmp 0x101e89b
push edi
mov edi, dword [ebp + 0x14]
push dword [edi]
lea ecx, [ebp - 0x430]
push dword [ebp + 0x10]
call fcn.0101f93a
cmp dword [ebp + 0x20], esi
je 0x101e852
mov esi, dword [ebp + 0x24]
mov eax, dword [esi]
shr eax, 1
push eax
push dword [ebp + 0x20]
lea ecx, [ebp - 0x218]
call fcn.0101f93a
push esi
push dword [ebp - 0x214]
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x18]
push edi
push dword [ebp - 0x42c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
test ebx, ebx
jne 0x101e845
cmp dword [ebp + 0x14], 1
jne 0x101e832
lea ecx, [ebp - 0x218]
call fcn.0101f87e
shl eax, 1
mov dword [esi], eax
jmp 0x101e845
cmp dword [ebp + 0x14], 3
jne 0x101e845
push dword [esi]
lea ecx, [ebp - 0x218]
call fcn.0101f8b8
lea ecx, [ebp - 0x218]
call fcn.0101f957
jmp 0x101e872
push dword [ebp + 0x24]
lea eax, [ebp + 0x14]
push esi
push eax
push dword [ebp + 0x18]
push edi
push dword [ebp - 0x42c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, eax
test ebx, ebx
jne 0x101e883
lea ecx, [ebp - 0x430]
call fcn.0101f8ad
mov dword [edi], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop edi
je 0x101e890
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
lea ecx, [ebp - 0x430]
call fcn.0101f957
pop esi
mov eax, ebx
pop ebx
leave
ret 0x20
Function at 0x101e907
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x1027740], 0
je 0x101e936
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x101ea24
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x430]
call fcn.0101f901
mov esi, dword [ebp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg esi
sbb esi, esi
lea eax, [ebp + 0xc]
and esi, eax
push esi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push dword [ebp + 8]
call edi
mov ebx, eax
test ebx, ebx
jne 0x101ea14
cmp dword [ebp - 4], eax
jbe 0x101e9fb
cmp dword [ebp - 4], 2
ja 0x101e9fb
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x101e990
mov eax, dword [eax]
shr eax, 1
jmp 0x101e992
xor eax, eax
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x21c]
call fcn.0101f93a
mov eax, dword [ebp - 8]
push esi
push dword [ebp - 0x218]
add eax, eax
push dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push dword [ebp + 8]
call edi
mov ebx, eax
test ebx, ebx
je 0x101e9d4
lea ecx, [ebp - 0x21c]
call fcn.0101f957
jmp 0x101ea14
cmp dword [ebp - 0x218], 0
je 0x101e9eb
lea ecx, [ebp - 0x21c]
call fcn.0101f87e
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x101e9c7
mov ecx, dword [ebp + 0xc]
add ecx, ecx
mov dword [eax], ecx
jmp 0x101e9c7
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push dword [ebp + 8]
call edi
mov ebx, eax
lea ecx, [ebp - 0x430]
call fcn.0101f717
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x18

Function at 0x101ea28
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
cmp dword [0x1027740], 0
je 0x101ea54
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x101eace
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x428]
call fcn.0101f901
cmp dword [ebp + 0x14], 1
mov esi, dword [ebp + 0x18]
je 0x101ea76
cmp dword [ebp + 0x14], 2
je 0x101ea76
xor eax, eax
jmp 0x101ea78
mov eax, esi
push eax
lea ecx, [ebp - 0x214]
call fcn.0101f901
cmp dword [ebp - 0x210], 0
je 0x101ea99
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x210]
inc eax
jmp 0x101ea9c
mov eax, dword [ebp + 0x1c]
push eax
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x424]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0101f717
lea ecx, [ebp - 0x428]
call fcn.0101f717
mov eax, esi
pop esi
leave
ret 0x18
Function at 0x101ef58
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
cmp dword [0x1027740], 0
je 0x101ef7b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x101efd9
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x42c]
call fcn.0101f901
push dword [ebp + 0x10]
lea ecx, [ebp - 0x218]
push dword [ebp + 0xc]
call fcn.0101f93a
mov eax, dword [ebp - 4]
add eax, eax
push eax
push dword [ebp - 0x214]
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.0101f87e
lea ecx, [ebp - 0x218]
call fcn.0101f957
lea ecx, [ebp - 0x42c]
call fcn.0101f717
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x101fd82
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1025ce0]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x98]
push eax
mov esi, ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x101fe65
cmp dword [ebp - 0x88], ecx
push edi
jne 0x101fdfc
cmp dword [esi + 0x4c], 0
mov dword [esi + 0x48], ecx
jne 0x101fdd7
push 0x101fcf0
call fcn.0101efdd
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x101fe64
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x29
push eax
call edi
push 0x39
push dword [esi + 0x4c]
mov dword [esi + 0x58], eax
call edi
mov dword [esi + 0x5c], eax
jmp 0x101fe64
cmp dword [ebp - 0x88], 2
jne 0x101fe64
cmp dword [esi + 0x4c], 0
jne 0x101fe18
push 0x101fd08
call fcn.0101efdd
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x101fe64
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101fd24
push eax
call edi
push 0x101fd34
push dword [esi + 0x4c]
mov dword [esi + 0x50], eax
call edi
push 0x101fd48
push dword [esi + 0x4c]
mov dword [esi + 0x54], eax
call edi
push 0x101fd58
push dword [esi + 0x4c]
mov dword [esi + 0x60], eax
call edi
push 0x101fd74
push dword [esi + 0x4c]
mov dword [esi + 0x68], eax
call edi
mov dword [esi + 0x64], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.0101339b
leave
ret
Function at 0x10215b4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
jne 0x10215e3
push 3
pop eax
jmp 0x10216da
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
mov edi, 0x10043b4
push edi
mov esi, 0x80000002
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x102162a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push 0x10043a8
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x1021638
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
cmp eax, ebx
je 0x1021644
push 0x13
pop eax
jmp 0x10216d9
cmp dword [ebp - 8], 2
jne 0x1021664
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x100439c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], 1
je 0x1021674
cmp eax, ebx
jne 0x1021674
cmp dword [ebp - 0x10], 0x14
je 0x10216c8
cmp dword [ebp - 0x14], ebx
je 0x1021698
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x102163c
push dword [ebp + 8]
call fcn.01021510
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x10216c8
push 0x14
push dword [ebp + 8]
push 3
push ebx
push 0x100439c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10216c8
mov dword [ebp - 0xc], 0x15
cmp dword [ebp - 4], ebx
je 0x10216d6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x10216e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x210caaf
Capabilities:
Hash data using murmur3

Disassembly:
bswap bp
rol esi, 0xd
pushal
movsx ebp, al
not esi
push dword [esp]
inc esi
pushfd
lea ebp, [esp + 0x28]
xor di, 0xcca2
rol edi, cl
mov edi, 0xfa48bb1f
bswap di
sub esp, 0x98
movzx di, dl
mov edi, esp
push 0x5afde4a8
lea esp, [esp + 4]
jmp 0x210afc9
push dword [esp]
pushfd
pushfd
pop dword [esp + 0x14]
cmc
cmc
cmc
mov dword [esp + 0x10], edi
cmc
xchg dword [esp + 0xc], ebp
rcl di, 3
rol bp, 1
cmc
pushfd
mov dword [esp + 0xc], esi
rcr di, cl
mov dword [esp + 8], eax
rol bp, 0xf
clc
mov dword [esp + 4], ecx
not bp
stc
bts esi, edi
push dword [0x210c077]
pop dword [esp]
stc
not si
push 0
bswap si
bt ecx, 0x11
mov esi, dword [esp + 0x30]
jmp 0x210adb5
Function at 0x410018
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4211f8]
je 0x410033
inc edi
cmp edi, 0x17
jb 0x410024
cmp edi, 0x17
jae 0x4101b3
push ebp
push 3
call fcn.00416eba
cmp eax, 1
pop ecx
je 0x41017f
push 3
call fcn.00416eba
test eax, eax
pop ecx
jne 0x410067
cmp dword [0x42062c], 1
je 0x41017f
cmp ebx, 0xfc
je 0x4101b2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x421d48
push ebp
call fcn.0040c06b
add esp, 0xc
test eax, eax
je 0x41009d
push esi
push esi
push esi
push esi
push esi
call fcn.00407516
add esp, 0x14
push 0x104
mov esi, 0x421d61
push esi
push 0
mov byte [0x421e65], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4100e1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c06b
add esp, 0xc
test eax, eax
je 0x4100e1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00407516
add esp, 0x14
push esi
call fcn.00409b50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x410126
push esi
call fcn.00409b50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42205c
push 0x41c604
sub ecx, eax
push ecx
push eax
call fcn.00412056
add esp, 0x14
test eax, eax
je 0x410126
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00407516
add esp, 0x14
jmp 0x410128
xor esi, esi
push 0x41c600
push ebx
push ebp
call fcn.00411f95
add esp, 0xc
test eax, eax
je 0x410148
push esi
push esi
push esi
push esi
push esi
call fcn.00407516
add esp, 0x14
push dword [edi*8 + 0x4211fc]
push ebx
push ebp
call fcn.00411f95
add esp, 0xc
test eax, eax
je 0x41016a
push esi
push esi
push esi
push esi
push esi
call fcn.00407516
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00416cfd
add esp, 0xc
jmp 0x4101b2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4101b2
cmp ebp, 0xffffffff
je 0x4101b2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4211fc]
push dword [esi]
call fcn.00409b50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret