joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a551
Capabilities:
Get common file path

Disassembly:
mov eax, 0x44bf1e
call fcn.00444524
sub esp, 0x218
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call sub.MFC42u.DLL_CString::CString_3
mov eax, 0x40912c
push eax
push eax
mov eax, 0x409114
push eax
push eax
mov eax, 0x409108
push eax
push eax
mov eax, 0x4090fc
push eax
push eax
mov eax, 0x4090e0
push eax
push eax
mov eax, 0x409088
push eax
push eax
lea eax, [ebp - 0x14]
push 0x1299
push eax
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::Format_1
mov esi, dword [ebp + 0x18]
xor eax, eax
mov word [ebp - 0x224], bx
mov ecx, 0x81
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
add esp, 0x38
cmp esi, ebx
stosw word es:[edi], ax
jne 0x43a64c
mov eax, dword [0x456778]
mov dword [ebp + 0x18], ebx
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x43a5e1
xor eax, eax
jmp 0x43a5e4
mov eax, dword [eax + 0x20]
lea ecx, [ebp + 0x18]
push ecx
push 0x27
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x43a65a
cmp dword [ebp + 0x18], ebx
je 0x43a65a
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0x18]
call fcn.00438d68
test eax, eax
je 0x43a613
lea esi, [ebp - 0x224]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
mov eax, dword [ebp - 0x10]
jl 0x43a63b
cmp eax, ebx
je 0x43a63b
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x43a648
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
je 0x43a65a
push esi
push 0x104
push dword [ebp + 0xc]
call fcn.0041723a
mov ecx, dword [0x456778]
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push 0x1800
push ebx
call fcn.00431575
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x43a69b
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x1c]
push edx
push 0x40000000
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x43b170
Capabilities:
Set registry value

Disassembly:
mov eax, 0x44bfb4
call fcn.00444524
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov esi, 0x80004005
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov ecx, dword [0x456778]
push 0x402fe8
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CWinApp::GetSectionKey
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x43b2d5
push edi
push edi
push 0xf003f
push edi
push edi
push 0x402fd8
push eax
lea ecx, [ebp - 0x14]
call fcn.00413cbd
cmp dword [ebp - 0x14], edi
je 0x43b2c7
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x43b1e2
inc eax
mov dword [ebp - 0x18], eax
jmp 0x43b1e9
mov dword [ebp - 0x18], 5
cmp dword [ebp - 0x18], edi
mov dword [ebp + 8], edi
jle 0x43b2bf
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ebx, 0x1a7c
push dword [ebp + 8]
lea eax, [ebp - 0x60]
push 0x402fbc
push 0x40913c
push eax
call fcn.00413d83
add esp, 0x10
push edi
push edi
push 0xf003f
push edi
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00413cbd
cmp dword [ebp - 0x10], edi
je 0x43b2ad
mov eax, dword [ebx - 4]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402fb0
push dword [ebp - 0x10]
call esi
fld dword [ebx]
fmul dword [0x409080]
call sub.msvcrt.dll__ftol
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402f4c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 4]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402f38
push dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 8]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402f24
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x10]
call fcn.00413ca6
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ebx, 0x20
cmp eax, dword [ebp - 0x18]
jl 0x43b201
lea ecx, [ebp - 0x14]
call fcn.00413ca6
push dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.00413ca6
lea ecx, [ebp - 0x14]
call fcn.00413ca6
lea ecx, [ebp - 0x18]
call fcn.00413ca6
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43b300
Capabilities:
Set registry value

Disassembly:
mov eax, 0x44bfb4
call fcn.00444524
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov esi, 0x80004005
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov ecx, dword [0x456778]
push 0x402fe8
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CWinApp::GetSectionKey
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x43b465
push edi
push edi
push 0xf003f
push edi
push edi
push 0x402fc4
push eax
lea ecx, [ebp - 0x14]
call fcn.00413cbd
cmp dword [ebp - 0x14], edi
je 0x43b457
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x43b372
inc eax
mov dword [ebp - 0x18], eax
jmp 0x43b379
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], edi
mov dword [ebp + 8], edi
jle 0x43b44f
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add ebx, 0x1b1c
push dword [ebp + 8]
lea eax, [ebp - 0x60]
push 0x402fbc
push 0x40913c
push eax
call fcn.00413d83
add esp, 0x10
push edi
push edi
push 0xf003f
push edi
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00413cbd
cmp dword [ebp - 0x10], edi
je 0x43b43d
mov eax, dword [ebx - 4]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402fb0
push dword [ebp - 0x10]
call esi
fld dword [ebx]
fmul dword [0x409080]
call sub.msvcrt.dll__ftol
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402f4c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 4]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402f38
push dword [ebp - 0x10]
call esi
mov eax, dword [ebx + 8]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push 0x402f24
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x10]
call fcn.00413ca6
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ebx, 0x20
cmp eax, dword [ebp - 0x18]
jl 0x43b391
lea ecx, [ebp - 0x14]
call fcn.00413ca6
push dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.00413ca6
lea ecx, [ebp - 0x14]
call fcn.00413ca6
lea ecx, [ebp - 0x18]
call fcn.00413ca6
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43b490
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44bfc6
call fcn.00444524
sub esp, 0xe4
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 0x18], esi
push 0x74
pop edx
push 0x1d
pop ecx
xor eax, eax
lea edi, [ebp - 0xf0]
rep stosd dword es:[edi], eax
mov ecx, dword [0x456778]
push 0x402ec0
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], 3
mov dword [ebp - 0xf0], edx
call sub.MFC42u.DLL_CWinApp::GetSectionKey
cmp eax, esi
mov dword [ebp - 0x20], eax
je 0x43b538
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0x402ee8
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b527
cmp dword [ebp - 0x14], 3
jne 0x43b527
and dword [ebp - 0x10], eax
push 0x1d
lea edi, [ebx + 0x80c]
pop ecx
lea esi, [ebp - 0xf0]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp - 0x20]
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], esi
jge 0x43b58c
push 0x17
xor eax, eax
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov eax, dword [0x4566cc]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x456778]
mov al, byte [eax + 0xf3c]
push 0x456738
mov byte [ebp - 0x65], al
push 0x20
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x6c], 0x190
mov byte [ebp - 0x61], 0x22
call fcn.0040feeb
push eax
call fcn.00416530
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebx + 0x80c]
push eax
mov ecx, ebx
call fcn.0043abd5
lea ecx, [ebp - 0x18]
call fcn.00413ca6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43b835
Capabilities:
Set registry value

