joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x65186374
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x624f7c23
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x883180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b7000]
push edi
jmp 0x88319a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8831a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x883190
mov eax, 1
add ebx, ebx
jne 0x8831b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8831c4
jne 0x8831e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8831e3
dec eax
add ebx, ebx
jne 0x8831d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8831a8
add ebx, ebx
jne 0x8831df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x883235
xor ecx, ecx
sub eax, 3
jb 0x8831fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88326a
sar eax, 1
mov ebp, eax
jmp 0x883206
add ebx, ebx
jne 0x883206
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8831d4
inc ecx
add ebx, ebx
jne 0x883214
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8831d4
add ebx, ebx
jne 0x883221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x883216
jne 0x883232
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x883216
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x883254
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x883246
jmp 0x883196
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x883254
add edi, ecx
jmp 0x883196
pop esi
mov edi, esi
mov ecx, 0xb158
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x883272
cmp byte [edi], 0x22
jne 0x883272
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x883277
lea edi, [esi + 0x475000]
mov eax, dword [edi]
or eax, eax
je 0x8832ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48b630]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48b75c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8832a4
mov ecx, edi
jns 0x8832d3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x48b760]
or eax, eax
je 0x8832e9
mov dword [ebx], eax
add ebx, 4
jmp 0x8832c1
call dword [esi + 0x48b770]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x883320
cmp al, 0xef
ja 0x883313
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8832f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x883302
mov ebp, dword [esi + 0x48b764]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x267]
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 0x883354
sub esp, 0xffffff80
jmp 0x568571
Function at 0x100019c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f3bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa68
mov eax, dword [0x100582a0]
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, dword [ebp + 8]
xor edi, edi
push edi
xor eax, eax
mov ebx, 7
push 0x10043394
lea ecx, [ebp - 0xa70]
mov dword [ebp - 0xa74], edi
mov dword [ebp - 0xa5c], ebx
mov dword [ebp - 0xa60], edi
mov word [ebp - 0xa70], ax
call fcn.10001820
xor ecx, ecx
push edi
mov word [ebp - 0xa54], cx
push 0x10043394
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], edi
mov dword [ebp - 0xa40], ebx
mov dword [ebp - 0xa44], edi
call fcn.10001820
cmp esi, edi
je 0x10001b59
push 0x410
lea edx, [ebp - 0x628]
push edi
push edx
call fcn.1002b6b0
push esi
lea eax, [ebp - 0x628]
push 0x208
push eax
call fcn.1002b64d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x18
lea ecx, [ebp - 0x628]
push ecx
xor esi, esi
call ebx
test eax, eax
je 0x10001b50
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x10001aa0
cmp word [ebp + esi*2 - 0x628], 0x5c
jne 0x10001b35
push 0x410
lea edx, [ebp - 0xa38]
push 0
push edx
call fcn.1002b6b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002b6b0
lea ecx, [esi + 1]
push ecx
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0xa38]
push 0x208
push eax
call fcn.1002b580
lea ecx, [ebp - 0xa38]
push ecx
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.1002b64d
add esp, 0x34
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10001b35
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10001b35
mov dword [ebp - 0xa74], 0x52
lea edx, [ebp - 0x628]
push edx
inc esi
call ebx
cmp esi, eax
jne 0x10001aa0
cmp dword [ebp - 0xa74], 0
jne 0x10001b57
mov esi, 1
jmp 0x10001b5b
xor edi, edi
xor esi, esi
mov edi, 8
cmp dword [ebp - 0xa40], edi
jb 0x10001b77
mov eax, dword [ebp - 0xa54]
push eax
call fcn.1002a9de
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa40], 7
mov dword [ebp - 0xa44], 0
mov word [ebp - 0xa54], cx
cmp dword [ebp - 0xa5c], edi
jb 0x10001bab
mov edx, dword [ebp - 0xa70]
push edx
call fcn.1002a9de
add esp, 4
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.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x10002770
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.DeleteRegICMProfile_____Start
call fcn.10027780
add esp, 4
test esi, esi
jne 0x100027b7
push esi
push str.DeleteRegICMProfile_____End__d_
call fcn.10027780
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002b571
mov esp, ebp
pop ebp
ret
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x628], str.SOFTWAREMicrosoftWindows_NTCurrentVersionICMmntr
mov dword [ebp - 0x624], str.SOFTWAREMicrosoftWindows_NTCurrentVersionICMprtr
mov word [ebp - 0x20c], ax
call fcn.1002b6b0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.1002b6b0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x61a]
push edx
mov word [ebp - 0x61c], cx
call fcn.1002b6b0
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
push 0
push 0
push 0
push esi
call fcn.1002b72a
add esp, 0x48
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push 0
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.1002b9aa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
xor esi, esi
mov edi, edi
mov eax, dword [ebp + esi*4 - 0x628]
lea edx, [ebp - 0x620]
push edx
push 0xf003f
push 0
push eax
push SysStringLen
call ebx
test eax, eax
jne 0x100028e2
mov edx, dword [ebp - 0x620]
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100028d1
mov ecx, dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x620]
test eax, eax
je 0x100028e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
mov dword [ebp - 0x620], 0
cmp esi, 2
jb 0x10002880
push 1
push str.DeleteRegICMProfile_____End__d_
call fcn.10027780
mov ecx, dword [ebp - 4]
add esp, 8
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x10003830
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f570
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], eax
cmp esi, ebx
jne 0x1000387a
lea eax, [ebx + 0x57]
jmp 0x10003a21
push str.GetFileVersionHelper_____Start
call fcn.10027780
add esp, 4
push ebx
push esi
mov dword [ebp - 0x118], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x100039ff
push edi
mov dword [ebp - 4], ebx
call fcn.10029cc5
mov ebx, eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100039f3
push ebx
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100039dc
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
push str.VarFileInfoTranslation
xor edi, edi
push ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100039c7
mov eax, dword [ebp - 0x11c]
and eax, 0xfffffffc
cmp eax, 4
jb 0x100039e8
mov eax, dword [ebp - 0x120]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x114]
push str.StringFileInfo_04x_04xFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
push ebx
mov dword [ebp - 0x128], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [ebp - 0x128]
cmp esi, edi
je 0x100039c7
cmp dword [ebp - 0x124], edi
je 0x100039b2
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003970
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jb 0x100039b2
mov edx, dword [ebp - 0x124]
push esi
push eax
push edx
call fcn.1002b64d
add esp, 0xc
push ebx
call fcn.1002bac3
add esp, 4
jmp 0x10003a0b
push ebx
mov dword [ebp - 0x118], 0x7a
call fcn.1002bac3
add esp, 4
jmp 0x10003a0b
push ebx
mov dword [ebp - 0x118], 0x54f
call fcn.1002bac3
add esp, 4
jmp 0x10003a0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
push ebx
call fcn.1002bac3
add esp, 4
jmp 0x10003a0b
mov dword [ebp - 0x118], 8
jmp 0x10003a0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov esi, dword [ebp - 0x118]
push esi
push str.GetFileVersionHelper_____End:_d
call fcn.10027780
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x10003a40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], eax
cmp esi, ebx
jne 0x10003a8a
lea eax, [ebx + 0x57]
jmp 0x10003c31
push str.GetFileVersionHelper_____Start
call fcn.10027780
add esp, 4
push ebx
push esi
mov dword [ebp - 0x118], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x10003c0f
push edi
mov dword [ebp - 4], ebx
call fcn.10029cc5
mov ebx, eax
add esp, 4
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10003c03
push ebx
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10003bec
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
push str.VarFileInfoTranslation
xor edi, edi
push ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10003bd7
mov eax, dword [ebp - 0x11c]
and eax, 0xfffffffc
cmp eax, 4
jb 0x10003bf8
mov eax, dword [ebp - 0x120]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x114]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
push ebx
mov dword [ebp - 0x128], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [ebp - 0x128]
cmp esi, edi
je 0x10003bd7
cmp dword [ebp - 0x124], edi
je 0x10003bc2
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003b80
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jb 0x10003bc2
mov edx, dword [ebp - 0x124]
push esi
push eax
push edx
call fcn.1002b64d
add esp, 0xc
push ebx
call fcn.1002bac3
add esp, 4
jmp 0x10003c1b
push ebx
mov dword [ebp - 0x118], 0x7a
call fcn.1002bac3
add esp, 4
jmp 0x10003c1b
push ebx
mov dword [ebp - 0x118], 0x54f
call fcn.1002bac3
add esp, 4
jmp 0x10003c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
push ebx
call fcn.1002bac3
add esp, 4
jmp 0x10003c1b
mov dword [ebp - 0x118], 8
jmp 0x10003c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov esi, dword [ebp - 0x118]
push esi
push str.GetFileVersionHelper_____End:_d
call fcn.10027780
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x10004650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f636
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x1000468a
lea eax, [ecx + 0x57]
jmp 0x10004848
push str.GetMonitorFile___Start
call fcn.10027780
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.10001130
push 0x2f
xor eax, eax
push str.SystemCurrentControlSetControlPrintMonitors
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.10001820
push 0x5c
push 1
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.10001540
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100046f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.10001700
xor esi, esi
mov dword [ebp - 0x240], esi
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 1
jae 0x1000472d
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x238]
push ecx
push 0x20019
push 0
push eax
push SysStringLen
mov dword [ebp - 0x238], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004761
mov esi, dword [ebp - 0x238]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x1000480b
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
push ecx
push 0
push str.Driver
push esi
mov dword [ebp - 0x238], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100047ae
mov eax, dword [ebp - 0x23c]
dec eax
neg eax
sbb eax, eax
and eax, 0xd
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x1000480b
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100047c1
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, edi
call fcn.10001820
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x23c]
push eax
mov ecx, edi
mov dword [ebp - 0x23c], 0x5c
call fcn.10004080
cmp eax, 0xffffffff
je 0x1000480b
inc eax
push eax
push 0
mov ecx, edi
call fcn.10001130
mov ecx, dword [ebp - 0x238]
push ecx
push str.GetMonitorFile___End__d_
call fcn.10027780
add esp, 8
test esi, esi
je 0x1000482a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 8
jb 0x10004842
mov edx, dword [ebp - 0x234]
push edx
call fcn.1002a9de
add esp, 4
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x1000e07a
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000e0b5
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000e09c
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1000e0ad
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000e0b7
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000e092
xor eax, eax
pop edi
pop esi
ret

Function at 0x1000f4d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ecx
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.1000e03a
push ebp
adc eax, 0x858dd3d3
aam 0xf8
invalid
Function at 0x10011840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040638
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100582a0]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10011961
cmp byte [edi + 0x49], bl
je 0x10011961
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10011955
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x100118b5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x100118cd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x100118f6
dec eax
je 0x100118fa
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10011950
jmp 0x1001195c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1001190a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10011933
cmp ebx, 0x10
jae 0x10011919
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.1002ccab
add esp, 0x10
cmp esi, eax
jne 0x1001194d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10011959
test esi, esi
jne 0x100118c1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10011260
jmp 0x100118bb
lea ecx, [ebp - 0x2c]
call fcn.100105f0
xor al, al
jmp 0x10011963
lea ecx, [ebp - 0x2c]
call fcn.100105f0
mov al, 1
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.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x100141d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x210], eax
test esi, esi
je 0x100142d3
cmp dword [ebp + 0x24], 0
je 0x10014216
test edi, edi
je 0x100142d3
test ebx, ebx
je 0x100142d3
push str.PI_InfFileCopy_Start
call fcn.10027780
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.1002b6b0
mov eax, dword [ebp - 0x210]
add esp, 0x10
test eax, eax
jne 0x10014275
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x10014264
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x20c]
push ecx
push str._sinf_
mov edx, ecx
push edx
jmp 0x10014282
push eax
push 0x100471a0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push ecx
mov ecx, dword [ebp + 0x10]
push ebx
push edi
lea edx, [ebp - 0x20c]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push esi
call fcn.1001f580
mov ecx, eax
call fcn.1001f450
push str.PI_InfFileCopy_End
mov esi, eax
call fcn.10027780
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002b571
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x57
pop ebx
call fcn.1002b571
mov esp, ebp
pop ebp
ret
Function at 0x10014600
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x100582a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1002b6b0
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.1002b6b0
add esp, 0x18
push esi
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
lea ecx, [ebp - 0x414]
push ecx
push str._s_s
push 0x104
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.1002b989
add esp, 0x18
lea eax, [ebp - 0x664]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10014753
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [ebp - 0x664], 0x10
jne 0x10014735
push 0x10045c54
lea edx, [ebp - 0x638]
push edx
call ebx
test eax, eax
je 0x10014735
push 0x100466c0
lea eax, [ebp - 0x638]
push eax
call ebx
test eax, eax
je 0x10014735
lea ecx, [ebp - 0x638]
push ecx
lea edx, [ebp - 0x414]
push edx
push str._s_s
push 0x104
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1002b989
add esp, 0x18
lea ecx, [ebp - 0x20c]
push ecx
call edi
test al, 1
je 0x10014728
and eax, 0xfffffffe
push eax
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x664]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100146b1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1002b571
mov esp, ebp
pop ebp
ret