joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bf40
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3b2d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], vtable.CKANRegisterKey.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
cmp dword [edi + 0x1c], ebx
je 0x43c016
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43c0b0
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], ebx
jne 0x43bff6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43bfb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
push dword [edi + 8]
push dword [edi + 4]
push str.DeleteSubKeyTree_root:_d__path:_ws
call fcn.0040ff00
push eax
call fcn.00410290
mov edx, dword [edi + 8]
add esp, 0x10
mov ecx, dword [edi + 4]
call fcn.0043ef70
mov esi, eax
push esi
push str.DeleteSubKeyTree_return:_d
call fcn.0040ff00
push eax
call fcn.00410290
add esp, 0xc
test esi, esi
jmp 0x43c0a9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43c0b0
test eax, eax
je 0x43c0b0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x43c0a7
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43c0b0
mov edx, dword [edi + 0xc]
cmp dword [edx - 0xc], eax
je 0x43c0ab
cmp dword [edi + 0x18], 4
jne 0x43c064
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43c0b0
test edx, edx
je 0x43c0b0
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push 0
push edx
push eax
jmp 0x43c0a1
cmp dword [ebp - 0x14], 0
mov esi, dword [edi + 0x10]
je 0x43c0b0
test edx, edx
je 0x43c0b0
test esi, esi
je 0x43c0b0
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c080
sub ecx, dword [ebp - 0x10]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43c0b0
mov ebx, 1
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [edi + 0x18]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi + 0x1c]
push ebx
push str.KExecReg_Run_Return:_d__delete:_d__root:0x_x__path:_ws__type:_d__name:_ws__value:_ws
call fcn.0040ff00
push eax
call fcn.00410290
mov eax, dword [ebp - 0x14]
add esp, 0x24
mov dword [ebp - 0x18], vtable.CKANRegisterKey.0
test eax, eax
je 0x43c0eb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.005a52f0
add esp, 0xc
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x43d086
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0040e020
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x43cf64
mov eax, dword [eax]
push dword [0x65cb40]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00408c40
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00408a60
mov esi, dword [ebp - 0x234]
lea ecx, [ebp - 0x248]
push 1
push esi
push reloc.WS2_32.dll_accept
call fcn.00405670
mov edi, dword [ebp - 0x248]
test eax, eax
jne 0x43d03e
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
push str.Proxy_Host
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d03e
mov eax, dword [ebp - 0x23c]
cmp eax, 1
je 0x43cff1
cmp eax, 2
jne 0x43d03e
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x43d00e
test al, 1
jne 0x43d03e
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x43d017
jmp 0x43d03e
xor eax, eax
mov word [ebp - 0x218], ax
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43d020
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00406ed0
test edi, edi
je 0x43d049
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d068
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00405600
int3
Function at 0x43e5f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3f16
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
cmp dword [ecx - 0xc], 0
je 0x43e7f3
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x43e7f3
push 3
lea eax, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.00409120
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x98]
push dword [ebp - 0x94]
call fcn.0040dd20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x43e68f
push eax
call fcn.005a8164
add esp, 4
mov dword [ebp - 0xb0], 0x6385ec
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x43e813
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 3
mov edx, dword [esi]
test edx, edx
jne 0x43e6ec
xor ecx, ecx
jmp 0x43e700
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e6f1
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00406ed0
mov eax, dword [ebp + 0xc]
test eax, eax
mov ecx, dword [ebp - 0xa8]
push dword [ebp - 0x98]
cmovne ecx, eax
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0xb0]
call fcn.0043e310
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e746
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0xb0]
call fcn.0043d860
mov ecx, dword [esi]
add esp, 4
mov edi, eax
push ecx
test edi, edi
je 0x43e77d
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x43e776
mov dword [eax], edi
mov esi, 0xfa
jmp 0x43e78e
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e78c
lea esi, [eax + 0x35]
jmp 0x43e78e
xor esi, esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x43e7ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa0], 0
mov edx, dword [ebp - 0xa4]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e7cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43e7ef
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x43e7f8
mov eax, 0x33
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x43ee30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3fdd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x43ee74
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
call fcn.0044d470
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x43ee96
xor ebx, ebx
jmp 0x43ef32
push str.unenable
lea ecx, [ebp - 0x18]
call fcn.00406b20
mov byte [ebp - 4], 1
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x43ef65
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push str._invoke_BizCenterComBundle_BizCenterCom__uwr__silent__param____typedbpdf___subtype_s_
push eax
call fcn.00408c40
mov esi, dword [ebp - 0x14]
add esp, 0xc
push 0
push 0
push esi
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
mov byte [ebp - 4], 1
cmp eax, 0x20
mov eax, edi
setg bl
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ef14
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ef32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43ef51
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x43ef70
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
push ecx
push 0xf003f
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f02d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x200
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x43f018
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
call fcn.0043ef70
mov esi, eax
test esi, esi
jne 0x43f042
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x200
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x43efe0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
Function at 0x43f170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4019
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0
jne 0x43f1a3
call fcn.0043ee30
mov ecx, edi
call fcn.0043f2f0
call fcn.0043f770
call fcn.0043fc50
call fcn.0043fef0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ecx + 4]
jle 0x43f20e
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x43f20e
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov dword [ebp - 4], 0xffffffff
call fcn.00483be3
add esp, 8
lea eax, [ebp + 8]
mov ecx, 0x65cc40
push eax
call fcn.004127f0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], 0
jne 0x43f243
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x43f298
lea ecx, [ebp - 0x10]
call fcn.00410cd0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x10]
cmp eax, 0xffffffff
setne bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f277
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x43f283
mov ecx, dword [ebp + 8]
call fcn.0044b920
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43f2a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x43f2be
nop word [eax + eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, edi
jne 0x43f2b0
call fcn.0043f9b0
call fcn.00451de0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43fef0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d426d
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ecx + 4]
jle 0x43ff73
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x43ff73
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov dword [ebp - 4], 0xffffffff
call fcn.00483be3
add esp, 8
lea eax, [ebp - 0x224]
mov ecx, 0x65cc40
push eax
call fcn.004124e0
mov dword [ebp - 4], 1
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x440114
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x220]
mov edi, dword [ebp - 0x224]
push edi
push str._s.lnk
push eax
call fcn.00408c40
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0
push 0x10
push eax
push 0
call ebx
mov esi, dword [ebp - 0x220]
lea edx, [ebp - 0x218]
sub esp, 0xc
lea ecx, [ebp - 0x21c]
push esi
call fcn.00410bd0
add esp, 0x10
mov byte [ebp - 4], 3
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44001f
test al, 0x10
jne 0x44001f
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
sub esp, 0xc
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x228]
push esi
call fcn.00410bd0
add esp, 0x10
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.00406a90
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x228]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44007a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44009b
test al, 0x10
jne 0x44009b
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4400bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4400d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4400f3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x4495a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4888
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x64c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], 0
mov eax, dword [edi + 4]
test eax, eax
jne 0x44975f
push 3
push dword [edi + 0x60]
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call fcn.0040ed10
mov dword [ebp - 4], 0
lea eax, [edi + 0x4c]
mov edx, dword [ebp - 0x114]
mov ecx, dword [edi + 8]
push 0x638eb0
push eax
call fcn.00443ac0
mov dword [edi + 4], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov eax, dword [ebp - 0x114]
cmp eax, ecx
je 0x449645
push eax
call fcn.005a8164
add esp, 4
mov eax, dword [edi + 0x64]
cmp dword [eax - 0xc], 0
je 0x44975a
mov edx, 0x400000
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00407710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
mov edx, dword [eax]
call fcn.004078d0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov dword [ebp - 0x220], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4496a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.data_skin_skincfg.ini
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x228]
call fcn.0040fa40
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x214]
push 3
push dword [edi + 0x64]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
call fcn.0040ed10
push dword [esi]
push 0xff
push dword [ebp - 0x218]
push str.alpha
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x30], eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp - 0x218]
cmp eax, ecx
je 0x449717
push eax
call fcn.005a8164
add esp, 4
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449738
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44975a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
Function at 0x44aa30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4a6e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44ab60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x44ab4c
push edi
call fcn.0048409e
add esp, 4
mov ebx, eax
push ebx
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x44ab43
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x635b40
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x44ab43
cmp dword [ebp - 0x14], 0
je 0x44ab43
mov eax, dword [ebp - 0x18]
push ebx
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
call fcn.00484099
add esp, 4
movzx eax, si
shr esi, 0x10
push eax
push esi
mov esi, dword [ebp - 0x24]
movzx eax, di
push eax
shr edi, 0x10
push edi
push str._d._d._d._d
push esi
call fcn.00408c40
add esp, 0x18
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00484099
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x44ace0
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4b05
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x18]
xor edi, edi
call fcn.00406b20
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00406b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00410cd0
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call ebx
mov edx, dword [ebp - 0x1c]
cmp eax, 0xffffffff
setne byte [ebp - 0xd]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ad5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.00410cd0
push dword [ebp - 0x1c]
call ebx
cmp byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x1c]
jne 0x44ada4
cmp eax, 0xffffffff
mov eax, esi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ad95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x44ae53
xor edi, edi
jmp 0x44ae6a
cmp eax, 0xffffffff
mov eax, esi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44adc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x44ae65
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.0044aec0
test eax, eax
je 0x44ae65
push str._del
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040fa40
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0044b1d0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00406a90
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ae29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ae53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x44ae6a
mov edi, 1
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ae88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x44aea7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret