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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2c], 0
call fcn.00404812
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x405f51
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1c], 0x77
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x1c], 0x69
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x1c], 0x6e
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x1c], 0x69
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x1c], 0x74
xor eax, eax
inc eax
shl eax, 4
mov byte [ebp + eax - 0x1c], 0x73
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x1c], 0x6f
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x1c], 0x52
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x1c], 0x67
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x1c], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xf
mov byte [ebp + eax - 0x1c], 0x65
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x1c], 0x73
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x1c], 0x65
xor eax, eax
inc eax
imul eax, eax, 0x16
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x17
jae 0x405eb9
jmp 0x405ebe
call fcn.00549e66
mov eax, dword [ebp - 0x24]
mov byte [ebp + eax - 0x1c], 0
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x1c], 0x72
xor eax, eax
inc eax
imul eax, eax, 0x13
mov byte [ebp + eax - 0x1c], 0x67
xor eax, eax
inc eax
imul eax, eax, 0x14
mov byte [ebp + eax - 0x1c], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax - 0x1c], 0x64
xor eax, eax
inc eax
imul eax, eax, 0x15
mov byte [ebp + eax - 0x1c], 0x57
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x1c], 0x57
xor eax, eax
inc eax
imul eax, eax, 0x11
mov byte [ebp + eax - 0x1c], 0x73
xor eax, eax
inc eax
imul eax, eax, 0x12
mov byte [ebp + eax - 0x1c], 0x61
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1c], 0x4d
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x405f48
push dword [ebp + 8]
call dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x20]
call fcn.00406313
pop ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549a9a
leave
ret
Function at 0x406070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x24], 0
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x18], 0x47
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x18], 0x61
xor eax, eax
inc eax
imul eax, eax, 0x11
mov byte [ebp + eax - 0x18], 0x57
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x18], 0x64
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x18], 0x69
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x18], 0x4d
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x18], 0x4e
xor eax, eax
inc eax
imul eax, eax, 0xf
mov byte [ebp + eax - 0x18], 0x6d
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax - 0x18], 0x6c
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x18], 0x46
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x18], 0x6c
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x18], 0x75
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x18], 0x74
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x18], 0x6f
xor eax, eax
inc eax
imul eax, eax, 0x12
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x13
jae 0x40614f
jmp 0x406154
call fcn.00549e66
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x18], 0
xor eax, eax
inc eax
shl eax, 4
mov byte [ebp + eax - 0x18], 0x65
lea eax, [ebp - 0x18]
push eax
call fcn.004048e3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40618f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549a9a
leave
ret
Function at 0x406313
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax - 0x10], 0x69
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax - 0x10], 0x72
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x10], 0x65
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x10], 0x4c
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x10], 0x65
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax - 0x10], 0x62
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax - 0x10], 0x61
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x10], 0x79
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x10], 0x46
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x10], 0x72
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax - 0x10], 0x72
xor eax, eax
inc eax
imul eax, eax, 0xb
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xc
jae 0x4063b0
jmp 0x4063b5
call fcn.00549e66
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004048e3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4063df
push dword [ebp + 8]
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549a9a
leave
ret

Function at 0x414e51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x414e7c
cmp dword [ebx + 0x80], 0
jne 0x414e7c
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004205b5
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00415112
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x414eb6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004205b5
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x414eed
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00414f0c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x416cdd
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x416d30
push esi
push dword [ebp + 8]
call fcn.00416ec6
mov edi, eax
test edi, edi
je 0x416d2b
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x416d2b
mov eax, dword [ebp - 8]
jmp 0x416d42
mov eax, dword [ebp + 0x10]
jmp 0x416d42
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x419d93
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x419dd8
call fcn.004205b5
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x419dd8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x419df4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004959c0
mov ebx, eax
test edi, edi
je 0x419df2
test esi, esi
je 0x419df2
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41a825
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41a8e3
cmp dword [esi + 0x20], 0
je 0x41a8e3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a8e3
cmp dword [ebp + 8], 0
je 0x41a8e3
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004205b5
push 0x57e260
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41a8b4
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41a8e3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00498850
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x41a8d4
test edi, edi
je 0x41a8d4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41a8df
mov ecx, esi
call fcn.0041a5c0
mov eax, ebx
jmp 0x41a8e5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41edd5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x568f6a
call fcn.0054a256
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41edfb
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41ee5b
call fcn.00414a6d
push eax
lea ecx, [ebp - 0x10]
call fcn.004034a8
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x57ba28]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00552445
push eax
call fcn.004035fa
add esp, 0x14
test esi, esi
je 0x41ee4e
push esi
call fcn.0054ec9e
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004037dc
mov eax, ebx
call fcn.0054a21f
ret 8

Function at 0x42e8ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x42e8c7
call fcn.004205b5
mov esi, dword [eax + 0xc]
push 0x57ef58
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x42e91d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42e91d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42e8fc
xor esi, esi
jmp 0x42e912
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0042e926
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x42e91f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x49a486
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x49a4dc
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49a4b5
call fcn.004259c7
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x49a4ca
call fcn.004259c7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x49a4dc
call fcn.004259c7
call fcn.004205b5
cmp dword [eax + 0x3c], 0
je 0x49a4f1
push edi
mov ecx, ebx
call fcn.00499b00
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0049a6c3
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x49a51a
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x49a526
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x50bd42
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0041ed1b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.0050bf5b
cmp esi, 3
je 0x50bd80
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x50bdc9
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x50bda3
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041471a
jmp 0x50bdb4
push 0xff
mov ecx, esi
call fcn.004039cf
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041473d
jmp 0x50bded
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x50bded
push dword [esi]
push dword [ebp - 4]
call fcn.004219d1
pop edi
pop esi
leave
ret 0xc

Function at 0x50beb2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0050bf5b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x50befa
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041471a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041473d
jmp 0x50bf05
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004219d1
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x50dd74
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0054510d
call fcn.00420609
cmp dword [eax + 0x14], 0
jne 0x50dd8f
mov ecx, esi
pop esi
jmp fcn.0050d05b
pop esi
ret

Function at 0x510e52
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055ab3a
pop ecx
test eax, eax
jne 0x510e94
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0041725f
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x510e5a
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x5428b9
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0041c1df
call fcn.00420609
cmp dword [eax + 0x14], 0
jne 0x5428d4
mov ecx, esi
pop esi
jmp fcn.005420d6
pop esi
ret

Function at 0x5630a0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00562d60
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x41933d
Capabilities:
Encode data using xor

Disassembly:
mov word [ebp + 0x67], ss
sbb esp, esi
dec ebx
mov ah, 0x4a
call 0x112ee6b6
adc byte [ebx + 0x3a], 0x3f
dec esp
push ebx
in eax, dx
adc byte [edx + 0x4c3f3a53], al
push 0x3a435a36
or ebp, dword [ecx + 0x1b]
sbb edi, dword [eax]
or byte [ecx], 0xd3
invalid
invalid
cmp ah, ah
mov esp, 0x3cf6eeb4
cli
or dl, byte fs:[ecx + eax*2 + 0x3142edc2]
aaa
mov ecx, 0x5276b30d
mov ecx, 0x3c93899b
mov edi, 0xf3689b2d
invalid
loopne 0x419305
or eax, 0x6ce6c603
sub dword [ebx - 0x2f], ebx
pop edx
imul esp, dword [0x71d77a01], 0x7a
adc ch, byte [ebp + 0x651290b5]
popfd
push eax
and eax, 0xb1a8b54
jno 0x419336
salc
js 0x4192e5
leave
and dword [eax], ecx
lodsb al, byte [esi]
sub bl, bl
inc esi
or dword [ecx - 0x105310dc], ebx
jo 0x419398
sbb al, 1
jecxz 0x4192ef
lodsd eax, dword [esi]
hlt
mov cl, 0x6a
add al, 0x41
in al, 0xb0
add eax, dword [ebx]
xor dword [ecx + 0x68843524], edx
cmc
mov al, 3
add esi, dword [ecx]
xchg ecx, eax
and al, 0x35
test byte [eax + 0x66], ch
cmc
and dh, byte [edx - 0xf]
mov bl, 0x28
inc eax
add byte [edi], al
jg 0x419395
loop 0x419393
xchg ebp, eax
sub eax, 0x56414845
movsd dword es:[edi], dword [esi]
call esi
jne 0x419424
xor edi, dword [esi]
loop 0x41940f
push ds
ret
stosb byte es:[edi], al
cmp al, 0xce
and al, 0x5e
ror byte [edi - 0x26], cl
pushal
popfd
mov ebx, 0x57b0091
adc eax, 0x9d7494b5
mov al, 0x98
cwde
mov ebx, 0x7cd11e08
lahf
sub esp, dword [edi]
jmp 0x2565b0c
Function at 0x1001f66
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100208f
cmp byte [ebx], 0
je 0x100208f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push 0x1001320
push eax
call esi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x100208f
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
test byte [ebp - 0x244], 0x10
je 0x1002038
lea eax, [ebp - 0x218]
push 0x100131c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002067
lea eax, [ebp - 0x218]
push 0x1001318
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002067
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push 0x10012c4
push eax
call fcn.010059ea
lea eax, [ebp - 0x104]
push eax
call fcn.01001f66
jmp 0x1002067
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001fca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10020cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1002129
lea eax, [ebp - 0x104]
push 0x1001324
push eax
call fcn.010059ea
lea eax, [ebp - 0x104]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002129
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x100212f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002178
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100216f
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x1002b22
Capabilities:
Delete file
Set current directory
Set file attributes

Disassembly:
jmp 0x100490c
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [0x100ae80]
xor ebp, ebp
push edi
cmp esi, ebp
mov edi, esi
je 0x100495f
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x100aaa4], ebp
jne 0x100494f
cmp dword [0x100b6d0], ebp
jne 0x100494f
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [edi]
mov esi, dword [esi + 4]
call ebx
push edi
call ebx
cmp esi, ebp
mov edi, esi
jne 0x100492a
cmp dword [0x100aaa0], ebp
je 0x10049af
cmp dword [0x100aaa4], ebp
jne 0x10049af
cmp dword [0x100b6d0], ebp
jne 0x10049af
lea eax, [esp + 0x10]
push 0x100ae84
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100b6d4], 0x20
je 0x100499a
lea eax, [esp + 0x10]
push eax
call fcn.01005a29
push 0x1001318
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0x10]
push eax
call fcn.01001f66
cmp word [0x100bc04], 1
je 0x10049c6
cmp dword [0x100aaa0], ebp
je 0x10049c6
call fcn.01001c31
pop edi
mov dword [0x100aaa0], ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret