joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x403203
pop dword [ebp - 0x50]
mov eax, 0x403203
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xfb0001c0
sub dword [ebp - 0x60], 0xacadbc75
mov dword [ebp - 0x5c], 0x9b737314
sub dword [ebp - 0x5c], 0x694026cf
mov dword [ebp - 0x58], 0xfb77f5d0
sub dword [ebp - 0x58], 0xaf2bb1a2
mov dword [ebp - 0x54], 0xfd44a563
sub dword [ebp - 0x54], 0xfd44a563
lea eax, [ebp - 0x60]
push eax
mov eax, 0xd04cf4fb
add eax, 0x2ff38b91
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x210faac8
sub dword [ebp - 0x60], 0xac9d4172
mov dword [ebp - 0x5c], 0x3f29c2ce
add dword [ebp - 0x5c], 0x2429ea7
mov dword [ebp - 0x58], 0x28bbebc5
add dword [ebp - 0x58], 0x3ab380a7
mov dword [ebp - 0x54], 0xf9263400
add dword [ebp - 0x54], 0x6d9cc00
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x391cd
push 0
call eax
mov ecx, 0xf1dfc71e
sub ecx, 0xf1df750b
mov ebx, eax
mov edi, 0x9e2f2780
sub edi, 0x9dee1780
add edi, dword [ebp - 0x50]
mov edx, 0xd3489048
sub edx, 0x51bee758
mov esi, dword [edi]
sub dword [ebp - 0x40], esi
add esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x40], 0x47db2811
add ebx, 0xc8d9c0ef
add ebx, 0x37263f15
add edi, 0xfe99af2b
add edi, 0x16650d9
loop 0x40331b
add eax, 0x544fd477
sub eax, 0x544e9958
xor ebx, ebx
add ebx, eax
add eax, 0xd81b316e
add eax, 0x27e4ce97
mov ecx, 0xa00c8cdc
add ecx, 0x60337324
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4086b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x4086ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4086d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4086c0
mov eax, 1
add ebx, ebx
jne 0x4086e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4086d8
jne 0x4086f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4086d8
xor ecx, ecx
sub eax, 3
jb 0x408708
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40877a
mov ebp, eax
add ebx, ebx
jne 0x408713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408744
inc ecx
add ebx, ebx
jne 0x408730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408725
jne 0x408741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408725
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408755
jmp 0x4086c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408764
add edi, ecx
jmp 0x4086c6
pop esi
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4087c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8228]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408781
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8230]
or eax, eax
je 0x4087bd
mov dword [ebx], eax
add ebx, 4
jmp 0x40879e
call dword [esi + 0x822c]
mov ebp, dword [esi + 0x8234]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x4087f7
sub esp, 0xffffff80
jmp 0x401020
Function at 0x404b4a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00403fa6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403f5b
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00403f96
mov byte [ebx - 0x43], dh
dec esp
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00403fa6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403f5b
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00403f96
jno 0x404cc3
insd dword es:[edi], dx
jg 0x404cb1
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x404c8a
cmp dword [ebp - 0x398], 0
je 0x404e54
cmp dword [ebp + 0xc], 1
je 0x404e54
cmp dword [ebp + 0xc], 8
jne 0x404e1c
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
test dword [ecx + edi*8 - 1], ecx
push dword [ebx]
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00403fa6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403f5b
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
invalid
test dword [ecx + edi*8 - 1], esp
dec dword [0xf94f85c6]
invalid
Function at 0x404f04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte es:[ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00403fa6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403f5b
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00403f96
sub al, 0xc8
pop ebx
imul byte [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x10001000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10001330
mov ecx, dword [ebp + 0x10]
mov dword [ecx], fcn.10001370
mov dword [ebp - 4], 1
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x100012a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1001b348], eax
mov esp, ebp
pop ebp
ret

Function at 0x10006758
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10006797
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10006797
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10006797
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10006797
cmp dword [ecx + 0x74], 0xe
jbe 0x10006797
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10007848
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100145e0
push 0x100145d8
push str.FlsAlloc
push 0x1f
call fcn.10007764
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000787c
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013130]
call esi
jmp 0x10007882
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100078c6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100145f0
push 0x100145e8
push str.FlsGetValue
push 0x21
call fcn.10007764
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100078fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007905
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100145f8
push 0x100145f0
push str.FlsSetValue
push 0x22
call fcn.10007764
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000793f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000aeb9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000af56
push ebx
push esi
call fcn.1000ae82
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000ae16
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000af03
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000af55
push edi
push eax
call fcn.1000724d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000af23
call fcn.10007611
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000af54
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000ae16
add esp, 0x20
test eax, eax
jne 0x1000af42
push edi
call fcn.10007611
jmp 0x1000af4a
push ebx
call fcn.10007611
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100122a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100122cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100122cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001fba2
Capabilities:
Encode data using xor
Get disk size

Disassembly:
mov eax, 0x1006a4c5
call fcn.1006960c
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x18], 0x3e89
xor esi, esi
cmp dword [ebp - 0x18], 0x3ee7
push edi
mov dword [ebp - 0x10], esp
jle 0x1001fc1f
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov edi, esi
mov dword [ebp - 0x14], esi
mov ebx, esi
mov eax, edi
mov dword [ebp - 0x1c], esi
cdq
idiv ebx
mov edi, edx
mov eax, edi
mov ecx, 0x1065c8d8
xor eax, esi
cdq
push edx
push eax
call fcn.1001747a
inc esi
cmp esi, 0x647a
jl 0x1001fbe3
mov edi, dword [ebp - 0x14]
inc ebx
push 0
pop esi
cmp ebx, 0x6b5d
jl 0x1001fbd9
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x57a5
jl 0x1001fbd7
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x3df2
jge 0x1001fc3a
mov edx, 0x10007e18
mov ecx, 0x1065c8d8
call fcn.1001be67
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a535
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002a5b8
lea eax, [ebp + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002a5ac
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002a58d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002a5aa
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10017939
mov dword [eax], 1
jmp 0x1002a582
jmp 0x1002a5b6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1002a602
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push dword [ebp - 0x2c]
push 0x4da5
push dword [ebp - 0x30]
push 0x1c68
push dword [ebp - 0x34]
call fcn.10034096
add esp, 0x24
mov esp, ebp
pop ebp
ret

Function at 0x1002ad9e
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002add4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x2bd6
push 0x6637
push 1
push dword [ebp - 8]
call fcn.1002ae48
add esp, 0x14
jmp 0x1002ae44
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae26
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae24
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x1002ae44
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae44
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esp, ebp
pop ebp
ret
Function at 0x1002b4cf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002b555
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002b546
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002b527
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002b544
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10017939
mov dword [eax], 0x304b25b3
jmp 0x1002b51c
jmp 0x1002b553
push 0xe26
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1002b57b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
push 0x3553
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x26dc
push 0
call fcn.1002fd2a
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1002fd5e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002fd9d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x2da2
push 1
call fcn.1002fe3e
add esp, 0x14
jmp 0x1002fe3a
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002fdea
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002fde8
push 0x11f0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1002fe3a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.10017939
cmp dword [eax], 0
jne 0x1002fe2b
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x1002fe2b
and dword [ebp - 4], 0
jmp 0x1002fe32
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10032b49
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10032b76
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0x1ef4
push 1
push dword [ebp - 8]
push 0x584b
call fcn.10032bc1
add esp, 0x10
jmp 0x10032bbd
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10032ba1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10032b9f
push 0xe26
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x10032bbd
push 0x1731
push 0
push 0x4dd
push 0x219e
push 0x229f
call dword [sym.imp.GDI32.dll_ExtFloodFill]
mov esp, ebp
pop ebp
ret
Function at 0x10033d45
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10033dc6
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10033dbc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10033d9d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x10033dba
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10017939
mov dword [eax], 0xab60e704
jmp 0x10033d92
jmp 0x10033dc4
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x10033e12
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x24]
push 0x3c1d
push 0x3c5
push dword [ebp - 0x28]
push 0x6755
push 0x3c94
push 0x6994
push 0x3c84
push dword [ebp - 0x2c]
call fcn.1003a8ed
add esp, 0x2c
mov esp, ebp
pop ebp
ret

Function at 0x10037b40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10037bbf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10037bb7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10037b98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x10037bb5
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10017939
mov dword [eax], 3
jmp 0x10037b8d
jmp 0x10037bbd
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10037be5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push 0x881
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x24]
push 0x1994
call fcn.10045b6c
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10037df9
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10037f0c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10037e33
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10037f0a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10037e51
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x14], 0x1730
cmp dword [ebp - 0x14], 0xdd4
jge 0x10037f0a
mov dword [ebp - 0x2c], 0xa1
mov byte [ebp - 0xd0], 0
push 0xa0
push 0
lea eax, [ebp - 0xcf]
push eax
call fcn.10050e70
add esp, 0xc
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x10007b80
call fcn.1005076b
pop ecx
pop ecx
and dword [ebp - 8], 0
jmp 0x10037eaa
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x10037ecf
lea eax, [ebp - 0x18]
push eax
push 0x10007b80
call fcn.1005076b
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0xd0], 1
jmp 0x10037ea3
mov dword [ebp - 4], 1
jmp 0x10037edf
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa1
jge 0x10037f0a
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0xd0]
test eax, eax
jne 0x10037f08
push dword [ebp - 4]
push 0x10007b8c
call fcn.10050db3
pop ecx
pop ecx
jmp 0x10037f0a
jmp 0x10037ed8
jmp 0x10037f29
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 1
push 0x1f85
push 0x9fb
call fcn.1002a4e2
add esp, 0x10
mov esp, ebp
pop ebp
ret