joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d09
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10015f8
call fcn.01003ed4
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1003d46
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003d46
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003d5e
cmp eax, 0x20b
je 0x1003d4b
mov dword [ebp - 0x1c], ebx
jmp 0x1003d72
cmp dword [ecx + 0x84], 0xe
jbe 0x1003d46
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1003d6c
cmp dword [ecx + 0x74], 0xe
jbe 0x1003d46
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100f154], 0xffffffff
or dword [0x100f158], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100ef5c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100ef58]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100f15c], eax
call fcn.01003f60
cmp dword [0x100e028], ebx
jne 0x1003dcd
push fcn.01003f60
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003f49
push 0x100e01c
push 0x100e018
call sub.msvcrt.dll__initterm
mov eax, dword [0x100ef54]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100ef50]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x100e014
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1003e63
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1003e37
cmp al, 0x22
jne 0x1003e29
cmp byte [esi], 0x22
jne 0x1003e40
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1003e4a
cmp al, 0x20
jbe 0x1003e3c
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1003e6e
movzx eax, word [ebp - 0x50]
jmp 0x1003e71
cmp byte [esi], 0x20
jbe 0x1003e40
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1003e63
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1003e8e
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003ec3
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01003f0f
ret
Function at 0x1004115
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100e024]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
je 0x100419b
cmp dword [ecx + 8], 0
je 0x100419b
lea edx, [ebp - 0x214]
push edx
lea edx, [ebp - 0x210]
push edx
lea edx, [ebp - 0x218]
push edx
push 0
push eax
push dword [ecx + 0xc]
mov dword [ebp - 0x214], 0x106
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100419b
mov eax, dword [ebp - 0x214]
shr eax, 1
cmp eax, dword [esi]
ja 0x1004199
test edi, edi
je 0x1004199
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x214]
shr eax, 1
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x100419d
mov dword [esi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01003bf1
leave
ret 0xc

Function at 0x10041b0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
je 0x10041e2
cmp dword [ecx + 8], eax
je 0x10041e2
cmp dword [ecx + 4], eax
jne 0x10041e2
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push eax
push dword [ebp + 8]
push dword [ecx + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
jmp 0x10041e4
xor eax, eax
pop ebp
ret 8

Function at 0x10041ed
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp dword [ebp + 8], eax
je 0x1004243
cmp dword [ecx + 8], eax
je 0x1004243
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 8]
push edx
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 4
push dword [ecx + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1004243
cmp dword [ebp + 8], 4
je 0x1004230
cmp dword [ebp + 8], 3
jne 0x1004243
cmp dword [ebp - 4], 4
jne 0x1004243
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x1004245
xor eax, eax
leave
ret 8
Function at 0x1004d61
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x250]
push edi
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x168]
xor ebx, ebx
cmp eax, ebx
mov edi, 0x80004005
jne 0x1004d9d
push 0x100192c
push ebx
call fcn.0100bd82
pop ecx
pop ecx
jmp 0x1004e18
push dword [0x1003180]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x1004dd8
cmp eax, 0x102
je 0x1004dbc
push 0x10018d8
jmp 0x1004dc1
push 0x1001888
push ebx
call fcn.0100bd82
pop ecx
pop ecx
push edi
push dword [esi + 0x168]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1004e18
lea eax, [ebp - 8]
push eax
push dword [esi + 0x168]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1004df3
push 0x100184c
jmp 0x1004d93
push dword [esi + 0x168]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1004e25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100182c
push ebx
call fcn.0100bd82
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x1004e37
push dword [ebp - 4]
mov dword [esi + 0x168], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004f27
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x250]
push edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [esi + 0x170], ebx
mov edi, 0x80004005
jne 0x1004f64
push 0x10019fc
push ebx
call fcn.0100bd82
pop ecx
pop ecx
jmp 0x1005053
push dword [esi + 0x178]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x1004f8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10019e0
push ebx
call fcn.0100bd82
jmp 0x1005050
mov eax, dword [esi + 0x174]
push dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x1003198]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
push dword [ebp - 8]
jne 0x1004fe3
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x170]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1004ff2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100182c
push ebx
call fcn.0100bd82
mov dword [esi + 0x170], ebx
jmp 0x1005050
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0x80150175
jmp 0x1005056
push dword [esi + 0x174]
mov dword [esi + 0x170], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1005022
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100182c
push ebx
call fcn.0100bd82
mov dword [esi + 0x174], ebx
jmp 0x1005050
push dword [esi + 0x178]
mov dword [esi + 0x174], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10050a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100182c
push ebx
call fcn.0100bd82
mov dword [esi + 0x178], ebx
add esp, 0xc
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x170]
cmp eax, ebx
je 0x100507a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x170]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x170], ebx
lea edi, [esi + 0x174]
mov eax, dword [edi]
cmp eax, ebx
je 0x100508f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
add esi, 0x178
mov eax, dword [esi]
cmp eax, ebx
je 0x10050a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov ebx, dword [ebp - 4]
jmp 0x10050af
mov dword [esi + 0x178], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x1006e53
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
push 0x1002110
push ebx
mov esi, ecx
mov dword [ebp - 4], ebx
call fcn.0100bd82
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop ecx
lea eax, [esi + 0x250]
pop ecx
push eax
mov dword [ebp - 8], eax
call edi
cmp dword [esi + 0x168], ebx
je 0x1006fd7
push dword [ebp - 8]
mov dword [esi + 0x16c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x1003198]
lea eax, [esi + 0x168]
push ebx
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
je 0x1006f96
cmp eax, 0x102
je 0x1006f5b
call edi
cmp dword [ebp - 0xc], 0x80
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1006ef2
push 0x1001948
push ebx
call fcn.0100bd82
pop ecx
pop ecx
jmp 0x1006f03
call edi
push eax
push 0x10020e8
push ebx
call fcn.0100bd82
add esp, 0xc
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0x80004005
call fcn.0100a87f
cmp eax, ebx
mov dword [ebp - 0xc], eax
jge 0x1006f2e
push eax
push 0x10020bc
push ebx
call fcn.0100bd82
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
push dword [esi + 0x168]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x1006f98
call edi
push eax
push 0x1002098
push ebx
call fcn.0100bd82
add esp, 0xc
mov dword [ebp - 4], 0x80004005
jmp 0x1006f98
call edi
lea ecx, [esi + 0x1c]
call fcn.0100a87f
mov edi, eax
cmp edi, ebx
jge 0x1006f7d
push edi
push 0x10020bc
push ebx
call fcn.0100bd82
add esp, 0xc
mov dword [ebp - 4], edi
push edi
push dword [esi + 0x168]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x1006f98
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1006f43
call edi
mov ecx, esi
call fcn.01004d61
mov edi, eax
cmp edi, ebx
jge 0x1006fb7
push edi
push 0x1002064
push ebx
call fcn.0100bd82
add esp, 0xc
mov dword [ebp - 4], edi
lea ecx, [esi + 0x1c]
call fcn.0100a5ba
mov esi, eax
cmp esi, ebx
jge 0x1006fd7
push esi
push 0x1002044
push ebx
call fcn.0100bd82
add esp, 0xc
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10071ce
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x250]
push edi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x170], edi
mov dword [esi + 0x178], edi
je 0x1007204
mov dword [ebp - 4], 0x150010
jmp 0x1007271
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x174], eax
je 0x100722a
push edi
push edi
push edi
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x178], eax
jne 0x1007238
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100220c
jmp 0x1007261
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push 0x1006a42
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x170], eax
jne 0x10072a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10021ec
push edi
call fcn.0100bd82
add esp, 0xc
mov dword [ebp - 4], 0x80004005
lea ebx, [esi + 0x174]
mov eax, dword [ebx]
cmp eax, edi
je 0x1007286
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], edi
mov eax, dword [esi + 0x178]
cmp eax, edi
je 0x100729d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x178], edi
mov edi, dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1008f4e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x250]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x168], edi
mov dword [esi + 0x1b0], edi
je 0x1008f85
push 0x10025d8
push edi
call fcn.0100bd82
pop ecx
pop ecx
jmp 0x1008fb7
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x1008eed
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x168], eax
jne 0x1008fbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10021ec
push edi
call fcn.0100bd82
add esp, 0xc
mov edi, 0x80004005
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100a999
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp word [esi + eax*2 - 2], 0x5c
pop ecx
je 0x100a9c5
mov word [esi + eax*2], 0x5c
inc eax
and word [esi + eax*2], 0
mov ecx, 0x103
sub ecx, eax
push ecx
push 0x1002cd8
push esi
call dword [sym.imp.msvcrt.dll_wcsncat]
add esp, 0xc
pop esi
pop ebp
ret 4
Function at 0x100adab
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x100e024]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], eax
lea eax, [esi + 0x48]
push edi
push eax
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x358]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
mov dword [ebp - 0x358], 0x44
call fcn.0100a999
push 0x7f
lea eax, [ebp - 0x104]
push 0x1002cf4
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
xor edi, edi
lea ebx, [esi + 0x28]
push ebx
lea eax, [ebp - 0x358]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x310]
push eax
mov word [ebp - 6], di
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100ae40
mov dword [ebx], edi
jmp 0x100ae4d
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100ae55
mov dword [esi + 0x2c], edi
mov edi, 0x80004005
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01003bf1
leave
ret

Function at 0x100ae75
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x100e024]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], eax
lea eax, [esi + 0x48]
push edi
push eax
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x358]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
mov dword [ebp - 0x358], 0x44
call fcn.0100a999
push 0x7f
lea eax, [ebp - 0x104]
push 0x1002d14
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
xor edi, edi
lea ebx, [esi + 0x38]
push ebx
lea eax, [ebp - 0x358]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100af06
mov dword [ebx], edi
jmp 0x100af13
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100af1b
mov dword [esi + 0x3c], edi
mov edi, 0x80004005
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01003bf1
leave
ret
Function at 0x41111e
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x414545
Capabilities:
Delete file

Disassembly:
mov ecx, dword [ecx + 0xc4]
test ecx, ecx
je 0x414554
jmp fcn.0042b30a
ret

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

Disassembly:
mov eax, 0x44a947
call fcn.00444524
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esi], 0x4040a0
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0x8f4], eax
mov dword [esi + 0x8f8], eax
mov dword [esi + 0xda4], eax
mov dword [esi + 0xda8], eax
mov dword [esi + 0xdac], eax
mov dword [esi + 0xdb0], 0x7d0
call fcn.00418e16
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x420ef3
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x422cdb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x456778]
mov ebx, dword [edi + 0x94c]
push 0x402ff4
mov dword [ebp - 8], 0x80004005
call sub.MFC42u.DLL_CWinApp::GetSectionKey
mov esi, eax
test esi, esi
je 0x422d4f
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x402efc
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x40a220
add edi, 0x950
push edi
lea ecx, [ebp - 4]
call fcn.00420ef3
and dword [ebp - 4], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
lea ecx, [ebp - 4]
call fcn.00413ca6
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x422d57
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x456778]
push 0x402ec0
call sub.MFC42u.DLL_CWinApp::GetSectionKey
mov edi, eax
test edi, edi
je 0x422da1
push 0xc
add esi, 0x93c
push esi
push 3
push 0
push 0x402ed0
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [ebp - 4], 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.00413ca6
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x426d43
Capabilities:
Delete file

Disassembly:
mov eax, 0x44b14b
call fcn.00444524
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x406bac
mov eax, dword [esi + 0x6c]
test eax, eax
mov dword [ebp - 4], 3
je 0x426d7c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi + 0x6c], 0
mov eax, dword [esi + 0x74]
test eax, eax
je 0x426d89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x426d96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0x78], 0
je 0x426da6
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 4]
call sub.MFC42u.DLL_CPrintInfo::CPrintInfo
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x406b94
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x428c4f
Capabilities:
Delete file

Disassembly:
push edi
lea edi, [ecx + 0x4ee]
cmp word [edi], 0
je 0x428c7f
add ecx, 0x68
push ecx
push edi
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x428c7f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x82
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
ret

Function at 0x428d23
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2c4]
xor eax, eax
add ecx, 4
cmp dword [esi + 0x274], eax
je 0x428d59
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esi + 0x298], 0
jne 0x428d56
cmp eax, 0xffffffff
je 0x428d52
test al, 1
jne 0x428d56
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret

Function at 0x42ade3
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x2c4]
mov ecx, dword [ebp + 0xc]
xor eax, eax
xor ebx, ebx
inc ebx
add esi, 4
mov dword [edi + 0x6f8], ebx
push esi
mov dword [ecx], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x10
pop ecx
cmp eax, ecx
je 0x42ae2d
cmp eax, 0xffffffff
jne 0x42ae4a
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [eax], 0x80004005
mov dword [ebp - 8], 0x11fe
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [edi + 0x2e0], eax
je 0x42ae5d
mov dword [edi + 0x298], ebx
cmp dword [ebp - 4], 0
je 0x42aecd
mov eax, dword [edi + 0x2c4]
mov eax, dword [eax]
mov ecx, dword [eax]
push 0
push 2
push eax
mov dword [ebp + 0x14], eax
call dword [ecx + 0x30]
push ebx
call fcn.00436f3d
xor ebx, ebx
push ebx
push ebx
push esi
mov ecx, edi
call fcn.0042a6b6
xor ecx, ecx
cmp eax, ebx
setge cl
mov dword [ebp - 0xc], eax
cmp ecx, ebx
mov dword [ebp - 4], ecx
je 0x42aeba
mov ecx, dword [0x456778]
push esi
call fcn.0042e1a7
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0xc]
push edx
push 0x40000000
push eax
call dword [ecx + 0x34]
push ebx
call fcn.00436f3d
cmp dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x42af00
cmp dword [ebp - 8], 0xffffffff
je 0x42af00
mov ecx, dword [0x456778]
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.0042ee8a
cmp dword [ebp - 8], 0x11fe
jne 0x42af00
push 0
mov ecx, edi
call fcn.00428b80
and dword [edi + 0x6f8], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10