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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4084f8
cmp edx, dword [eax]
je 0x404707
add eax, 8
inc ecx
cmp eax, 0x408588
jl 0x4046f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4084f8]
jne 0x404835
mov eax, dword [0x40908c]
cmp eax, 1
je 0x40480f
test eax, eax
jne 0x404738
cmp dword [0x408338], 1
je 0x40480f
cmp edx, 0xfc
je 0x404835
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40476f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405dd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403cf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4047b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403cf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407520
push edi
call fcn.00405c90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405dd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405de0
lea eax, [ebp - 0xa0]
push 0x407500
push eax
call fcn.00405de0
push dword [esi + 0x4084fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405de0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004061f5
add esp, 0x2c
pop edi
jmp 0x404835
lea eax, [ebp + 8]
lea esi, [esi + 0x4084fc]
push 0
push eax
push dword [esi]
call fcn.00403cf0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10008260
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x10008270
xor eax, eax
jmp 0x1000840d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x100083ce
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1007ef48]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1007ef48]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x1007ef48]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1007ef48]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1007ef48]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x1007ef48]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1007ef48]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1007ef48]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x10008279
cmp dword [ebp + 0x10], 0
je 0x10008407
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1007ef48]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x100083d4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10008410
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x1007ef48]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x1007ef48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x100093f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x1000943f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10009435
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x10009499
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x1000945f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.1005b700
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1000af20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1000af3a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x1000af44
mov eax, 0x1000000
jmp 0x1000b01e
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
push eax
call fcn.1005b570
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x1000afa2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x1000afa2
push 0x1007f3e0
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
call fcn.1005be54
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x1000afd6
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0xffffffff
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x1000afd6
mov eax, 0x2000000
jmp 0x1000b01e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100090d0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000affc
mov eax, dword [ebp - 0xc]
jmp 0x1000b01e
mov ecx, dword [ebp - 4]
push ecx
call fcn.10009880
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1000b01c
mov eax, 0x200
jmp 0x1000b01e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000bac0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x1000baf4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000baf4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x1000bb03
jmp 0x1000bc0e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
test ecx, ecx
je 0x1000bb55
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x1000bb3b
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x1000bb44
mov eax, dword [ebp - 0x218]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x218], ecx
jmp 0x1000bb12
mov edx, dword [ebp - 4]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x1000bbb8
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.1005b700
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
mov word [ebp + ecx*2 - 0x420], 0
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1000bac0
add esp, 8
mov ecx, dword [ebp - 0x214]
add ecx, 2
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
cmp dword [ebp + 8], 0
je 0x1000bbda
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.1005be7e
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.1005be54
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000bc0e
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret
Function at 0x1000db90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.1005bf00
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1005bf00
add esp, 0xc
call fcn.10012680
mov ecx, eax
call fcn.100175d0
push eax
push 0x1007fe84
lea edx, [ebp - 0x418]
push edx
call fcn.1005c20c
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x1007fea0
push 0x1007fea4
push 0x1007feb8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0
lea edx, [ebp - 0x210]
push edx
push 1
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0xec]
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0xec]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret

Function at 0x1000dc70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.1005bf00
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1005bf00
add esp, 0xc
call fcn.10012680
mov ecx, eax
call fcn.100175d0
push eax
push 0x1007fec8
lea edx, [ebp - 0x418]
push edx
call fcn.1005c20c
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x1007fee4
push 0x1007fee8
push 0x1007fefc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0xec], 0
je 0x1000dd53
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push 1
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx + 0xec]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0xec]
mov edx, dword [edx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000dd70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.1005bf00
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.1005bf00
add esp, 0xc
call fcn.10012680
mov ecx, eax
call fcn.100175d0
push eax
push 0x1007ff0c
lea edx, [ebp - 0x418]
push edx
call fcn.1005c20c
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x1007ff28
push str.Spreader
push 0x1007ff40
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0xec], 0
je 0x1000de4f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0xec]
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 0xec]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret 8
Function at 0x1000fc10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078296
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10098f00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0
push 0xe4
call fcn.10048b29
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x1000fc69
mov ecx, dword [ebp - 0x20]
call fcn.10022bf0
mov dword [ebp - 0x34], eax
jmp 0x1000fc70
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000fca4
xor eax, eax
jmp 0x1000fd91
push 1
mov ecx, dword [ebp - 0x18]
call fcn.10023370
push 1
mov ecx, dword [ebp - 0x18]
call fcn.100233a0
call fcn.10012680
mov ecx, eax
call fcn.10017670
push eax
lea ecx, [ebp - 0x10]
call fcn.10013600
mov dword [ebp - 4], 1
push 0x10080718
lea ecx, [ebp - 0x10]
call fcn.10010eb0
lea ecx, [ebp - 0x10]
call fcn.100136c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000fd05
push 0
lea ecx, [ebp - 0x10]
call fcn.100136c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.wdjinfo.xml
lea ecx, [ebp - 0x10]
call fcn.10010eb0
lea ecx, [ebp - 0x10]
call fcn.100136c0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0xc]
call edx
lea ecx, [ebp - 0x10]
call fcn.100136c0
push eax
mov ecx, dword [ebp - 0x30]
call fcn.1000fdb0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x1000fd6a
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x38], eax
jmp 0x1000fd71
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10013680
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10015fd0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x10080c1c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov dword [eax + 0xc], edx
mov esp, ebp
pop ebp
ret

Function at 0x10016080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
push str._sskin_
mov ecx, dword [ebp - 4]
add ecx, 0x42c
push ecx
call fcn.1005c20c
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 0x42c
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100160ca
mov eax, dword [ebp - 4]
add eax, 0x42c
push eax
call fcn.10017b60
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x100160d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x10080c48
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
push 0x10080c58
mov ecx, dword [ebp - 4]
add ecx, 0x224
push ecx
call fcn.1005c20c
add esp, 0x10
mov edx, dword [ebp - 4]
add edx, 0x224
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001611f
mov eax, dword [ebp - 4]
add eax, 0x224
push eax
call fcn.10017b60
add esp, 4
push str.Config.ini
mov ecx, dword [ebp - 4]
add ecx, 0x224
push ecx
call fcn.1005be54
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10016140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.1005bf00
add esp, 0xc
mov ecx, dword [ebp - 0x214]
add ecx, 0x1c
push ecx
push str._sAllSkin_
lea edx, [ebp - 0x210]
push edx
call fcn.1005c20c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100161b6
lea ecx, [ebp - 0x210]
push ecx
call fcn.10017b60
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret

Function at 0x100161d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.Config
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
push 0x10080ca4
mov ecx, dword [ebp - 4]
add ecx, 0xe54
push ecx
call fcn.1005c20c
add esp, 0x10
mov edx, dword [ebp - 4]
add edx, 0xe54
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001621f
mov eax, dword [ebp - 4]
add eax, 0xe54
push eax
call fcn.10017b60
add esp, 4
push str.Related.ini
mov ecx, dword [ebp - 4]
add ecx, 0xe54
push ecx
call fcn.1005be54
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x10016270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
push str._sUseData_
mov ecx, dword [ebp - 4]
add ecx, 0x146c
push ecx
call fcn.1005c20c
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 0x146c
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100162ba
mov eax, dword [ebp - 4]
add eax, 0x146c
push eax
call fcn.10017b60
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10016a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x21c], ecx
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.1005bf00
add esp, 0xc
push 0x10080ee0
lea ecx, [ebp - 0x218]
push ecx
call fcn.1005be7e
add esp, 8
push 0x10080ef4
lea edx, [ebp - 0x218]
push edx
call fcn.1005be54
add esp, 8
push 0x10080f04
lea eax, [ebp - 0x218]
push eax
call fcn.1005be54
add esp, 8
push 0x10080f08
lea ecx, [ebp - 0x218]
push ecx
call fcn.1005be54
add esp, 8
lea edx, [ebp - 4]
push edx
push 2
push 0
lea eax, [ebp - 0x218]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10016b5d
push 0x104
mov ecx, dword [ebp - 0x21c]
add ecx, 0x1c
push ecx
push 1
push 0
push 0x10080f14
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret
Function at 0x10017350
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0x1a
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp - 8]
add ecx, 0x1c
push ecx
call fcn.1005b570
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10017389
jmp 0x1001740d
push 0x1008112c
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
call fcn.1005be54
add esp, 8
push 0x10081130
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
call fcn.1005be54
add esp, 8
push 0x10081140
mov ecx, dword [ebp - 8]
add ecx, 0x1c
push ecx
call fcn.1005be54
add esp, 8
push 0x10081144
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
call fcn.1005be54
add esp, 8
push 0x10081150
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
call fcn.1005be54
add esp, 8
mov ecx, dword [ebp - 8]
add ecx, 0x1c
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001740d
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
call fcn.10017b60
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10017450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
push str._sMB_
mov ecx, dword [ebp - 4]
add ecx, 0xc4c
push ecx
call fcn.1005c20c
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 0xc4c
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001749a
mov eax, dword [ebp - 4]
add eax, 0xc4c
push eax
call fcn.10017b60
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x100176f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.1005bf00
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jne 0x10017761
cmp dword [ebp - 0x120], 0
je 0x10017751
cmp dword [ebp - 0x120], 1
jne 0x10017761
movzx edx, byte [ebp - 0xe]
cmp edx, 1
jne 0x10017761
mov eax, 1
jmp 0x10017763
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret