joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073d2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, 0x46c374
push 0x2000
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
call fcn.004075e9
xor ebx, ebx
test eax, eax
je 0x407464
mov esi, eax
push eax
call fcn.0040765e
mov eax, dword [0x40b4b8]
test byte [eax], 0x80
je 0x407415
movzx eax, word [esi]
test eax, eax
je 0x407464
cmp eax, 0x5c
je 0x407464
mov edi, 0x46c374
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esi, edi
sar esi, 1
cmp eax, esi
jle 0x40744f
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x46c374
call fcn.0040752e
test eax, eax
je 0x407442
test byte [eax], 0x10
je 0x407464
push edi
call fcn.00407489
push edi
call ebp
cmp eax, esi
jg 0x40742f
push edi
call fcn.00407556
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4074ff
Capabilities:
Move file

Disassembly:
push edi
push esi
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x407521
push edi
push esi
call fcn.00407989
add esp, 8
mov eax, dword [0x40b114]
inc dword [eax + 0x10]
pop esi
pop edi
ret 8

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

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove eax, ecx
push ecx
push eax
push ebx
push ecx
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
pop esi
pop edi
pop ebx
ret 0xc

Function at 0x407814
Capabilities:
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [esp + 0x1c]
mov ebx, 0xffffff9b
mov ebp, esp
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
inc ebx
je 0x40786f
mov dword [esp + 4], 0x61
mov dword [esp], 0x73006e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov edx, 0x4ec4ec4f
mul edx
shr edx, 3
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
add eax, edx
sub ecx, eax
add word [esp + 4], cx
push esi
push 0
push ebp
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x40782c
jmp 0x407876
mov word [esi], 0
xor esi, esi
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x407882
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
push eax
mov esi, dword [esp + 0x18]
mov edi, esp
push 0
push edi
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
cmp dword [edi], esi
sete cl
and cl, al
movzx eax, cl
add esp, 4
pop esi
pop edi
ret 0xc
Function at 0x4078b4
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push eax
mov esi, dword [esp + 0x18]
mov edi, esp
push 0
push edi
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
cmp dword [edi], esi
sete cl
and cl, al
movzx eax, cl
add esp, 4
pop esi
pop edi
ret 0xc

Function at 0x4078e6
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x1c]
xor ebx, ebx
push 1
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
inc esi
test eax, eax
jne 0x407958
lea eax, [esp + 4]
lea ecx, [esp + 2]
push 0
push eax
push 2
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x407934
cmp dword [esp + 4], 2
jne 0x407934
movzx eax, word [esp + 2]
cmp eax, 0xfeff
jne 0x407934
mov esi, ebx
jmp 0x407958
cmp dword [esp + 0x20], 0
je 0x40794c
xor ebx, ebx
push 1
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x407963
xor eax, eax
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
ret 8
lea esi, [esp + 8]
push ebx
push esi
push 2
push 0x40b750
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi], 2
mov ecx, 0x80004005
cmovne ebx, ecx
test eax, eax
cmove ebx, ecx
jmp 0x407930
Function at 0x407989
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [esp + 0x20]
mov dword [0x470f7c], 0x4c
mov dword [0x470f78], 0x55004e
test esi, esi
je 0x407a0a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
sub esp, 0x1c
mov dword [esp + 0x14], ecx
movaps xmm0, xmmword [0x40b4e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
push 0x470f78
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x407b77
cmp eax, 0x400
jg 0x407b77
push 0x400
push 0x470774
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x407b77
cmp eax, 0x400
jg 0x407b77
mov esi, 0x470774
push esi
push 0x470f78
push str._ls_ls_r_n
push 0x470374
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edi, eax
mov eax, dword [0x40a004]
mov eax, dword [eax]
push dword [eax + 0x128]
push esi
call fcn.00407b7f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
sub esp, 0x1c
mov dword [esp + 0x14], ecx
movaps xmm0, xmmword [0x40b4f0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x407b77
mov esi, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
add eax, edi
add eax, 0xa
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x407b70
mov ebx, eax
mov eax, esp
push 0
push eax
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x407b70
cmp dword [esp], ebp
jne 0x407b70
push str._Rename__r_n
push ebx
call fcn.00407753
test eax, eax
je 0x407b20
add eax, 0xa
push 0x40b767
push eax
call fcn.00407753
test eax, eax
je 0x407b32
mov ecx, ebp
add ecx, ebx
cmp ecx, eax
jbe 0x407b1b
mov dl, byte [ecx]
mov byte [ecx + edi], dl
lea edx, [ecx - 1]
mov ecx, edx
cmp edx, eax
ja 0x407b0d
sub eax, ebx
inc eax
jmp 0x407b34
lea eax, [ebx + ebp]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add ebp, 0xa
mov eax, ebp
test edi, edi
je 0x407b4c
mov ecx, ebx
add ecx, eax
xor eax, eax
mov dl, byte [eax + 0x470374]
mov byte [ecx + eax], dl
inc eax
cmp edi, eax
jne 0x407b3e
add ebp, edi
xor edi, edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 4]
push edi
push eax
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407f35
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp dword [esp + 0x28], 0
mov dword [esp + 8], 0x4000
setne dl
shl edx, 8
or edx, 0x20019
mov esi, esp
push esi
push edx
push ecx
push eax
call fcn.00407ecc
test eax, eax
jne 0x407faf
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
push edi
push ecx
push 0
push dword [esp + 0x30]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [edi + 0x3ffe], 0
test esi, esi
jne 0x407faf
mov eax, dword [esp + 4]
add eax, 0xfffffffd
cmp eax, 0xfffffffd
ja 0x407fb4
mov word [edi], 0
add esp, 0xc
pop esi
pop edi
ret 0x14

Function at 0x408097
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push edi
push esi
push eax
cmp dword [esp + 0x10], 0
je 0x4080c4
mov eax, dword [0x418044]
cmp eax, 0xffffffff
je 0x4080b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x418044], 0xffffffff
add esp, 4
pop esi
pop edi
ret 4
cmp dword [0x479778], 0
je 0x4080bc
cmp word [0x47977c], 0
mov eax, dword [0x418044]
je 0x408133
cmp eax, 0xffffffff
jne 0x408133
mov edi, 0x47977c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor esi, esi
cmp eax, 0xffffffff
cmove eax, esi
sub esp, 0x1c
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x40b500]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x418044], eax
cmp eax, 0xffffffff
je 0x4080bc
push 2
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x418044]
cmp eax, 0xffffffff
je 0x4080bc
mov esi, 0x479f7c
push 0x40b82a
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [0x418044]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov ecx, esp
push 0
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4080bc

Function at 0x408324
Capabilities:
Get common file path

Disassembly:
push edi
push esi
sub esp, 0x23c
mov edi, dword [esp + 0x248]
mov esi, esp
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
cmp eax, 0x105
cmovb ecx, eax
test ecx, ecx
je 0x40835c
xor eax, eax
cmp word [esp + ecx*2 - 2], 0x5c
sete al
jmp 0x40835f
xor eax, eax
inc eax
lea ecx, [esp + ecx*2]
lea eax, [eax*2 + 0x40b56e]
push edi
push eax
push str._s_S.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x23c
pop esi
pop edi
ret 4
Function at 0x408460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
cmp dword [0x47b1d0], 0
jne 0x40849c
xor eax, eax
mov edx, 8
mov esi, eax
mov edi, esi
shr edi, 1
and esi, 1
neg esi
and esi, 0xedb88320
xor esi, edi
dec edx
jne 0x408479
mov dword [eax*4 + 0x47b1cc], esi
inc eax
cmp eax, 0x100
jne 0x408472
mov eax, dword [esp + 0x10]
test ecx, ecx
je 0x4084c5
mov edx, dword [esp + 0x14]
not eax
xor esi, esi
mov bl, byte [edx + esi]
xor bl, al
movzx edi, bl
shr eax, 8
xor eax, dword [edi*4 + 0x47b1cc]
inc esi
cmp ecx, esi
jne 0x4084ac
not eax
pop esi
pop edi
pop ebx
ret 0xc
Function at 0x415480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, esp
sub esp, 0x94
and esp, 0xffffffc0
lea ebx, [esp + 0x80]
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x10], eax
call fcn.004154b2

Function at 0x41aef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56989e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5da2b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x5c]
mov dword [esi], vtable.CShareVariableManager.0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x41af3c
mov eax, dword [ecx]
jmp 0x41af3e
mov eax, ecx
xor edx, edx
mov word [eax], dx
mov dword [esi + 0x88], 7
mov dword [esi + 0x84], edx
cmp dword [esi + 0x88], 8
mov dword [ebp - 4], edx
jb 0x41af64
mov eax, dword [esi + 0x74]
jmp 0x41af67
lea eax, [esi + 0x74]
xor edx, edx
mov word [eax], dx
lea ebx, [esi + 0x8c]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
cmp dword [ebx + 0x14], 8
jb 0x41af86
mov eax, dword [ebx]
jmp 0x41af88
mov eax, ebx
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xa4]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x41afa5
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xbc]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x41afc2
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xd4]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x41afdf
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push edx
push 0x571908
mov byte [ebp - 4], 5
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edx
call fcn.00419cc0
push 0
push 0x571908
lea ecx, [esi + 0x74]
call fcn.00419cc0
push 0
push 0x571908
mov ecx, ebx
call fcn.00419cc0
push 0
push 0x571908
lea ecx, [esi + 0xa4]
call fcn.00419cc0
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
Function at 0x41d7c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5da2b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x41c], edi
call fcn.004bf1c0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004bf1c0
mov eax, dword [edi + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41d9d6
push ebx
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x418], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d831
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41d98a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.0041ee30
add edi, 0x8c
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41d86d
mov eax, dword [edi]
jmp 0x41d86f
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x57195c
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x57195c
lea eax, [ebp - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d8c6
test dx, dx
je 0x41d8c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d8c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d8a0
xor eax, eax
jmp 0x41d8cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d8e9
lea eax, [ebp - 0x20c]
push eax
call fcn.004c66ef
mov ecx, dword [ebp - 0x418]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.0041ee30
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41d906
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d95b
test dx, dx
je 0x41d957
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d95b
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d935
xor eax, eax
jmp 0x41d960
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d984
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x41d973
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x41d9ca
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41d9af
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41d9ca
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41d9a3
jmp 0x41d9ca
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41d9c8
cmp esi, dword [eax + 8]
jne 0x41d9c8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d9b8
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x41d820
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00437c42
mov esp, ebp
pop ebp
ret
Function at 0x41dd00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5da2b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x41c], edi
mov eax, dword [edi + 0x24]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x41de5e
lea ebx, [edi + 0x8c]
nop dword [eax]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
mov dword [ebp - 0x418], eax
mov eax, dword [edi + 4]
cmp byte [eax], 0
lea eax, [ebp - 0x20c]
je 0x41dd61
push 0x572ea8
jmp 0x41dd66
push 0x571984
push 0x572ea0
push eax
call fcn.0041ee30
add esp, 0xc
lea eax, [ebp - 0x414]
add edi, 0xc
push edi
push str.Is_s
push eax
call fcn.0041ee30
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x41dd96
mov eax, dword [ebx]
jmp 0x41dd98
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.0041ee30
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push 0x572ea0
push eax
call fcn.0041ee30
add esp, 0x18
cmp dword [ebx + 0x14], 8
jb 0x41dde8
mov eax, dword [ebx]
jmp 0x41ddea
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x41de47
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41de2c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41de47
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41de20
jmp 0x41de47
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41de45
cmp esi, dword [eax + 8]
jne 0x41de45
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41de35
mov esi, eax
mov edi, dword [ebp - 0x41c]
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x41dd40
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [edi + 0xd0], 8
lea esi, [edi + 0xbc]
jb 0x41de71
mov eax, dword [esi]
jmp 0x41de73
mov eax, esi
push eax
push 0x572ea8
push str.ModifyHotKey
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x41de8f
mov eax, dword [esi]
jmp 0x41de91
mov eax, esi
push eax
push 0x572ea8
push str.ModifyHotKey64
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x41dead
mov eax, dword [esi]
jmp 0x41deaf
mov eax, esi
push eax
push 0x572ea8
push str.TempModifyHotKey
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x41dec9
mov esi, dword [esi]
push esi
push 0x572ea8
push str.TempModifyHotKey64
push str.SetModify
call ebx
cmp dword [edi + 0xb8], 8
lea ecx, [edi + 0xa4]
jb 0x41deec
mov ecx, dword [ecx]
cmp dword [edi + 0xa0], 8
lea eax, [edi + 0x8c]
pop edi
pop esi
pop ebx
jb 0x41df00
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437c42
mov esp, ebp
pop ebp
ret
Function at 0x422bc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x5da2b4]
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]
test ebx, ebx
je 0x422d8b
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004bf1c0
lea edx, [ebp - 0x110]
add esp, 0xc
mov ecx, ebx
sub edx, ebx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x422c20
xor edi, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x422c32
sub ebx, ecx
call fcn.00422fd0
mov ecx, eax
test ecx, ecx
jne 0x422c50
push 0x80004005
call fcn.00422ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x464], esi
push 0x100
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004bf1c0
add esp, 0xc
cmp byte [ebp + ebx - 0x111], 0x5c
je 0x422c8d
mov byte [ebp + ebx - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x422d2a
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov al, byte [ebp + edi - 0x110]
cmp al, 0x3a
jne 0x422cb2
mov eax, 2
jmp 0x422d1a
cmp al, 0x5c
jne 0x422d15
push edi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004bec40
add esp, 0xc
cmp edi, 0x100
jae 0x422d8f
lea eax, [ebp - 0x210]
mov byte [ebp + edi - 0x210], 0
push eax
lea ecx, [ebp - 0x464]
call fcn.004227c0
mov esi, dword [ebp - 0x464]
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x422d15
push 0
push esi
call ebx
test eax, eax
je 0x422d6c
mov eax, 1
add edi, eax
cmp byte [ebp + edi - 0x110], 0
jne 0x422ca0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x422d49
mov ecx, dword [esi]
push esi
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.00437c42
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x422d8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x422d4e
call fcn.00438141
int3

Function at 0x4238b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x300]
cmp eax, 0xffffffff
je 0x4238c4
cmp eax, 1
je 0x4238c4
or eax, 0xffffffff
ret
push 0
push 0
push ecx
push 0x4234d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
Function at 0x425a60
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x5da2b4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.SOFTWARERegisteredApplications]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0xcc], xmm0
push esi
movups xmm0, xmmword [0x573e40]
push 0x88
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x8c]
movups xmmword [ebp - 0xbc], xmm0
push 0
movups xmm0, xmmword [0x573e50]
push eax
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [0x573e60]
movups xmmword [ebp - 0x9c], xmm0
call fcn.004bf1c0
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.004bf1c0
add esp, 0x18
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xcc]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x196], ax
test ax, ax
jne 0x425ae4
push edi
lea edi, [ebp - 0x194]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x425b06
mov eax, dword [0x57190c]
mov edx, ebx
mov dword [edi], eax
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x425b20
lea edi, [ebp - 0x194]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425b36
mov ecx, edx
lea eax, [ebp - 0xcc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [ebp + 0x10], 0
je 0x425ba2
mov esi, dword [ebp - 0x198]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425b75
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push ebx
lea eax, [ebp - 0xcc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00437c42
mov esp, ebp
pop ebp
ret 0xc