joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004791
Capabilities:
Check if file exists
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 0xc], 3
jbe 0x100047a5
cmp dword [ebp + 0xc], esi
ja 0x10004813
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004813
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x1000480b
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov eax, str.gxdte
push 1
push dword [ebp + 0xc]
push 2
push 0xf01ff
push eax
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.10004771
xor eax, eax
cmp dword [ebp - 4], esi
setne al
jmp 0x10004815
lea eax, [ebp - 8]
call fcn.10004771
xor eax, eax
pop esi
leave
ret 8

Function at 0x10004929
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push 4
push edi
push edi
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10004983
push 4
push str.gxdte
lea esi, [ebp - 8]
call fcn.10004743
cmp dword [ebp - 8], edi
je 0x10004983
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10004983
cmp dword [ebp - 0x20], 4
jne 0x10004983
inc ebx
lea eax, [ebp - 8]
call fcn.10004771
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x10004992
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x100049ff
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1003c1e0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100049ff
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x10004a0e
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1003b824
add ebp, 0x190
leave
ret
Function at 0x1000a925
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0x3a
mov byte [ebp - 0x12], 0x5c
lea edi, [ebp - 0x11]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x1000a96a
cmp eax, 3
jne 0x1000a982
push ebx
call fcn.1000283c
pop ecx
cmp eax, 0xffffffff
je 0x1000a98f
cmp eax, 7
jne 0x1000a982
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x1000a991
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b824
leave
ret
Function at 0x1001a6cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x1001a704
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1001a2ab
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc
Function at 0x1001a70b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100559b8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1006d144]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x1006d144]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esp + 0x14], eax
cmp esi, edi
jne 0x1001a761
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1001a8e4
cmp dword [ebp + 8], 1
push 2
pop ebx
je 0x1001a76f
cmp dword [ebp + 8], ebx
jne 0x1001a752
cmp dword [0x1006f9c4], 0xffffffff
jne 0x1001a7e3
push edi
push ebx
push ebx
call sub.WS2_32.dll_socket
mov dword [0x1006f9c4], eax
cmp eax, 0xffffffff
je 0x1001a7cb
cmp dword [ebp + 8], 1
mov dword [esp + 0x18], edi
mov eax, str.127.0.0.2
je 0x1001a79e
mov eax, str.127.0.0.3
lea ecx, [esp + 0x18]
push ecx
call fcn.10002a6f
mov eax, dword [esp + 0x18]
mov dword [0x10072c24], eax
mov eax, ebx
push 0x32e9
mov word [0x10072c20], ax
call sub.WS2_32.dll_htons
mov word [0x10072c22], ax
jmp 0x1001a7d6
push str.PpSendExternalMessage:_create_socket_failed
call fcn.100222a8
pop ecx
cmp dword [0x1006f9c4], 0xffffffff
je 0x1001a75a
push edi
push edi
lea eax, [esp + 0x24]
call fcn.10010679
sub esp, 0x18
mov dword [esp + 0x78], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.1000f65d
push str.message
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 3
call fcn.100109ab
mov ecx, eax
mov byte [esp + 0x78], bl
call fcn.1000f977
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x1001a82c
mov eax, 0x1005d1eb
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.1000f65d
push str.content
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 4
call fcn.100109ab
mov ecx, eax
mov byte [esp + 0x78], bl
call fcn.1000f977
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push dword [ebp + 0x14]
call fcn.1000f5fb
push str.broadcast
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 5
call fcn.100109ab
mov ecx, eax
mov byte [esp + 0x78], bl
call fcn.1000f977
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
call fcn.10010e1a
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x1001a8a5
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x48]
push 0x10
push 0x10072c20
push edi
inc ecx
push ecx
push eax
push dword [0x1006f9c4]
call sub.WS2_32.dll_sendto
xor ecx, ecx
test eax, eax
setg cl
push edi
push 1
mov esi, ecx
lea ecx, [esp + 0x3c]
call fcn.10005814
or dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1000f8f2
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1003b824
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001c3a9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10053d90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1006d144]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push dword [ebp + 0x10]
and dword [esp + 0xc], 0
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.1000450f
add esp, 0xc
and dword [esp + 0x30], 0
push eax
push dword [ebp + 8]
call fcn.1001d4e7
pop ecx
pop ecx
lea ecx, [esp + 0xc]
call fcn.10005c95
push dword [esp + 0xc]
call fcn.1003b063
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1001c68e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.10004aec
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b824
leave
ret

Function at 0x1001c70b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.10004aec
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b824
leave
ret
Function at 0x1001c794
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x10053753
call fcn.1003b833
mov esi, dword [ebp + 0x230]
mov edi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1001c800
push str.projonepodlp
jmp 0x1001c80e
cmp dword [ebp + 0x234], 2
jne 0x1001c82d
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp edi, ebx
je 0x1001c827
push edi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x1001c880
cmp dword [ebp + 0x234], ebx
jne 0x1001c87b
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1001c794
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001c853
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push edi
test eax, eax
je 0x1001c877
push 2
push esi
call fcn.1001c794
add esp, 0xc
push ebx
push 1
lea ecx, [ebp]
call fcn.10005a26
jmp 0x1001c887
push 1
jmp 0x1001c861
push 0x1005d1ec
mov ecx, esi
call fcn.10004aec
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 + 0x224]
xor ecx, ebp
call fcn.1003b824
add ebp, 0x228
leave
ret

Function at 0x1001e18c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x1001e19d
mov eax, dword [eax + 4]
jmp 0x1001e1a0
add eax, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push str.Softwareprojonepodlpkeyrule_secClass_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001e1d6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
call fcn.100042f3
leave
ret
xor eax, eax
leave
ret
Function at 0x1001eca4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10055031
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x1006d144]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.1001e75b
pop ecx
and dword [esp + 0x38], 0
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push dword [ebp + 8]
lea ebx, [esp + 0x20]
call fcn.1002447e
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x1001ed36
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x1001ed11
mov dword [ecx], edx
cmp dword [ebp + 0x14], 0
mov dword [esi], eax
jne 0x1001ed36
test eax, eax
je 0x1001ed36
cmp edx, 2
jne 0x1001ed36
push str.CryptoMode
call fcn.1001e176
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [esi], eax
lea ecx, [esp + 0x14]
call fcn.1002093c
push dword [esp + 0x14]
call fcn.1003b063
mov eax, dword [esp + 0x14]
pop ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001ed5f
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
inc ebx
push ebx
push edi
push eax
mov dword [ebp - 0x24], eax
call esi
test eax, eax
jne 0x1001ee27
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1001edb8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001edaf
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push edi
push dword [ebp - 0x24]
call esi
jmp 0x1001ee29
call fcn.1000271f
push eax
push edi
lea eax, [ebp - 0x20]
push str._s._08x
push eax
call fcn.10004194
mov eax, dword [ebp - 0x1c]
add esp, 0x10
cmp dword [ebp - 8], 8
jae 0x1001eddc
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x1001ee23
push ebx
push edi
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x1001ee12
cmp dword [ebp - 8], 8
mov esi, dword [ebp - 0x1c]
jae 0x1001edfc
lea esi, [ebp - 0x1c]
call fcn.10002228
mov esi, ebx
push 0
push ebx
lea ecx, [ebp - 0x20]
call fcn.10005a26
mov eax, esi
jmp 0x1001ee29
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x1001ee1e
lea eax, [ebp - 0x1c]
push ebx
push edi
push eax
call esi
xor esi, esi
jmp 0x1001ee03
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b824
leave
ret
Function at 0x1001ee66
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x1001ef1e
cmp dword [ebp + 0xc], esi
jne 0x1001ee9c
push edi
call fcn.1001f632
pop ecx
test eax, eax
je 0x1001ef1e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.1003c1e0
add esp, 0xc
call fcn.1000271f
push eax
push edi
push str._s._08x
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push edi
call fcn.1001ee37
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1001ebb4
add esp, 0x20
test eax, eax
je 0x1001ef11
lea eax, [ebp - 0x20c]
push eax
call fcn.1001ed5f
pop ecx
test eax, eax
jne 0x1001ef2e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x1001eef2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003b824
leave
ret
xor eax, eax
inc eax
jmp 0x1001ef20
Function at 0x1001f041
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x478
mov eax, 0x1005603e
call fcn.1003b89c
mov esi, ecx
push esi
mov dword [ebp - 0x42c], esi
call fcn.1001ef33
pop ecx
test eax, eax
je 0x1001f2bc
push esi
call fcn.1001ef79
pop ecx
test eax, eax
je 0x1001f2bc
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
mov dword [ebp - 0x428], edi
call fcn.1003c1e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.1000271f
push eax
lea eax, [ebp - 0x468]
push str.___08x
push eax
call fcn.10004194
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x1001f0d3
mov eax, dword [eax + 4]
jmp 0x1001f0d6
add eax, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x21c]
push eax
call ebx
push edi
push 1
lea ecx, [ebp - 0x468]
call fcn.10005a26
lea esi, [ebp - 0x21c]
call fcn.10001bba
test eax, eax
je 0x1001f2a8
mov ecx, dword [ebp - 0x42c]
mov edx, esi
call fcn.1002777a
test eax, eax
jne 0x1001f2a8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
push edi
lea eax, [ebp - 0x428]
push edi
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
push eax
push 0x1001f2c4
push 1
mov eax, esi
push eax
call fcn.10001648
cmp dword [ebp - 0x428], edi
je 0x1001f2a8
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
call fcn.1003c1e0
add esp, 0xc
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x42c]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
cmp esi, edi
je 0x1001f1ad
push str..rar
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001f1ad
mov esi, str..zip
push esi
call fcn.1000271f
push eax
lea eax, [ebp - 0x468]
push str..._08x._s
push eax
call fcn.10004194
add esp, 0x10
cmp dword [eax + 0x18], 8
jb 0x1001f1d3
mov eax, dword [eax + 4]
jmp 0x1001f1d6
add eax, 4
push eax
lea eax, [ebp - 0x424]
push eax
call ebx
push edi
push 1
lea ecx, [ebp - 0x468]
call fcn.10005a26
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.100019fc
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x44c]
mov dword [ebp - 4], edi
call fcn.10021e9f
add esp, 0xc
mov ecx, eax
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.10027335
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x484]
inc bl
mov byte [ebp - 4], 0
call fcn.10005bbd
push dword [ebp - 0x484]
call fcn.1003b063
pop ecx
test bl, bl
je 0x1001f287
xor esi, esi
mov edi, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call fcn.1001ed5f
pop ecx
test eax, eax
jne 0x1001f28d
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x1001f253
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1001f28d
mov dword [ebp - 0x428], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.10005c95
push dword [ebp - 0x44c]
call fcn.1003b063
pop ecx
lea eax, [ebp - 0x21c]
push eax
call fcn.10002256
mov eax, dword [ebp - 0x428]
jmp 0x1001f2be
xor eax, eax
call fcn.1003b91f
ret
Function at 0x1001f2e5
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x1006d144]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1001f3ec
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f3ec
and dword [esp + 0x10], 0
xor eax, eax
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
call fcn.1003c1e0
add esp, 0xc
call fcn.1000271f
push eax
push edi
push str._s._08x
lea eax, [esp + 0x24]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push edi
call fcn.1001ee37
pop ecx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.1001ec4f
xor esi, esi
pop ecx
inc esi
pop ecx
test eax, eax
je 0x1001f3bf
and dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push eax
call fcn.1001ed5f
pop ecx
test eax, eax
jne 0x1001f3a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 5
jl 0x1001f37d
jmp 0x1001f3bf
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x10], esi
jne 0x1001f3bf
push 2
mov ecx, edi
call fcn.1001f041
pop ecx
test eax, eax
je 0x1001f3bf
test ebx, ebx
je 0x1001f3bf
mov dword [ebx], esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], esi
jne 0x1001f3e6
push esi
mov ecx, edi
call fcn.1001f041
pop ecx
test eax, eax
je 0x1001f3e6
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x1001f3e6
mov dword [ebx], esi
mov eax, dword [esp + 0x10]
jmp 0x1001f3ee
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b824
mov esp, ebp
pop ebp
ret
Function at 0x1001f403
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10055c32
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1006d144]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x1006d144]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
inc ebx
cmp byte [esi + 8], 7
mov dword [esp + 0x20], eax
jne 0x1001f488
push str.exts:
lea ecx, [esp + 0x48]
call fcn.10004a5f
mov dword [esp + 0xb8], edi
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
call fcn.10019dc2
pop ecx
mov byte [esp + 0x17], bl
test al, al
jne 0x1001f48d
mov byte [esp + 0x17], 0
or dword [esp + 0xb8], 0xffffffff
test byte [esp + 0x18], bl
je 0x1001f4a6
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.10005814
cmp byte [esp + 0x17], 0
je 0x1001f60c
lea eax, [esp + 0x44]
push eax
push ecx
push esi
mov edx, str.exts
call fcn.1001094c
pop ecx
mov ecx, eax
call fcn.1000fae4
mov dword [esp + 0xb8], ebx
cmp dword [eax + 0x18], 0x10
jb 0x1001f4dc
mov eax, dword [eax + 4]
jmp 0x1001f4df
add eax, 4
push 0x1005f474
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10003fb0
add esp, 0xc
push edi
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 3
call fcn.10005814
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x20]
call fcn.10005cfe
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x2c]
call fcn.10005cfe
jmp 0x1001f5e3
lea ecx, [esp + 0x18]
call fcn.10009d37
push eax
lea eax, [esp + 0x90]
push eax
call fcn.100013e5
pop ecx
pop ecx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xbc], 4
call fcn.10004b34
mov esi, eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x90]
call fcn.10004b54
mov edi, eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x90]
call fcn.10004b34
push fcn.1003c1b1
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x8c]
push eax
call fcn.100090aa
mov ecx, dword [esp + 0x40]
add esp, 0x20
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1000500b
push 0
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 3
call fcn.10005a26
lea ecx, [esp + 0x18]
call fcn.10005d30
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.10005bee
test al, al
je 0x1001f52e
lea ecx, [esp + 0x2c]
call fcn.10005b21
push dword [esp + 0x2c]
call fcn.1003b063
pop ecx
mov al, bl
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1003b824
mov esp, ebp
pop ebp
ret
Function at 0x10022396
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x1005234b
call fcn.1003b89c
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push SysReAllocString
push dword [ebp - 0x28]
call dword [0x100722f0]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.10001336
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x10022400
cmp esi, 0xffffffff
jne 0x10022406
inc edi
cmp edi, 4
jb 0x100223cf
cmp esi, ebx
je 0x10022411
or eax, 0xffffffff
cmp esi, eax
jne 0x10022421
lea ecx, [ebp - 0x20]
call fcn.10001336
xor eax, eax
call fcn.1003b91f
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x1002244e
cmp dword [ebp - 0x18], 0x706c646f
je 0x1002245a
lea ecx, [ebp - 0x20]
call fcn.10001336
mov eax, ebx
jmp 0x1002241b
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x10022469
dec eax
jne 0x1002244e
push 3
pop ebx
jmp 0x1002244e
push 2
jmp 0x10022466

Function at 0x100224b2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x100224b7
ret