joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c2de
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10053dbc
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.10004533
add esp, 0xc
and dword [esp + 0x30], 0
push eax
push dword [ebp + 8]
call fcn.1001d438
pop ecx
pop ecx
lea ecx, [esp + 0xc]
call fcn.10005cb6
push dword [esp + 0xc]
call fcn.1003b0b3
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 0x1001c5c3
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.1003c230
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.10004b06
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b874
leave
ret

Function at 0x1001c640
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.1003c230
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.10004b06
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b874
leave
ret
Function at 0x1001c6ff
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, 0x10050fd9
call fcn.1003b883
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.1003c230
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1001c76b
push str.projonepodlp
jmp 0x1001c779
cmp dword [ebp + 0x234], 2
jne 0x1001c798
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp edi, ebx
je 0x1001c792
push edi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x1001c7eb
cmp dword [ebp + 0x234], ebx
jne 0x1001c7e6
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1001c6ff
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001c7be
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push edi
test eax, eax
je 0x1001c7e2
push 2
push esi
call fcn.1001c6ff
add esp, 0xc
push ebx
push 1
lea ecx, [ebp]
call fcn.10005a6e
jmp 0x1001c7f2
push 1
jmp 0x1001c7cc
push 0x1005d21c
mov ecx, esi
call fcn.10004b06
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.1003b874
add ebp, 0x228
leave
ret

Function at 0x1001e14a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x1001e15b
mov eax, dword [eax + 4]
jmp 0x1001e15e
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 0x1001e194
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
call fcn.10004317
leave
ret
xor eax, eax
leave
ret
Function at 0x1001ec6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005504e
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.1001e723
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.10024426
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x1001ecfe
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x1001ecd9
mov dword [ecx], edx
cmp dword [ebp + 0x14], 0
mov dword [esi], eax
jne 0x1001ecfe
test eax, eax
je 0x1001ecfe
cmp edx, 2
jne 0x1001ecfe
push str.CryptoMode
call fcn.1001e134
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [esi], eax
lea ecx, [esp + 0x14]
call fcn.1002090f
push dword [esp + 0x14]
call fcn.1003b0b3
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 0x1001ed27
Capabilities:
Move file

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 0x1001edde
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1001ed6f
push edi
call fcn.100022e2
push ebx
push edi
push dword [ebp - 0x24]
call esi
jmp 0x1001ede0
call fcn.10002743
push eax
push edi
lea eax, [ebp - 0x20]
push str._s._08x
push eax
call fcn.100041b8
mov eax, dword [ebp - 0x1c]
add esp, 0x10
cmp dword [ebp - 8], 8
jae 0x1001ed93
lea eax, [ebp - 0x1c]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x1001edda
push ebx
push edi
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x1001edc9
cmp dword [ebp - 8], 8
mov esi, dword [ebp - 0x1c]
jae 0x1001edb3
lea esi, [ebp - 0x1c]
call fcn.10002228
mov esi, ebx
push 0
push ebx
lea ecx, [ebp - 0x20]
call fcn.10005a6e
mov eax, esi
jmp 0x1001ede0
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x1001edd5
lea eax, [ebp - 0x1c]
push ebx
push edi
push eax
call esi
xor esi, esi
jmp 0x1001edba
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b874
leave
ret
Function at 0x1001ee1d
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 0x1001eed5
cmp dword [ebp + 0xc], esi
jne 0x1001ee53
push edi
call fcn.1001f5eb
pop ecx
test eax, eax
je 0x1001eed5
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.1003c230
add esp, 0xc
call fcn.10002743
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.1001edee
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1001eb7c
add esp, 0x20
test eax, eax
je 0x1001eec8
lea eax, [ebp - 0x20c]
push eax
call fcn.1001ed27
pop ecx
test eax, eax
jne 0x1001eee5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x1001eea9
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.1003b874
leave
ret
xor eax, eax
inc eax
jmp 0x1001eed7
Function at 0x1001effa
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x478
mov eax, 0x1005607e
call fcn.1003b8ec
mov esi, ecx
push esi
mov dword [ebp - 0x42c], esi
call fcn.1001eeea
pop ecx
test eax, eax
je 0x1001f275
push esi
call fcn.1001ef30
pop ecx
test eax, eax
je 0x1001f275
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.1003c230
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.10002743
push eax
lea eax, [ebp - 0x468]
push str.___08x
push eax
call fcn.100041b8
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x1001f08c
mov eax, dword [eax + 4]
jmp 0x1001f08f
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.10005a6e
lea esi, [ebp - 0x21c]
call fcn.10001bba
test eax, eax
je 0x1001f261
mov ecx, dword [ebp - 0x42c]
mov edx, esi
call fcn.1002778f
test eax, eax
jne 0x1001f261
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 0x1001f27d
push 1
mov eax, esi
push eax
call fcn.10001648
cmp dword [ebp - 0x428], edi
je 0x1001f261
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
call fcn.1003c230
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 0x1001f166
push str..rar
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1001f166
mov esi, str..zip
push esi
call fcn.10002743
push eax
lea eax, [ebp - 0x468]
push str..._08x._s
push eax
call fcn.100041b8
add esp, 0x10
cmp dword [eax + 0x18], 8
jb 0x1001f18c
mov eax, dword [eax + 4]
jmp 0x1001f18f
add eax, 4
push eax
lea eax, [ebp - 0x424]
push eax
call ebx
push edi
push 1
lea ecx, [ebp - 0x468]
call fcn.10005a6e
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.10021e75
add esp, 0xc
mov ecx, eax
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.1002734a
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x484]
inc bl
mov byte [ebp - 4], 0
call fcn.10005bbf
push dword [ebp - 0x484]
call fcn.1003b0b3
pop ecx
test bl, bl
je 0x1001f240
xor esi, esi
mov edi, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push eax
call fcn.1001ed27
pop ecx
test eax, eax
jne 0x1001f246
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x1001f20c
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1001f246
mov dword [ebp - 0x428], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.10005cb6
push dword [ebp - 0x44c]
call fcn.1003b0b3
pop ecx
lea eax, [ebp - 0x21c]
push eax
call fcn.10002256
mov eax, dword [ebp - 0x428]
jmp 0x1001f277
xor eax, eax
call fcn.1003b96f
ret
Function at 0x1001f29e
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 0x1001f3a5
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f3a5
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.1003c230
add esp, 0xc
call fcn.10002743
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.1001edee
pop ecx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.1001ec17
xor esi, esi
pop ecx
inc esi
pop ecx
test eax, eax
je 0x1001f378
and dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push eax
call fcn.1001ed27
pop ecx
test eax, eax
jne 0x1001f35a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 5
jl 0x1001f336
jmp 0x1001f378
cmp dword [ebp + 0xc], 2
mov dword [esp + 0x10], esi
jne 0x1001f378
push 2
mov ecx, edi
call fcn.1001effa
pop ecx
test eax, eax
je 0x1001f378
test ebx, ebx
je 0x1001f378
mov dword [ebx], esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], esi
jne 0x1001f39f
push esi
mov ecx, edi
call fcn.1001effa
pop ecx
test eax, eax
je 0x1001f39f
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x1001f39f
mov dword [ebx], esi
mov eax, dword [esp + 0x10]
jmp 0x1001f3a7
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b874
mov esp, ebp
pop ebp
ret
Function at 0x1001f3bc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10055c4f
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 0x1001f441
push str.exts:
lea ecx, [esp + 0x48]
call fcn.10004a83
mov dword [esp + 0xb8], edi
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
call fcn.10019d5f
pop ecx
mov byte [esp + 0x17], bl
test al, al
jne 0x1001f446
mov byte [esp + 0x17], 0
or dword [esp + 0xb8], 0xffffffff
test byte [esp + 0x18], bl
je 0x1001f45f
push edi
push ebx
lea ecx, [esp + 0x4c]
call fcn.1000585c
cmp byte [esp + 0x17], 0
je 0x1001f5c5
lea eax, [esp + 0x44]
push eax
push ecx
push esi
mov edx, str.exts
call fcn.100108aa
pop ecx
mov ecx, eax
call fcn.1000fa42
mov dword [esp + 0xb8], ebx
cmp dword [eax + 0x18], 0x10
jb 0x1001f495
mov eax, dword [eax + 4]
jmp 0x1001f498
add eax, 4
push 0x1005f49c
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10003fd4
add esp, 0xc
push edi
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 3
call fcn.1000585c
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x20]
call fcn.10005d1f
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x40]
lea ecx, [esp + 0x2c]
call fcn.10005d1f
jmp 0x1001f59c
lea ecx, [esp + 0x18]
call fcn.1001489b
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.10004b58
mov esi, eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x90]
call fcn.10004b78
mov edi, eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x90]
call fcn.10004b58
push fcn.1003c201
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.1000908c
mov ecx, dword [esp + 0x40]
add esp, 0x20
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1000505c
push 0
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 3
call fcn.10005a6e
lea ecx, [esp + 0x18]
call fcn.100148c7
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.10009cf5
test al, al
je 0x1001f4e7
lea ecx, [esp + 0x2c]
call fcn.10005b23
push dword [esp + 0x2c]
call fcn.1003b0b3
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.1003b874
mov esp, ebp
pop ebp
ret
Function at 0x1002233e
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x100523ae
call fcn.1003b8ec
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 0x100223a8
cmp esi, 0xffffffff
jne 0x100223ae
inc edi
cmp edi, 4
jb 0x10022377
cmp esi, ebx
je 0x100223b9
or eax, 0xffffffff
cmp esi, eax
jne 0x100223c9
lea ecx, [ebp - 0x20]
call fcn.10001336
xor eax, eax
call fcn.1003b96f
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 0x100223f6
cmp dword [ebp - 0x18], 0x706c646f
je 0x10022402
lea ecx, [ebp - 0x20]
call fcn.10001336
mov eax, ebx
jmp 0x100223c3
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x10022411
dec eax
jne 0x100223f6
push 3
pop ebx
jmp 0x100223f6
push 2
jmp 0x1002240e

Function at 0x1002245a
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 0x1002245f
ret
Function at 0x1002250b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
ja 0x10022548
jb 0x10022661
cmp eax, 0x1000
jb 0x10022661
push 1
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov dword [ebp - 0x20], edi
call esi
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10022595
cmp dword [ebp - 0x1c], eax
jne 0x10022661
push eax
jmp 0x1002264e
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100225aa
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x10022648
cmp dword [ebx + 4], 0x706c646f
jne 0x10022648
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x100225d0
cmp eax, 3
jne 0x10022648
push dword [ebx + 0x18c]
push ebx
call fcn.1002245a
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x10022629
cmp dword [ebx + 0x1a0], 0x40
ja 0x10022629
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x10022629
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x10022629
cmp ax, 0xc
ja 0x10022629
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x10022629
cmp ax, 0x1f
ja 0x10022629
xor ebx, ebx
inc ebx
jmp 0x1002262b
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jne 0x10022644
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, ebx
jmp 0x10022663
cmp dword [ebp - 0x1c], edi
jne 0x10022661
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100256bf
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x1006d144]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor eax, eax
push eax
push eax
push 3
push eax
push 3
mov ebx, 0xc0000000
push ebx
mov edi, str..gxdte_cd
push edi
call esi
cmp eax, 0xffffffff
jne 0x100257ab
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.1003c230
add esp, 0xc
call fcn.10025648
push 0x104
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
mov dword [esp + 0x1c], eax
call fcn.10002306
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002576e
cmp word [0x10072048], ax
je 0x1002576e
push 0x10072048
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.100024ef
mov dword [esp + 0xc], str.gxdte64.sys
test eax, eax
jne 0x10025787
mov dword [esp + 0xc], str.gxdte32.sys
call fcn.1000489f
push dword [esp + 0xc]
lea ecx, [esp + 0x14]
call fcn.100291ec
call fcn.1000483e
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push ebx
push edi
call esi
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b874
mov esp, ebp
pop ebp
ret

Function at 0x10025e67
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x10025ea2
push str.shlSelFiles
push str.softwareprojonepodlp_smpcache
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10025eee
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x1005ee5c
call fcn.10004b06
lea ecx, [ebp - 0x20]
call fcn.100012ce
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
cmp dword [ebp - 8], 8
jae 0x10025ecb
lea eax, [ebp - 0x1c]
push 0
push eax
push str.shlSelFiles
push str.softwareprojonepodlp_smpcache
push SysReAllocString
call fcn.10004329
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.10005a6e
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003b874
leave
ret

Function at 0x10025efb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10025f1f
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1006e750]
dec edx
inc ecx
test edx, edx
jne 0x10025f03
pop esi
not eax
ret
Function at 0x1002608d
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.1003c230
mov esi, str.podlp
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x100260dd
lea eax, [ebp - 0x5c]
call fcn.1002abe9
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.1002ac14
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.1002ac14
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.1002acac
lea eax, [ebp - 0xb8]
call fcn.1002abe9
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.1002ac14
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.1002ac14
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.1002acac
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.10004a5f
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b874
add ebp, 0x6c
leave
ret