joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005db00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, dword [esp + 0x80c]
push esi
lea eax, [esp + 0x814]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [0x1016bc7c]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100cf604
add esp, 0x808
ret

Function at 0x1005db70
Capabilities:
Create process on windows
Print debug messages

Disassembly:
sub esp, 0x474
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.100d6e40
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push 0x10143658
lea edx, [esp + 0x64]
push edx
call esi
push 0x1016c298
lea eax, [esp + 0x64]
push eax
call esi
push 0x1016c298
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jbe 0x1005dd4d
push 0x1016c298
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [edi*2 + 0x1016c296], 0x5c
je 0x1005dbf5
push 0x1013c82c
lea ecx, [esp + 0x64]
push ecx
call esi
push str.crashrpt.exe
lea edx, [esp + 0x64]
push edx
call esi
push 0x10144ff8
lea eax, [esp + 0x64]
push eax
call esi
push 0x1016c090
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x10144ff8
lea edx, [esp + 0x64]
push edx
call esi
push str.sogoupy
lea eax, [esp + 0x64]
push eax
call esi
push 0x10144ff8
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x10145000
lea edx, [esp + 0x64]
push edx
call esi
push 0x10143658
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x1016be88
call fcn.100d0727
mov edi, eax
add esp, 8
test edi, edi
je 0x1005dc8d
push 0x10145004
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x10143658
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x1016bc80
call fcn.100d0727
mov edi, eax
add esp, 8
test edi, edi
je 0x1005dcc5
push 0x10145004
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x10143658
lea eax, [esp + 0x64]
push eax
call esi
push 0x44
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.100d6e40
xor eax, eax
mov edx, 5
add esp, 0xc
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
mov word [esp + 0x48], dx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.100680e0
add eax, 0xc
cmp dword [eax + 4], 0
jne 0x1005dd14
xor eax, eax
jmp 0x1005dd28
cmp byte [eax + 0x11c], 0
je 0x1005dd22
add eax, 0xc
jmp 0x1005dd25
mov eax, dword [eax + 8]
add eax, 4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
xor ecx, esp
call fcn.100cf604
add esp, 0x474
ret
Function at 0x1005e020
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov ebx, eax
mov eax, dword [esp + 0x20]
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 4]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x20]
push ecx
push 0
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x1005e14b
test ebx, ebx
je 0x1005e0f7
cmp word [ebx], 0
je 0x1005e0f7
cmp byte [esi + 0x128], 0
je 0x1005e089
add esi, 0x18
mov dword [esp + 0x20], esi
jmp 0x1005e090
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.100619a0
mov esi, eax
call fcn.100621c0
mov ecx, ebp
call fcn.100619a0
mov esi, eax
push 0x1014510c
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
push 0x1013c82c
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
push ebx
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add esp, 0x20
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x1005e106
mov ebx, dword [esi + 0x14]
mov ecx, ebp
call fcn.100619a0
mov esi, eax
call fcn.100621c0
mov ecx, ebp
call fcn.100619a0
mov esi, eax
push 0x1014510c
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add ebx, 4
push ebx
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x24]
je 0x1005e22c
test ebx, ebx
je 0x1005e1e4
cmp word [ebx], 0
je 0x1005e1e4
cmp byte [esi + 0x128], 0
je 0x1005e179
add esi, 0x18
mov dword [esp + 0x20], esi
jmp 0x1005e180
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.100619a0
xor edi, edi
mov esi, eax
call fcn.100621c0
mov ecx, ebp
call fcn.100619a0
mov esi, eax
push 0x1014511c
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
mov ecx, dword [esp + 0x28]
add ecx, 4
add esp, 8
push ecx
mov ecx, esi
call fcn.100622f0
mov esi, eax
push 0x1013c82c
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add esp, 8
push ebx
mov ecx, esi
call fcn.100622f0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
cmp byte [esi + 0x128], 0
je 0x1005e1f2
add esi, 0x18
jmp 0x1005e1f5
mov esi, dword [esi + 0x14]
mov ecx, ebp
call fcn.100619a0
mov edi, eax
push 0x1014511c
push 0x1013c7e4
mov edx, edi
call fcn.10062cd0
add esi, 4
push esi
push 0x1013c7e4
mov edx, edi
call fcn.10062cd0
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov al, 1
pop ebx
pop ecx
ret 0x10

Function at 0x1005fc00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp byte [ecx + 0x11c], 0
lea eax, [ecx + 0xc]
jne 0x1005fc0f
mov eax, dword [ecx + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1005fc21
xor al, al
ret
shr eax, 4
not eax
and eax, 1
ret
Function at 0x10060110
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1012a046
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x148]
mov esi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x10060155
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x10060173
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1006021d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov ebx, eax
call fcn.1005fc00
test al, al
je 0x1006021d
cmp byte [esi + 0x11c], 0
je 0x100601aa
add esi, 0xc
jmp 0x100601ad
mov esi, dword [esi + 8]
lea edi, [esp + 0x14]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
mov ecx, ebp
mov dword [esp + 0x140], 1
call fcn.100619a0
mov edi, ebx
mov esi, eax
call fcn.100621c0
mov ecx, ebp
call fcn.100619a0
mov esi, eax
push 0x10145280
lea eax, [esp + 0x18]
call fcn.10062310
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x10060219
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x10060219
push eax
call fcn.100cf89b
add esp, 4
xor al, al
jmp 0x1006021f
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 4
Function at 0x100602f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10129fd7
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
mov esi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x10060343
mov eax, dword [esi + 8]
push 2
add eax, 4
push 0x10143644
push eax
call fcn.100d2c37
add esp, 0xc
test eax, eax
je 0x1006052d
mov ecx, esi
call fcn.1005fc30
test al, al
je 0x100603ed
cmp byte [esp + 0x274], 0
je 0x1006052d
cmp byte [esi + 0x11c], 0
je 0x10060389
add esi, 0xc
jmp 0x1006038c
mov esi, dword [esi + 8]
lea edi, [esp + 0x14]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
push 0x10145294
mov ecx, ebp
mov dword [esp + 0x26c], 1
call fcn.100619a0
mov esi, eax
mov eax, edi
call fcn.10062310
cmp byte [esp + 0x130], 0
mov dword [esp + 0x14], vtable.t_str.0
jne 0x100603e6
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x100603e6
push eax
call fcn.100cf89b
add esp, 4
xor al, al
jmp 0x1006052f
lea ecx, [esp + 0x138]
call fcn.1005f360
push esi
lea ebx, [esp + 0x13c]
mov dword [esp + 0x26c], 2
call fcn.10060ca0
test al, al
je 0x1006043c
mov eax, ebx
call fcn.1005f9d0
test al, al
jne 0x1006043c
push 0
push ebp
mov ecx, ebx
call fcn.100602f0
test al, al
jne 0x1006043c
mov ecx, ebx
call fcn.1005f910
xor al, al
jmp 0x1006052f
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x1006044b
mov eax, dword [esi + 8]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100604ef
cmp byte [esi + 0x11c], al
je 0x1006046c
add esi, 0xc
jmp 0x1006046f
mov esi, dword [esi + 8]
lea edi, [esp + 0x14]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
push 0x101452b0
mov ebx, ebp
mov byte [esp + 0x26c], 4
call fcn.10062190
mov esi, eax
mov eax, edi
call fcn.10062310
cmp byte [esp + 0x130], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x14], esi
jne 0x100604c7
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x100604c7
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x254], 0
mov dword [esp + 0x138], esi
jne 0x100603e6
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x144]
jmp 0x100603d9
mov eax, esi
call fcn.10061390
mov eax, esi
call fcn.10061230
cmp byte [esp + 0x254], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x1006052d
mov eax, dword [esp + 0x140]
lea edx, [esp + 0x144]
cmp eax, edx
je 0x1006052d
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.100cf604
add esp, 0x258
ret 8
Function at 0x10061790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1012f276
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x154]
mov edi, ecx
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x100617d5
mov eax, dword [edi + 8]
lea esi, [eax + 4]
call fcn.1005e540
mov ecx, edi
mov bl, al
call fcn.1005fc30
test al, al
jne 0x10061907
cmp byte [edi + 0x11c], al
lea eax, [edi + 0xc]
jne 0x100617fc
mov eax, dword [edi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10061814
shr eax, 4
not al
and al, 1
jne 0x10061891
test ebp, ebp
je 0x1006181f
mov dword [ebp], 1
cmp byte [edi + 0x11c], 0
lea esi, [edi + 0xc]
jne 0x1006182e
mov esi, dword [edi + 8]
lea edi, [esp + 0x1c]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
call fcn.10062710
mov ecx, dword [esp + 0x150]
push 0x101452e0
mov dword [esp + 0x14c], 1
call fcn.100619a0
mov esi, eax
mov eax, edi
call fcn.10062310
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], vtable.t_str.0
jne 0x1006188d
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x1006188d
push eax
call fcn.100cf89b
add esp, 4
xor al, al
jmp 0x10061909
test bl, bl
je 0x10061907
cmp byte [edi + 0x11c], 0
lea eax, [edi + 0xc]
jne 0x100618a4
mov eax, dword [edi + 8]
add eax, 4
push eax
call fcn.1006c6d0
test ebp, ebp
je 0x100618b4
mov dword [ebp], eax
test eax, eax
je 0x10061907
cmp byte [edi + 0x11c], 0
je 0x100618c6
add edi, 0xc
jmp 0x100618c9
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x150]
push eax
push 0x10145968
call fcn.10001360
mov ecx, eax
call fcn.100622d0
mov esi, eax
push 0x10143a74
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
add esp, 8
add edi, 4
push edi
mov ecx, esi
call fcn.100622f0
xor al, al
jmp 0x10061909
mov al, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret 8
Function at 0x100633e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10129f83
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fld dword [0x1014b72c]
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0x11
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
fstp dword [esi + 0xc]
fld dword [0x1014b730]
mov ecx, esi
fstp dword [esi + 0x10]
fld dword [0x1014b734]
fstp dword [esi + 0x14]
call fcn.10064c90
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x100661c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1012933b
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x32c], eax
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x33c]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x13a]
push ecx
mov word [esp + 0x13c], ax
call fcn.100d6e40
add esp, 0xc
lea edx, [esp + 0x130]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1006626b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.100619a0
mov esi, eax
push 0x10146960
push 0x1013c7e4
mov edx, esi
call fcn.10062cd0
push edi
push 0x10145b10
mov edx, esi
call fcn.10062cd0
add esp, 0x10
xor al, al
jmp 0x10066319
lea eax, [esp + 0x130]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10066275
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x12e], 0x5c
jne 0x100662b9
lea eax, [esp + 0x130]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100662a0
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x12e], cx
lea edi, [esp + 0xc]
call fcn.10062500
lea eax, [esp + 0x130]
mov edx, edi
call fcn.10062710
cmp byte [esp + 0x128], 0
lea eax, [esp + 0x18]
jne 0x100662e2
mov eax, dword [esp + 0x14]
add eax, 4
lea edx, [ebx + 0x130]
call fcn.10062710
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x10066317
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x10066317
push eax
call fcn.100cf89b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.100cf604
add esp, 0x33c
ret

Function at 0x10066340
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, eax
add esi, 0x4d4
cmp word [esi], 0
push edi
jne 0x10066379
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x10066379
push esi
push 1
push 0
push 0x23
push 0
call edi
test eax, eax
je 0x10066379
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, esi
pop esi
ret
Function at 0x10066b70
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call edi
call edi
lea edx, [esi + 0x6dc]
call fcn.10062710
cmp byte [esi + 0x7f8], 0
lea eax, [esi + 0x6e8]
jne 0x10066b9e
mov eax, dword [esi + 0x6e4]
add esi, 0x800
add eax, 4
mov edx, esi
call fcn.10062710
mov eax, esi
call fcn.10063210
pop edi
mov al, 1
pop esi
ret

Function at 0x10068230
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [ebx + 4], 0xffffffff
push ebp
mov ebp, dword [esp + 8]
je 0x1006825c
mov ecx, ebp
call fcn.100619a0
push 0x10146b94
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
jne 0x100682b4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebp
mov edi, eax
call fcn.100619a0
mov esi, eax
call fcn.100621c0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebp
call fcn.100619a0
push 0x10146bac
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
pop edi
pop esi
mov dword [ebx + 4], 0xffffffff
xor al, al
pop ebp
ret 4
mov al, 1
pop ebp
ret 4
Function at 0x10068750
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x804
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push 0x1016f890
push esi
call fcn.100d2590
add esp, 8
test eax, eax
je 0x10068796
xor eax, eax
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.100cf604
add esp, 0x804
ret
mov eax, 0x4000
test word [0x1016f896], ax
je 0x100688b6
push edi
push esi
push str._s.
lea edx, [esp + 0x10]
call fcn.1004b060
add esp, 8
push 0x1016f640
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100688b5
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ecx]
mov ecx, 0x1013fd6c
mov eax, 0x1016f66c
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10068816
test dx, dx
je 0x10068812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10068816
add eax, 4
add ecx, 4
test dx, dx
jne 0x100687f0
xor eax, eax
jmp 0x1006881b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1006889d
mov ecx, 0x10142b5c
mov eax, 0x1016f66c
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10068856
test dx, dx
je 0x10068852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10068856
add eax, 4
add ecx, 4
test dx, dx
jne 0x10068830
xor eax, eax
jmp 0x1006885b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1006889d
push 0x1016f66c
push esi
push 0x1013c7c8
lea edx, [esp + 0x18]
call fcn.1004b060
add esp, 0xc
test byte [0x1016f640], 0x10
je 0x1006888e
lea edx, [esp + 0xc]
push edx
call fcn.10068750
add esp, 4
jmp 0x1006889d
push 4
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x1016f640
push edi
call ebp
test eax, eax
jne 0x100687e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.100cf604
add esp, 0x804
ret
Function at 0x100688f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
push 0x1016f610
push esi
call fcn.100d2590
add esp, 8
test eax, eax
je 0x10068936
xor eax, eax
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.100cf604
add esp, 0x804
ret
mov eax, 0x4000
test word [0x1016f616], ax
je 0x10068a58
push edi
push esi
push str._s.
lea edx, [esp + 0x10]
call fcn.1004b060
add esp, 8
push 0x1016f3c0
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10068a3a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ecx]
mov ecx, 0x1013fd6c
mov eax, 0x1016f3ec
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100689b6
test dx, dx
je 0x100689b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100689b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10068990
xor eax, eax
jmp 0x100689bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10068a22
mov ecx, 0x10142b5c
mov eax, 0x1016f3ec
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100689f6
test dx, dx
je 0x100689f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100689f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100689d0
xor eax, eax
jmp 0x100689fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10068a22
push 0x1016f3ec
push esi
push 0x1013c7c8
lea edx, [esp + 0x18]
call fcn.1004b060
lea edx, [esp + 0x18]
push 1
push edx
call fcn.100688f0
add esp, 0x14
push 0x1016f3c0
push edi
call ebx
test eax, eax
jne 0x10068980
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.100cf604
add esp, 0x804
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.100cf604
add esp, 0x804
ret

Function at 0x10068b50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.100d6e40
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10068ba9
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.100cf604
add esp, 0x214
ret
push edi
push 0x1014369c
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.100d1048
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x14]
call fcn.10068aa0
add esp, 0x10
pop edi
test al, al
je 0x10068b92
movzx ecx, word [esp + 4]
movzx edx, word [esp]
movzx eax, word [esp + 2]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 4], edx
xor edx, edx
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], dx
mov al, 1
call fcn.100cf604
add esp, 0x214
ret
Function at 0x10069a00
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebx, eax
push edi
push ebx
call ebp
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call ebp
push esi
call dword [sym.imp.USER32.dll_IsIconic]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x10069a7d
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x1006a050
Capabilities:
Encrypt data using aes

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
jmp fcn.10070140

Function at 0x1006a150
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 4]
push ebx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.1006a1b0
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x70]
add esp, 4
lea ebx, [esp + 8]
call fcn.1006f990
mov al, byte [esp + 7]
pop ebx
add esp, 0x64
ret