joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4179c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x578440], 0
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, edx
je 0x417ac8
test eax, eax
je 0x417ac8
push esi
mov esi, dword [0x578448]
xor edx, edx
div esi
test edx, edx
jne 0x417ac7
push ebp
cmp ecx, 1
jne 0x417a4c
mov ebp, edi
test eax, eax
jbe 0x417ac6
sub ebx, edi
mov dword [esp + 0x10], eax
lea edi, [ebx + ebp]
push edi
mov ecx, ebp
call fcn.00417640
add esp, 4
xor ecx, ecx
mov eax, edi
test esi, esi
jle 0x417a2e
lea ecx, [ecx]
mov dl, byte [ecx + 0x576a94]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x417a20
push esi
push ebp
push 0x576a94
call fcn.004d57a0
add esp, 0xc
add ebp, esi
sub dword [esp + 0x10], 1
jne 0x417a07
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret
cmp ecx, 2
jne 0x417aa9
test eax, eax
jbe 0x417ac6
mov ebp, ebx
sub ebp, edi
mov dword [esp + 0x10], eax
lea ecx, [ecx]
lea ebx, [edi + ebp]
push ebx
mov ecx, 0x576a94
call fcn.004173c0
add esp, 4
xor ecx, ecx
mov eax, ebx
test esi, esi
jle 0x417a8b
lea esp, [esp]
mov dl, byte [ecx + edi]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x417a80
push esi
push edi
push 0x576a94
call fcn.004d57a0
add esp, 0xc
add edi, esi
sub dword [esp + 0x10], 1
jne 0x417a60
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret
test eax, eax
jbe 0x417ac6
sub ebx, edi
mov ebp, eax
lea eax, [ebx + edi]
push eax
mov ecx, edi
call fcn.00417640
add esp, 4
add edi, esi
sub ebp, 1
jne 0x417ab1
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret

Function at 0x417b30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [eax + 4]
push ebp
mov ebp, dword [esp + 8]
push edi
mov edi, ecx
mov ecx, dword [eax]
test ebp, ebp
jbe 0x417b77
push ebx
push esi
inc cl
movzx esi, cl
mov bl, byte [eax + esi + 8]
add dl, bl
movzx edx, dl
mov cl, byte [eax + edx + 8]
mov byte [eax + esi + 8], cl
add cl, bl
movzx ecx, cl
mov byte [eax + edx + 8], bl
movzx ecx, byte [ecx + eax + 8]
xor byte [edi], cl
inc edi
sub ebp, 1
mov dword [esp + 0x14], esi
mov ecx, esi
jne 0x417b43
pop esi
pop ebx
pop edi
mov dword [eax + 4], edx
mov dword [eax], ecx
pop ebp
ret
Function at 0x418070
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
call fcn.00417b80
lea edi, [eax*4]
xor ebx, ebx
mov dword [esp + 0xc], eax
test edi, edi
jle 0x4180d5
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x418094
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, 1
jle 0x418290
lea edx, [eax - 1]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x542cb0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5434b0]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5430b0]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5438b0]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x542cb0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5434b0]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5430b0]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5438b0]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x542cb0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5434b0]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5430b0]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5438b0]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x542cb0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5434b0]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5430b0]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5438b0]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x4180e1
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43a910
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
push esi
push 0
lea eax, [esp + 8]
push eax
push 8
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x7405c
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x43a954
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0043a550
mov esi, eax
call fcn.004dc440
mov dword [eax], esi
or eax, 0xffffffff
or edx, eax
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop esi
add esp, 0x10
ret

Function at 0x43a970
Capabilities:
Get volume information via ioctl

Disassembly:
sub esp, 0x68
push esi
push 0
lea eax, [esp + 8]
push eax
push 0x60
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x90064
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x43a9b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0043a550
mov esi, eax
call fcn.004dc440
mov dword [eax], esi
or eax, 0xffffffff
or edx, eax
pop esi
add esp, 0x68
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push eax
push ecx
push 0
push edx
call fcn.004d5d30
pop esi
add esp, 0x68
ret