Disassembly:
mov eax, 0x44bffa
call fcn.00444524
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [0x456778]
add ecx, 0x8fc
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ecx
call fcn.00426624
mov esi, eax
cmp esi, ebx
jl 0x43b93d
mov ecx, dword [0x456778]
push 0x403024
mov esi, 0x80004005
call sub.MFC42u.DLL_CWinApp::GetSectionKey
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x43b92e
push ebx
push ebx
push 0xf003f
push ebx
push ebx
push 0x402f1c
push eax
lea ecx, [ebp - 0x10]
call fcn.00413cbd
cmp dword [ebp - 0x10], ebx
je 0x43b922
mov eax, dword [edi + 0x1b8c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push 0x402fa0
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x14], ebx
add edi, 0x1b7c
push dword [ebp - 0x14]
lea eax, [ebp - 0x64]
push 0x402818
push eax
call fcn.00413d83
mov eax, dword [edi]
add esp, 0xc
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x10]
call esi
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
jl 0x43b8de
lea ecx, [ebp - 0x10]
call fcn.00413ca6
mov edi, dword [ebp - 0x1c]
xor esi, esi
push dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
add edi, 0x948
push edi
call fcn.0042664d
lea ecx, [ebp - 0x10]
call fcn.00413ca6
lea ecx, [ebp - 0x14]
call fcn.00413ca6
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44065e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44c42c
call fcn.00444524
sub esp, 0x21c
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x10], 0x80070057
je 0x440801
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
jbe 0x440801
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x440801
push esi
push edi
mov word [ebp - 0x228], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 1
stosw word es:[edi], ax
mov dword [ebp - 0x14], ebx
mov edi, 0x20019
push edi
push dword [ebp - 0x1c]
mov esi, SysReAllocString
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0044050a
cmp dword [ebp - 0x14], ebx
je 0x440781
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x402820
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x104
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x440781
push edi
lea eax, [ebp - 0x228]
push eax
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.0044050a
cmp dword [ebp + 8], ebx
je 0x440779
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x402820
push dword [ebp + 8]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x440779
mov esi, dword [ebp + 0xc]
push edi
push 0x40a134
push dword [ebp + 8]
mov ecx, esi
call fcn.0044050a
cmp dword [esi], ebx
je 0x440779
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 8]
call fcn.00413ca6
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x4407f7
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [ebp - 0x228]
push eax
call esi
pop ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], ebx
je 0x4407a9
cmp eax, ebx
lea eax, [ebp - 0x228]
jne 0x4407ac
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp + 8], eax
call esi
mov esi, eax
inc esi
lea eax, [esi + esi]
push eax
call sub.MFC42u.DLL_operatornew
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi], eax
je 0x4407e3
push dword [ebp + 8]
push esi
push eax
call fcn.0041000a
cmp eax, ebx
jge 0x4407ea
push dword [edi]
mov dword [ebp - 0x10], eax
call sub.MFC42u.DLL_operatordelete
pop ecx
mov dword [edi], ebx
jmp 0x4407ea
mov dword [ebp - 0x10], 0x8007000e
cmp dword [ebp - 0x10], ebx
jge 0x4407f7
mov ecx, dword [ebp + 0xc]
call fcn.00413ca6
lea ecx, [ebp - 0x14]
call fcn.00413ca6
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x440b7b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0x80070057
je 0x440c92
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
jbe 0x440c92
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, 0xf003f
push ebx
mov edi, 0x40a1a8
push edi
mov esi, SysReAllocString
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 8], 0x80004005
call fcn.0044050a
xor eax, eax
cmp dword [ebp - 4], eax
jne 0x440c10
push eax
push eax
push ebx
push eax
push eax
push edi
push esi
lea ecx, [ebp - 4]
call fcn.00413cbd
cmp dword [ebp - 4], 0
je 0x440c87
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x40a190
push dword [ebp - 4]
mov dword [ebp - 0xc], 3
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop ebx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push 0x40a178
push dword [ebp - 4]
xor esi, esi
inc esi
mov dword [ebp - 0xc], esi
call edi
test eax, eax
jne 0x440c87
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov dword [ebp - 0xc], esi
xor esi, esi
push esi
push 0x40a15c
push dword [ebp - 4]
call edi
test eax, eax
jne 0x440c87
mov eax, dword [ebp + 0xc]
cmp eax, esi
mov dword [ebp - 8], esi
je 0x440c7c
mov ecx, dword [ebp + 0x10]
cmp word [eax + ecx*2], si
jne 0x440c7c
push 0x40a140
push eax
lea ecx, [ebp - 4]
call fcn.00420ef3
test eax, eax
je 0x440c7c
mov dword [ebp - 8], 0x80004005
jmp 0x440c87
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
call fcn.00440626
lea ecx, [ebp - 4]
call fcn.00413ca6
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x440cc1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44c42c
call fcn.00444524
sub esp, 0x830
push ebx
push edi
xor edx, edx
mov ebx, 0x81
xor eax, eax
cmp dword [ebp + 8], edx
mov word [ebp - 0x224], dx
mov ecx, ebx
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], 0x80070057
stosw word es:[edi], ax
je 0x440eb2
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
jbe 0x440eb2
push esi
mov esi, 0x104
cmp dword [ebp + 0x10], esi
jb 0x440eb1
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x440eb1
mov dword [ebp - 0x14], edi
push 0x20019
push 0x40a1a8
push SysReAllocString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0044050a
cmp dword [ebp - 0x14], edi
je 0x440d78
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x40a220
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x440d90
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.004378cc
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x440e9e
push dword [ebp + 8]
mov dword [ebp - 0x10], 0x80070057
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
cmp edx, edi
je 0x440e9e
mov word [ebp - 0x634], di
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x632]
rep stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x634]
push eax
call fcn.0040feeb
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x440e9e
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
and word [ebp - 0x83c], 0
and word [ebp - 0x42c], 0
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x40a214
lea eax, [ebp - 0x83c]
push esi
push eax
call fcn.00440c99
add esp, 0x14
call fcn.00440aff
cmp eax, 1
lea eax, [ebp - 0x42c]
jne 0x440e4b
push 0x40a208
jmp 0x440e50
push 0x408080
push esi
push eax
call fcn.0040feeb
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.00437ae6
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x440e9e
cmp dword [ebp + 0x10], 0x7fffffff
jbe 0x440e85
mov eax, 0x80070057
jmp 0x440e97
lea eax, [ebp - 0x83c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040feeb
test eax, eax
mov dword [ebp - 0x10], eax
jge 0x440ea9
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor eax, eax
rep stosw word es:[edi], ax
lea ecx, [ebp - 0x14]
call fcn.00413ca6
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x444226
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x40ad60
call fcn.00444630
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x444261
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x444261
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x444279
cmp eax, 0x20b
je 0x444266
mov dword [ebp - 0x1c], edi
jmp 0x44428d
cmp dword [ecx + 0x84], 0xe
jbe 0x444261
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x444287
cmp dword [ecx + 0x74], 0xe
jbe 0x444261
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x458284], 0xffffffff
or dword [0x458288], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x457f10]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x457f0c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x458280], eax
call fcn.0042f278
cmp dword [0x455f90], edi
jne 0x4442ea
push fcn.0042f278
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00444686
push 0x402040
push 0x40203c
call sub.msvcrt.dll__initterm
mov eax, dword [0x457f08]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x457f04]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x402038
push 0x401fe8
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x444350
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x44440a
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x44439e
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x44436c
cmp ax, 0x22
jne 0x444359
cmp word [esi], 0x22
jne 0x444377
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x444385
cmp ax, 0x20
jbe 0x444372
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x4443ab
movzx eax, word [ebp - 0x48]
jmp 0x4443ae
cmp word [esi], 0x20
jbe 0x444377
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x44439e
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x4443cf
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x444404
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00444669
ret
Function at 0x4446e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x40ae90
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x444738
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x40aecc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44472b
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x44473a
xor eax, eax
pop esi
leave
ret 4
Function at 0x447b90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
xor edi, edi
test esi, esi
jne 0x447bab
mov esi, 0x406bc0
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x447bd6
push eax
push 0x104
lea eax, [esp + 0x14]
push eax
call fcn.0040feeb
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.msvcrt.dll_wcslen]
add esp, 4
jmp 0x447be6
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
mov ebx, dword [esp + 0x218]
je 0x447c5d
push ebx
push 0
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x447c73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x13
ja 0x447c33
je 0x447c5d
mov ecx, eax
sub ecx, 3
je 0x447c5d
sub ecx, 2
jne 0x447c3a
pop edi
pop esi
mov word [ebx], 0
mov eax, 0xc6c8111f
pop ebx
add esp, 0x208
ret 0xc
cmp eax, 0x10b
je 0x447c5d
test eax, eax
jle 0x447c4a
and eax, 0xffff
or eax, 0x80070000
test eax, eax
jge 0x447c75
pop edi
pop esi
mov word [ebx], 0
pop ebx
add esp, 0x208
ret 0xc
pop edi
pop esi
mov word [ebx], 0
mov eax, 0xc6c81099
pop ebx
add esp, 0x208
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0xc