joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b67b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x56c3c4]
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]
mov dword [ebp - 0x828], ebx
cmp word [0x56f858], 0
jne 0x4239ca
push 0x20219
push str.SOFTWAREHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.0041cd20
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x4239bf
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push 0x52c9c0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4239bf
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x42395c
cmp eax, 2
jne 0x4239bf
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x423979
test al, 1
jne 0x4239bf
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x423982
jmp 0x4239bf
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x56f858
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x4239b2
movzx eax, word [esi + ecx]
test ax, ax
je 0x4239b2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x423994
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x4239ca
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x56f858
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x423a1b
mov ecx, 0x56f858
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x423a0e
movzx eax, word [esi + ecx]
test ax, ax
je 0x423a0e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4239f0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x423a8a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x56f858
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0040a540
test al, al
jne 0x423a6c
mov ecx, 0x56f858
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423a50
sub ecx, edx
sar ecx, 1
push ecx
push 0x56f858
mov ecx, ebx
call fcn.0040b750
mov eax, ebx
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.0045945a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b60
int3
Function at 0x426510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bc5b
mov eax, dword fs:[0]
push eax
sub esp, 0xa40
mov eax, dword [0x56c3c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa48], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa4c], esi
test esi, esi
jne 0x42655a
xor eax, eax
jmp 0x426782
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
mov eax, 0x14f38f63
imul ecx
push 0x208
sar edx, 7
lea eax, [ebp - 0x420]
mov ebx, edx
push 0
shr ebx, 0x1f
push eax
add ebx, edx
call fcn.00492a50
add esp, 0xc
call fcn.00428060
test al, al
lea eax, [ebp - 0x420]
je 0x42659d
push str.Utils_rundll64.exe
jmp 0x4265a2
push str.Utils_rundll.exe
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test ebx, ebx
jle 0x42677d
xor edi, edi
mov dword [ebp - 0xa44], edi
nop word [eax + eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.00492a50
mov eax, dword [ebp - 0xa48]
mov ecx, 0x187
push 0x208
push 0
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x218]
add esi, edi
lea edi, [ebp - 0xa3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00492a50
add esp, 0x18
lea eax, [ebp - 0xa3c]
push eax
push dword [ebp - 0xa4c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426645
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.004215a0
add esp, 8
jmp 0x426762
mov eax, dword [0x56f674]
test al, 1
jne 0x426684
or eax, 1
mov dword [0x56f674], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x528730
mov dword [0x56f668], 0x52c868
mov dword [0x56f66c], eax
mov byte [0x56f670], 0
call fcn.00459445
mov eax, dword [0x56f674]
add esp, 4
test al, 2
jne 0x4266e0
or eax, 2
mov dword [0x56f678], 0x52c880
mov dword [0x56f674], eax
xor eax, eax
push 0x528760
mov dword [0x56f67c], 0x56f668
mov dword [0x56f68c], 2
mov dword [0x56f684], 0
mov dword [0x56f688], 0
mov dword [0x56f690], eax
mov dword [0x56f680], 0x56f678
call fcn.00459445
add esp, 4
mov eax, dword [0x56f678]
mov ecx, 0x56f678
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa40], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa40]
push str.__dll__s____entry_s__s
push eax
call fcn.0040c210
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa40]
lea eax, [ebp - 0x420]
push 1
push 0
push esi
push eax
call fcn.004320f0
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426762
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xa44]
add edi, 0x61c
mov dword [ebp - 0xa44], edi
sub ebx, 1
jne 0x4265c0
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.0045945a
mov esp, ebp
pop ebp
ret 8
Function at 0x42a680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x1c], 0x4c0048
mov dword [ebp - 0x18], 0x720050
mov dword [ebp - 0x14], 0x740065
mov dword [ebp - 0x10], 0x790074
mov dword [ebp - 0xc], 0x650044
mov dword [ebp - 8], 0x6b0073
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42a710
mov eax, dword [ecx]
push 2
push 0xc
call dword [eax]
test eax, eax
je 0x42a71a
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xc
jl 0x42a706
mov dword [eax - 0xc], 0xc
xor eax, eax
mov ecx, dword [esi]
push 0x18
mov word [ecx + 0x18], ax
lea eax, [ebp - 0x1c]
push eax
push 0x18
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3

Function at 0x42a720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0x740055
mov dword [ebp - 0x20], 0x6c0069
mov dword [ebp - 0x1c], 0x5c0073
mov dword [ebp - 0x18], 0x750067
mov dword [ebp - 0x14], 0x720061
mov dword [ebp - 0x10], 0x680064
mov dword [ebp - 0xc], 0x2e0070
mov dword [ebp - 8], 0x780065
mov dword [ebp - 4], 0x65
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42a7bf
mov eax, dword [ecx]
push 2
push 0x11
call dword [eax]
test eax, eax
je 0x42a7c9
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x11
jl 0x42a7b5
mov dword [eax - 0xc], 0x11
xor eax, eax
mov ecx, dword [esi]
push 0x22
mov word [ecx + 0x22], ax
lea eax, [ebp - 0x24]
push eax
push 0x22
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3

Function at 0x42a7d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
mov dword [ebp - 0x28], 0x740055
mov dword [ebp - 0x24], 0x6c0069
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x610048
mov dword [ebp - 0x18], 0x6f006c
mov dword [ebp - 0x14], 0x610042
mov dword [ebp - 0x10], 0x64006e
mov dword [ebp - 0xc], 0x64002e
mov dword [ebp - 8], 0x6c006c
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42a875
mov eax, dword [ecx]
push 2
push 0x12
call dword [eax]
test eax, eax
je 0x42a87f
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x12
jl 0x42a86b
mov dword [eax - 0xc], 0x12
xor eax, eax
mov ecx, dword [esi]
push 0x24
mov word [ecx + 0x24], ax
lea eax, [ebp - 0x28]
push eax
push 0x24
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3
Function at 0x42a920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x1c], 0x4c0048
mov dword [ebp - 0x18], 0x720050
mov dword [ebp - 0x14], 0x740065
mov dword [ebp - 0x10], 0x790074
mov dword [ebp - 0xc], 0x650044
mov dword [ebp - 8], 0x6b0073
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42a9b0
mov eax, dword [ecx]
push 2
push 0xc
call dword [eax]
test eax, eax
je 0x42a9ba
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xc
jl 0x42a9a6
mov dword [eax - 0xc], 0xc
xor eax, eax
mov ecx, dword [esi]
push 0x18
mov word [ecx + 0x18], ax
lea eax, [ebp - 0x1c]
push eax
push 0x18
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3

Function at 0x42a9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor eax, eax
mov dword [ebp - 0x28], 0x740055
mov dword [ebp - 0x24], 0x6c0069
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x69004d
mov dword [ebp - 0x18], 0x69006e
mov dword [ebp - 0x14], 0x65004e
mov dword [ebp - 0x10], 0x730077
mov dword [ebp - 0xc], 0x65002e
mov dword [ebp - 8], 0x650078
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42aa65
mov eax, dword [ecx]
push 2
push 0x12
call dword [eax]
test eax, eax
je 0x42aa6f
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x12
jl 0x42aa5b
mov dword [eax - 0xc], 0x12
xor eax, eax
mov ecx, dword [esi]
push 0x24
mov word [ecx + 0x24], ax
lea eax, [ebp - 0x28]
push eax
push 0x24
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3

Function at 0x42aa80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
xor eax, eax
mov dword [ebp - 0x30], 0x740055
mov dword [ebp - 0x2c], 0x6c0069
mov dword [ebp - 0x28], 0x5c0073
mov dword [ebp - 0x24], 0x610048
mov dword [ebp - 0x20], 0x6f006c
mov dword [ebp - 0x1c], 0x610042
mov dword [ebp - 0x18], 0x64006e
mov dword [ebp - 0x14], 0x78005f
mov dword [ebp - 0x10], 0x340036
mov dword [ebp - 0xc], 0x64002e
mov dword [ebp - 8], 0x6c006c
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42ab33
mov eax, dword [ecx]
push 2
push 0x16
call dword [eax]
test eax, eax
je 0x42ab3d
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x16
jl 0x42ab29
mov dword [eax - 0xc], 0x16
xor eax, eax
mov ecx, dword [esi]
push 0x2c
mov word [ecx + 0x2c], ax
lea eax, [ebp - 0x30]
push eax
push 0x2c
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3
Function at 0x42ab50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x18], 0x650044
mov dword [ebp - 0x14], 0x6b0073
mov dword [ebp - 0x10], 0x6f0074
mov dword [ebp - 0xc], 0x530070
mov dword [ebp - 8], 0x630076
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42abd9
mov eax, dword [ecx]
push 2
push 0xa
call dword [eax]
test eax, eax
je 0x42abe3
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xa
jl 0x42abcf
mov dword [eax - 0xc], 0xa
xor eax, eax
mov ecx, dword [esi]
push 0x14
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x18]
push eax
push 0x14
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3

Function at 0x42ac80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x18], 0x650044
mov dword [ebp - 0x14], 0x6b0073
mov dword [ebp - 0x10], 0x6f0074
mov dword [ebp - 0xc], 0x530070
mov dword [ebp - 8], 0x630076
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42ad09
mov eax, dword [ecx]
push 2
push 0xa
call dword [eax]
test eax, eax
je 0x42ad13
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xa
jl 0x42acff
mov dword [eax - 0xc], 0xa
xor eax, eax
mov ecx, dword [esi]
push 0x14
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x18]
push eax
push 0x14
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3
Function at 0x42ad20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x60], 0x55002f
mov dword [ebp - 0x5c], 0x49006e
mov dword [ebp - 0x58], 0x73006e
mov dword [ebp - 0x54], 0x610074
mov dword [ebp - 0x50], 0x6c006c
mov dword [ebp - 0x4c], 0x650044
mov dword [ebp - 0x48], 0x6b0073
mov dword [ebp - 0x44], 0x2f0020
mov dword [ebp - 0x40], 0x6f004c
mov dword [ebp - 0x3c], 0x6b0063
mov dword [ebp - 0x38], 0x6f0048
mov dword [ebp - 0x34], 0x65006d
mov dword [ebp - 0x30], 0x610050
mov dword [ebp - 0x2c], 0x650067
mov dword [ebp - 0x28], 0x610050
mov dword [ebp - 0x24], 0x680074
mov dword [ebp - 0x20], 0x22003d
mov dword [ebp - 0x1c], 0x730025
mov dword [ebp - 0x18], 0x200022
mov dword [ebp - 0x14], 0x50002f
mov dword [ebp - 0x10], 0x640069
mov dword [ebp - 0xc], 0x68003d
mov dword [ebp - 8], 0x6c0061
mov dword [ebp - 4], 0x6f
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42ae2c
mov eax, dword [ecx]
push 2
push 0x2f
call dword [eax]
test eax, eax
je 0x42ae36
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x2f
jl 0x42ae22
mov dword [eax - 0xc], 0x2f
xor eax, eax
mov ecx, dword [esi]
push 0x5e
mov word [ecx + 0x5e], ax
lea eax, [ebp - 0x60]
push eax
push 0x5e
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3

Function at 0x42aed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x1c], 0x650072
mov dword [ebp - 0x18], 0x730067
mov dword [ebp - 0x14], 0x720076
mov dword [ebp - 0x10], 0x320033
mov dword [ebp - 0xc], 0x65002e
mov dword [ebp - 8], 0x650078
mov word [ebp - 4], ax
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42af60
mov eax, dword [ecx]
push 2
push 0xc
call dword [eax]
test eax, eax
je 0x42af6a
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xc
jl 0x42af56
mov dword [eax - 0xc], 0xc
xor eax, eax
mov ecx, dword [esi]
push 0x18
mov word [ecx + 0x18], ax
lea eax, [ebp - 0x1c]
push eax
push 0x18
push dword [esi]
call fcn.0042d5f0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b60
push 0x80004005
call fcn.00404b60
call fcn.00405150
int3
Function at 0x42b8c0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x56c3c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
mov dword [ebp - 0x630], edi
call fcn.00492a50
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push str.HaloDesktopData
push eax
call ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b954
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.config.ini
lea eax, [ebp - 0x420]
push eax
call ebx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00492a50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00492a50
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x531ce4
lea eax, [ebp - 0x218]
push eax
call ebx
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42baec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x62c]
call fcn.0040a540
test al, al
jne 0x42ba22
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ba00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.0040b750
mov esi, dword [ebp - 0x62c]
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0xffffffff
push eax
push esi
push str.SavePath
push str.Theme
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ba6b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x531ce4
lea eax, [ebp - 0x628]
push eax
call ebx
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42baf6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0040a540
test al, al
jne 0x42bace
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bab0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040b750
mov eax, edi
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.0045945a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b60
push 0x80004005
call fcn.00404b60
int3
Function at 0x42bc00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c500
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x56c3c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004230a0
mov ecx, eax
test ecx, ecx
je 0x42bce1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push 0x532180
push eax
mov dword [ebp - 4], 0
call fcn.0040c210
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 0x64
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov eax, 0x63
mov dword [ebp - 0x1c], 0x42bd00
cmovl eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.0042db10
add esp, 4
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x1c], 0
add esi, 0xfffffff0
mov dword [ebp - 0x18], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42bccd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b60
int3
Function at 0x42c310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00459470
mov eax, dword [0x56c3c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00492a50
add esp, 0xc
lea eax, [ebp - 0x804]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00492a50
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x53219c
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1004]
push eax
call fcn.00430d80
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.00492a50
add esp, 0x10
lea eax, [ebp - 0x1804]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.00492a50
add esp, 0xc
lea eax, [ebp - 0x1804]
push 0x53219c
push eax
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x2004]
push eax
call fcn.00430d80
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.0045945a
mov esp, ebp
pop ebp
ret
Function at 0x42df00
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.00459470
mov eax, dword [0x56c3c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x1318], eax
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.00492a50
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.00492a50
add esp, 0x18
lea eax, [ebp - 0x1304]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.00492a50
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.00492a50
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.0042dd20
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e030
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004c40e1
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.004cacf7
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x42e0b5
inc esi
cmp esi, 0xa
jl 0x42df82
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045945a
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42e0c0
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0040b750
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045945a
mov esp, ebp
pop ebp
ret