Function at 0x43ab70
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push ebp
and eax, 3
xor ebp, ebp
sub eax, ebp
push esi
mov esi, ecx
je 0x43ab9b
sub eax, 1
je 0x43ab94
sub eax, 1
je 0x43ab8d
xor eax, eax
jmp 0x43aba0
mov eax, 3
jmp 0x43aba0
mov eax, 2
jmp 0x43aba0
mov eax, 1
push ebp
push ebp
push 3
push ebp
push 3
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x43abd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0043a550
mov esi, eax
call fcn.004dc440
mov dword [eax], esi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
push edi
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esi], eax
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
jne 0x43ac0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0043a550
mov edi, eax
call fcn.004dc440
mov dword [eax], edi
mov eax, ebx
mov edx, ebx
jmp 0x43ac1e
mov edx, dword [esp + 0x10]
push 1
push ebp
push ebp
push edx
call fcn.004d5d30
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
mov dword [esi + 0x18], eax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x1c], edx
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x43ab7a
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push ebp
and eax, 3
xor ebp, ebp
sub eax, ebp
push esi
mov esi, ecx
je 0x43ab9b
sub eax, 1
je 0x43ab94
sub eax, 1
je 0x43ab8d
xor eax, eax
jmp 0x43aba0
mov eax, 3
jmp 0x43aba0
mov eax, 2
jmp 0x43aba0
mov eax, 1
push ebp
push ebp
push 3
push ebp
push 3
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x43abd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0043a550
mov esi, eax
call fcn.004dc440
mov dword [eax], esi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
push edi
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esi], eax
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
jne 0x43ac0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0043a550
mov edi, eax
call fcn.004dc440
mov dword [eax], edi
mov eax, ebx
mov edx, ebx
jmp 0x43ac1e
mov edx, dword [esp + 0x10]
push 1
push ebp
push ebp
push edx
call fcn.004d5d30
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
mov dword [esi + 0x18], eax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x1c], edx
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x449ce0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
push ebx
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
jne 0x449d14
xor eax, eax
pop ebx
add esp, 0xc
ret 0x20
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
call fcn.004d5c5c
add esp, 4
cmp dword [esp + 0x3c], 0
mov edi, eax
mov dword [esp + 0x30], 0
jbe 0x449e31
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov eax, esi
neg eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [ecx]
mov edx, dword [esp + 0x30]
xor ecx, ecx
add edx, dword [esp + 0x34]
adc ecx, dword [esp + 0x38]
xor eax, eax
push eax
push esi
push ecx
push edx
call fcn.004d5d30
push 0
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx eax, word [esp + 0x20]
sub eax, 3
je 0x449de6
sub eax, 1
jne 0x449e16
cmp ebp, esi
jle 0x449d9f
mov eax, dword [esp + 0x24]
push esi
push eax
jmp 0x449dad
test ebp, ebp
jle 0x449e50
mov ecx, dword [esp + 0x24]
push ebp
push ecx
push edi
call fcn.004d57a0
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x449e16
push edi
call fcn.004d5b05
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x20
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebp, esi
jle 0x449e03
mov ecx, dword [esp + 0x24]
push esi
push edi
push ecx
jmp 0x449e0e
test ebp, ebp
jle 0x449e50
mov edx, dword [esp + 0x24]
push ebp
push edi
push edx
call fcn.004d57a0
add esp, 0xc
mov eax, dword [esp + 0x30]
add ebp, dword [esp + 0x28]
add dword [esp + 0x24], esi
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x3c]
jb 0x449d50
push edi
call fcn.004d5b05
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 0x20
push esi
push 0
push edi
call fcn.004d5720
push edi
call fcn.004d5b05
add esp, 0x10
jmp 0x449e3a

Function at 0x449f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x449f5a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0x18
Function at 0x44a740
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa8]
mov ecx, 0x200
mul ecx
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
mov ebx, edx
movzx edx, word [esp + 0xac]
push esi
push edi
add edx, 0xffffff80
push edx
mov edi, eax
lea eax, [esp + 0x2c]
push str..PHYSICALDRIVE_d
push eax
mov edx, 0x80
call fcn.00449e70
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a81e
movzx eax, word [esp + 0xb0]
sub eax, 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
je 0x44a7f6
sub eax, 1
jne 0x44a817
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
shl ecx, 9
push ecx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x44a813
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
shl ecx, 9
push ecx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a822
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44a82e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d6555
add esp, 0x9c
ret 0x14
Function at 0x44a850
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56c3c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], 0
test ebx, ebx
je 0x44a8ac
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x44a8ac
lea eax, [edi + edi]
call fcn.004d6570
mov esi, esp
test esi, esi
je 0x44a8ac
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x44a8ae
xor eax, eax
push 0
push 0
push 3
push 0
push 7
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44a9b9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ecx], eax
div ebx
mov esi, eax
add esi, 2
shl esi, 4
push esi
call fcn.004d5c5c
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edi, eax
xor eax, eax
push eax
lea edx, [ebp - 0x28]
push edx
push esi
push edi
push 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0x90073
push ecx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44a9a6
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
xor edx, edx
lea eax, [eax + ebx - 1]
div ebx
mov ecx, dword [ebp + 0x10]
lea edx, [eax*8]
push edx
mov dword [ecx], eax
call fcn.004d5c5c
mov ebx, dword [edi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
add esp, 4
xor ecx, ecx
test eax, eax
jbe 0x44a9a6
add edi, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
sub eax, ebx
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
je 0x44a992
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
cmp ecx, dword [ebp - 0x14]
jae 0x44a986
mov ebx, dword [ebp - 8]
mov dword [ebx + ecx*8], edx
mov dword [ebx + ecx*8 + 4], esi
dec eax
inc ecx
add edx, 1
adc esi, 0
test eax, eax
jne 0x44a977
mov edx, dword [edi + 4]
mov ebx, dword [edi]
add edi, 0x10
sub dword [ebp - 0xc], 1
mov dword [ebp - 0x14], edx
jne 0x44a963
mov edi, dword [ebp - 0x1c]
push edi
call fcn.004d5b05
mov eax, dword [ebp - 0x10]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6555
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44b000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x56c3c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
inc eax
lea ebx, [eax + eax*2]
add ebx, ebx
add ebx, ebx
push ebx
mov dword [ebp - 0x410], ebx
call fcn.004910ff
mov esi, eax
add esp, 4
test esi, esi
je 0x44b12e
mov dword [esi], 0
mov dword [esi], 0x34532008
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
push ecx
push edx
lea eax, [esi + 0xc]
push eax
call fcn.004d57a0
add ebx, 0xfffffff8
lea eax, [esi + 8]
push ebx
push eax
call fcn.0047cf10
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x40a]
mov dword [esi + 4], eax
push edx
mov word [ebp - 0x40c], cx
call fcn.004d5720
add esp, 0x20
push 0x200
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov cl, byte [ebp - 0x40c]
xor eax, eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov al, 0x5c
lea edx, [ebp - 0xc]
push edx
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], al
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], al
mov byte [ebp - 8], cl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x44b0e8
xor eax, eax
jmp 0x44b0ff
lea eax, [ebx + ebx]
call fcn.004d6570
mov eax, esp
push 3
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0044a2c0
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
push edx
mov edx, dword [edi + 0x18]
push ecx
mov ecx, dword [edi + 0x10]
push edx
mov edx, dword [ebp - 0x410]
push ecx
push edx
push esi
push eax
push 4
mov ecx, edi
call fcn.00449ce0
push esi
mov edi, eax
call fcn.004910f4
add esp, 4
mov eax, edi
lea esp, [ebp - 0x41c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6555
mov esp, ebp
pop ebp
ret
Function at 0x44b214
Capabilities:
Get common file path

Disassembly:
sub esp, 0x804
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x44b238
mov eax, 1
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004d6555
add esp, 0x804
ret
push edi
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x412]
push ecx
mov word [esp + 0x414], ax
call fcn.004d5720
add esp, 0xc
push 0x200
lea edx, [esp + 0x40c]
push edx
mov ecx, esi
call fcn.0044a340
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.NTUSER.DAT
lea eax, [esp + 0x40c]
push eax
call edi
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.004d5720
add esp, 0xc
push 1
push 0x1a
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x53ef10
lea ecx, [esp + 0xc]
push ecx
call edi
push str.NTUSER.DAT
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0x408]
push eax
mov ecx, esi
call fcn.0044a130
mov dword [esi + 0xc], eax
pop edi
test eax, eax
jne 0x44b2eb
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.0044a130
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.004d6555
add esp, 0x804
ret
Function at 0x44b450
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x515758
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x56c3c0]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x238]
mov edi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
inc eax
lea ebx, [eax + eax*2]
add ebx, ebx
add ebx, ebx
push ebx
call fcn.004910ff
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
je 0x44b5b6
mov dword [esi], 0
mov dword [esi], 0x34532008
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
lea edx, [eax + eax*2]
mov eax, dword [edi + 4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [esi + 0xc]
push ecx
call fcn.004d57a0
lea edx, [ebx - 8]
push edx
lea eax, [esi + 8]
push eax
call fcn.0047cf10
mov edi, dword [ebp - 0x14]
add esp, 0x14
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
call fcn.004916c6
push 0
push 0x9002
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00491c12
test eax, eax
je 0x44b540
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.004913fc
lea ecx, [ebp - 0x28]
call fcn.00491660
mov dword [ebp - 0x14], 1
push 0x22c
lea eax, [ebp]
push 0
push eax
call fcn.004d5720
add esp, 0xc
lea ecx, [ebp]
push ecx
push edi
call fcn.00492563
test eax, eax
je 0x44b56f
or byte [ebp + 0x20], 6
lea edx, [ebp]
push edx
push edi
call fcn.0049273a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0049187d
jmp 0x44b5aa
push esi
call fcn.004910f4
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.004d6555
add ebp, 0x230
mov esp, ebp
pop ebp
ret 4

Function at 0x44b870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44b889
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44b8c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x44b8c0
lea ebx, [ebx]
cmp esi, eax
jae 0x44b8c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x44b8b0
cmp esi, eax
jb 0x44b8ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x44d340
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5158ce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00494702
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CBroListCtrl.0
lea ebp, [esi + 0x54]
call fcn.0049f0da
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44d399
push 0x80004005
call fcn.0044b810
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x20], 1
lea edi, [esi + 0x58]
call fcn.0049f0da
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44d3ca
push 0x80004005
call fcn.0044b810
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push ebx
push 0x53f778
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.0044c940
mov ecx, dword [edi]
push ebx
push ebx
push ecx
push ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
mov ecx, ebp
call fcn.0044cdc0
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret