joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f5f6c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5f60b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5f60cc
push 0x5f60f4
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040f500
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.005f217c
test al, al
jne 0x5f5fcb
mov byte [ebp - 2], 0
jmp 0x5f609a
xor eax, eax
push ebp
push 0x5f6093
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5f600f
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.0059a144
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00599cf0
mov eax, dword [ebp - 0x20]
call fcn.00408d1c
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x5f607d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.0059a144
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0059a230
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00599cf0
mov eax, dword [ebp - 0x28]
call fcn.00408d1c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x5f607d
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.0059d670
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0059d670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f609a
lea eax, [ebp - 0xc]
call fcn.005f21bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f60bc
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00407cb8
ret

Function at 0x5f62a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x5f62cc
mov eax, dword [ebp - 4]
jmp 0x5f62cf
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x5f62d4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x5f6321
xor ebx, ebx
jmp 0x5f6316
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00421500
test eax, eax
jne 0x5f6315
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x5f63cc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x5f62f7
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x5f632d
je 0x5f6336
jmp 0x5f633f
call fcn.0059be70
mov esi, eax
jmp 0x5f6341
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x5f6341
xor esi, esi
test si, si
je 0x5f63cc
xor ebx, ebx
jmp 0x5f6367
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x5f6366
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x5f63cc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x5f634e
xor ebx, ebx
jmp 0x5f63c1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x5f63c0
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x5f63b5
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.005f62a8
push eax
mov eax, esi
call fcn.005f62a8
pop edx
cmp edx, eax
jne 0x5f63c0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x5f63cc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x5f6376
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x5fb794
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov edi, edx
mov ebx, eax
push esp
push 0
push ebp
push edi
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
mov dword [ebx], esi
mov eax, esi
call fcn.005fb70c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5fce10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 0
xor eax, eax
xor edx, edx
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
xor ecx, ecx
xor eax, eax
mov dword [ebx + 0x40], ecx
xor edx, edx
mov dword [ebx + 0x44], 1
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x90], 0xffffffff
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
xor ecx, ecx
xor eax, eax
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x50], edx
xor edx, edx
mov dword [ebx + 0x60], ecx
xor eax, eax
mov dword [ebx + 0x64], eax
xor ecx, ecx
mov dword [ebx + 0x80], edx
mov dword [ebx + 0x84], ecx
mov eax, dword [ebx + 4]
cmp eax, 0x20
jbe 0x5fceac
mov eax, 0x20
mov dword [ebx + 0x54], eax
xor edx, edx
mov dword [ebx + 0x58], edx
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 0x20]
je 0x5fcef6
xor esi, esi
mov eax, esi
shl eax, 3
lea eax, [eax + eax*4]
add eax, ebx
add eax, 0xc8
cmp dword [eax + 8], 0
je 0x5fced7
call fcn.005fbd24
inc esi
cmp esi, 0x20
jb 0x5fcebd
mov edx, dword [ebx + 0x5c]
test edx, edx
je 0x5fcef1
mov eax, dword [ebx + 0x14]
mov esi, eax
call dword [esi + 4]
xor ecx, ecx
mov dword [ebx + 0x5c], ecx
mov eax, dword [ebx]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x98]
mov edx, dword [ebx + 0x10]
call fcn.005fbbb4
xor ecx, ecx
xor eax, eax
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
mov edx, dword [ebx + 0x58]
inc dword [ebx + 0x58]
mov edi, edx
shl edi, 3
lea edi, [edi + edi*4]
add edi, ebx
add edi, 0xc8
mov eax, edi
call fcn.005fbcb4
mov esi, eax
test esi, esi
jne 0x5fcf65
lea eax, [edi + 0x20]
call fcn.005fb800
mov esi, eax
test esi, esi
jne 0x5fcf65
lea eax, [edi + 0x1c]
call fcn.005fb800
mov esi, eax
test esi, esi
jne 0x5fcf65
push edi
call fcn.005fcb54
mov esi, eax
test esi, esi
je 0x5fcf65
xor eax, eax
mov dword [ebx + 0x44], eax
mov eax, ebx
call fcn.005fbd80
test esi, esi
jg 0x5fcf6d
mov eax, esi
jmp 0x5fcf79
mov eax, esi
and eax, 0xffff
or eax, 0x80070000
test eax, eax
je 0x5fcf80
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x38], 0
jne 0x5fcf97
cmp dword [ebx + 0x40], 0
jne 0x5fcf97
cmp dword [ebx + 0x3c], 0
jne 0x5fcf97
xor edx, edx
mov dword [ebx + 0x44], edx
cmp dword [ebx + 0x44], 0
je 0x5fcf9f
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x604e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00423474
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x604e90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x604fac
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x66b040]
cmp dword [0x66b03c], 0
jne 0x604f87
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 6
jb 0x604f87
lea eax, [ebp - 8]
call fcn.00604e60
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00599cf0
lea eax, [ebp - 4]
mov edx, 0x604fc8
call fcn.00408f18
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x66b03c], eax
cmp dword [0x66b03c], 0
je 0x604f87
push 0x604fe4
mov eax, dword [0x66b03c]
push eax
call fcn.0040f500
mov dword [0x66b020], eax
push 0x605004
mov eax, dword [0x66b03c]
push eax
call fcn.0040f500
mov dword [0x66b024], eax
push 0x60502c
mov eax, dword [0x66b03c]
push eax
call fcn.0040f500
mov dword [0x66b028], eax
push 0x605040
mov eax, dword [0x66b03c]
push eax
call fcn.0040f500
mov dword [0x66b02c], eax
push 0x605058
mov eax, dword [0x66b03c]
push eax
call fcn.0040f500
mov dword [0x66b030], eax
push 0x60506c
mov eax, dword [0x66b03c]
push eax
call fcn.0040f500
mov dword [0x66b034], eax
cmp dword [0x66b03c], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604fb3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407cb8
ret
Function at 0x6098b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x609ab1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0x4d8]
mov edx, 0x20
call fcn.004f03a0
mov eax, dword [ebx]
mov eax, dword [eax + 0x4d8]
mov edx, 0x20
call fcn.004f03d4
mov eax, dword [ebx]
mov eax, dword [eax + 0x4dc]
mov edx, 0x20
call fcn.004f03a0
mov eax, dword [ebx]
mov eax, dword [eax + 0x4dc]
mov edx, 0x20
call fcn.004f03d4
xor eax, eax
push ebp
push 0x609a86
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1010
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x10
push 0x609ac0
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x60998d
cmp word [ebp - 0x2ac], 0
je 0x60998d
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [0x665c50]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x3e0]
mov ecx, dword [edx + 0x74]
mov edx, dword [ebx]
mov edx, dword [edx + 0x4d8]
call fcn.006097ec
xor edx, edx
mov al, 6
call fcn.00640560
test al, al
je 0x6099f2
push 0x27
lea edx, [ebp - 0x2bc]
mov eax, dword [0x662770]
mov eax, dword [eax]
call fcn.00599cf0
lea eax, [ebp - 0x2bc]
mov edx, 0x609ae8
call fcn.00408f18
mov eax, dword [ebp - 0x2bc]
call fcn.00408d1c
push eax
mov eax, dword [0x665c50]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x3e8]
mov ecx, dword [edx + 0x74]
mov edx, dword [ebx]
mov edx, dword [edx + 0x4dc]
call fcn.006097ec
jmp 0x609a7c
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.00645d10
cmp dword [ebp - 4], 0
jne 0x609a16
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
mov al, 1
call fcn.00645d10
cmp dword [ebp - 4], 0
je 0x609a7c
push 0x1000
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x609a7c
cmp word [ebp - 0x2ac], 0
je 0x609a7c
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [0x665c50]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x3e8]
mov ecx, dword [edx + 0x74]
mov edx, dword [ebx]
mov edx, dword [edx + 0x4dc]
call fcn.006097ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x609a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x609ab8
lea eax, [ebp - 0x2bc]
call fcn.00407c58
lea eax, [ebp - 4]
call fcn.00407c58
ret
Function at 0x61c390
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, edx
mov esi, eax
cmp byte [esi + 4], 0
je 0x61c46a
mov byte [esi + 5], 1
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x61c47c
call fcn.00602b4c
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x61c3e8
mov eax, 0x61c4dc
call fcn.006028c8
push 1
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_TerminateProcess
push 0x2710
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x61c3d3
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x61c43b
cmp dword [ebp - 4], 0
jne 0x61c420
mov eax, 0x61c534
call fcn.006028c8
jmp 0x61c445
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x61c570
call fcn.00602b4c
jmp 0x61c445
mov eax, 0x61c5d8
call fcn.006028c8
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [esi + 4], 0
test bl, bl
je 0x61c46a
push 0xfa
call sub.kernel32.dll_Sleep_2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61c640
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61c87e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
xor eax, eax
lea ebx, [eax + 0xc]
add ebx, ecx
xor edx, edx
push ebp
push 0x61c823
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x61c6b5
mov eax, 0x61c89c
call fcn.005f308c
xor edx, edx
push ebp
push 0x61c7b8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x14
call fcn.004053f4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push 0x14
mov eax, dword [ebp - 4]
add eax, 0x4034
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TransactNamedPipe
test eax, eax
jne 0x61c7a1
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x3e5
je 0x61c71d
mov eax, 0x61c8c0
call fcn.005f308c
xor edx, edx
push ebp
push 0x61c78a
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 8], 0
je 0x61c75d
mov eax, dword [ebp - 4]
cmp word [eax + 0x1a], 0
je 0x61c75d
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x61c73b
pop dword fs:[0]
add esp, 8
push 0x61c791
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov ebx, eax
call sub.kernel32.dll_GetLastError_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61c7bf
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x61e2e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.00408d1c
mov ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 1]
mov edx, 0x80000002
call fcn.0059b85c
test eax, eax
jne 0x61e357
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.00408d1c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x61e346
cmp dword [ebp - 8], 4
je 0x61e34a
xor ebx, ebx
jmp 0x61e34c
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x61e359
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x62248c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11ec], ebx
mov dword [ebp - 0x11f0], ebx
mov dword [ebp - 0x11e8], ebx
mov dword [ebp - 0x1004], ecx
mov dword [ebp - 0x11cc], edx
mov dword [ebp - 0x11d0], eax
lea esi, [ebp - 0x11de]
lea edi, [ebp - 0x11d0]
xor eax, eax
push ebp
push 0x6226b9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11d4], eax
xor eax, eax
mov dword [ebp - 0x11c8], eax
mov eax, dword [edi]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 0x1004]
mov eax, dword [ebp - 0x11cc]
call fcn.0061f118
cmp dword [ebp - 0x1084], 0x418
jle 0x62254e
lea ecx, [ebp - 0x11e8]
mov edx, dword [ebp - 0x1004]
mov al, 0xd9
call fcn.005a1474
mov ecx, dword [ebp - 0x11e8]
mov dl, 1
mov eax, dword [0x41d324]
call fcn.00427ca0
call fcn.00407354
lea eax, [ebp - 0x11f0]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
push 0
call fcn.00408434
mov edx, dword [ebp - 0x11f0]
lea ecx, [ebp - 0x11ec]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.00621de4
mov edx, dword [ebp - 0x11ec]
mov eax, dword [edi]
add eax, 0x14
call fcn.00408038
lea eax, [ebp - 0x11f8]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
push 0
call fcn.00408434
mov edx, dword [ebp - 0x11f8]
lea ecx, [ebp - 0x11f4]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.00621de4
mov edx, dword [ebp - 0x11f4]
mov eax, dword [edi]
add eax, 0x18
call fcn.00408038
lea eax, [ebp - 0x1078]
movzx eax, byte [eax]
mov edx, dword [edi]
mov byte [edx + 0x1d], al
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x62267a
push ebp
mov eax, esi
mov edx, 0xa
call fcn.00622414
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call fcn.0061f8c0
mov dword [ebp - 0x11e4], eax
cmp dword [ebp - 0x11e4], 0
jne 0x62261b
push ebp
call fcn.0062226c
pop ecx
xor eax, eax
push ebp
push 0x62264c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11e4]
add eax, 0x12
call fcn.00622414
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x622666
mov edx, dword [ebp - 0x11e4]
mov eax, dword [edi]
call fcn.0061f8fc
dec ebx
jne 0x6225e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6226c0
lea eax, [ebp - 0x11f8]
call fcn.00407c7c
lea eax, [ebp - 0x11f4]
call fcn.00407c58
lea eax, [ebp - 0x11f0]
call fcn.00407c7c
lea eax, [ebp - 0x11ec]
mov edx, 2
call fcn.00407cb8
ret
Function at 0x623f8c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, esi
test ebx, ebx
je 0x623fa5
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00408d1c
push eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x623fd9
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
xor eax, eax
call fcn.00623e5c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x625e68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x625f99
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x662268]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x661c68]
mov edx, 0x80000002
xor eax, eax
call fcn.0059b85c
test eax, eax
jne 0x625efd
mov esi, edi
test esi, esi
je 0x625ec0
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, edi
call fcn.00408d1c
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x625ef2
mov eax, 0x625fb4
call fcn.006028c8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x625f07
mov eax, 0x626018
call fcn.006028c8
test bl, bl
je 0x625f7e
mov eax, edi
call fcn.00408d1c
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x625f2e
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x625f7e
lea ecx, [ebp - 0x10]
mov edx, 0x62606c
mov al, 0x3f
call fcn.005a1474
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0059c17c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x6624b4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6624b4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6624b4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
pop eax
call fcn.00623440
test al, al
je 0x625f0b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625fa0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00407cb8
ret
Function at 0x6291b8
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x629279
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408d1c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x62925e
test bl, 0x10
je 0x62925e
lea ecx, [ebp - 4]
mov edx, 0x629294
mov eax, esi
call fcn.00599e74
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x6292b8
mov eax, 0x6292d4
call fcn.0059a6d4
mov edx, 0x629300
mov eax, dword [ebp - 8]
call fcn.00421500
test eax, eax
jne 0x62925e
mov eax, dword [ebp - 4]
call fcn.00422a6c
lea ecx, [ebp - 0xc]
mov edx, 0x62935c
mov eax, esi
call fcn.00599e74
mov eax, dword [ebp - 0xc]
call fcn.00422a6c
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.00408d1c
mov edi, eax
push edi
call sub.kernel32.dll_SetFileAttributesW
push edi
call sub.kernel32.dll_RemoveDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629280
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407cb8
ret

Function at 0x62a2b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x62a388
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.005f319c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x62a3a4
call fcn.00602b4c
mov eax, dword [0x66204c]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
call fcn.00495474
mov esi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x62a321
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
push eax
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
push eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.00622d14
test al, al
jne 0x62a372
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
jne 0x62a357
mov eax, 0x62a3f4
call fcn.006028c8
jmp 0x62a372
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x62a494
call fcn.00602b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a38f
lea eax, [ebp - 0x1c]
call fcn.00407c58
ret