joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d1a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0
push 0x69afe8
mov ecx, dword [ebp + 8]
call fcn.0042a210
cmp eax, 1
je 0x51d1d5
push 0
push 0x69aff0
mov ecx, dword [ebp + 8]
call fcn.0042a210
cmp eax, 1
je 0x51d1d5
xor eax, eax
jmp 0x51d2b1
push 2
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.0045e690
push 0x69aff8
lea ecx, [ebp - 4]
call fcn.00422730
test eax, eax
je 0x51d205
push 0x69b000
lea ecx, [ebp - 4]
call fcn.00422730
test eax, eax
jne 0x51d21c
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
call fcn.00413870
mov eax, dword [ebp - 8]
jmp 0x51d2b1
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 3
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045e690
mov ecx, eax
call fcn.0040d3c0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.00413870
cmp dword [ebp - 0x10], 0
je 0x51d29f
cmp dword [ebp + 0x10], 0
je 0x51d277
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
cmp dword [ebp + 0xc], 0
je 0x51d28b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 4]
call fcn.00413870
mov eax, dword [ebp - 0x14]
jmp 0x51d2b1
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.00413870
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x51f020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 8], 0
je 0x51f04a
jmp 0x51f112
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0063a460
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.DynWpDynwallpaper.dll
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x51f0a6
jmp 0x51f112
lea eax, [ebp - 0x20c]
push eax
call fcn.005b0540
add esp, 4
test eax, eax
jne 0x51f0bb
jmp 0x51f112
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x210]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x210]
cmp dword [eax + 8], 0
jne 0x51f0df
jmp 0x51f112
push str.GetDynWpMgr2
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x51f112
call dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x52ce80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x52ce9a
xor al, al
jmp 0x52cf3a
cmp dword [ebp + 0xc], 0
jne 0x52cea7
xor al, al
jmp 0x52cf3a
cmp dword [ebp + 0x10], 0
jne 0x52ceb4
xor al, al
jmp 0x52cf3a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x52ceca
xor al, al
jmp 0x52cf3a
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0x40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x52cef6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor al, al
jmp 0x52cf3a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00639960
add esp, 0xc
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x52cf38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor al, al
jmp 0x52cf3a
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x52d3f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00613c30
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x69c504]
mov word [ebp - 0x4004], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4002]
push ecx
call fcn.0063a460
add esp, 0xc
mov dword [ebp - 0x4008], 0
mov dword [ebp - 0x4010], 0
cmp dword [ebp + 8], 0
je 0x52d44a
cmp dword [ebp + 0xc], 0
jne 0x52d451
xor eax, eax
jmp 0x52d552
lea edx, [ebp - 0x4010]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x4008], eax
cmp dword [ebp - 0x4008], 0
je 0x52d47c
cmp dword [ebp - 0x4008], 0x3fff
jbe 0x52d483
xor eax, eax
jmp 0x52d552
lea ecx, [ebp - 0x4004]
push ecx
mov edx, dword [ebp - 0x4008]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x52d550
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x400c]
push edx
push 0x69c508
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x52d550
mov ecx, dword [ebp + 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0063a460
add esp, 0xc
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x400c]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x69c50c
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004d92c0
add esp, 0x1c
mov eax, 1
jmp 0x52d552
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x52d5a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x69bf58]
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.0063a460
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.set
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x52d621
xor eax, eax
jmp 0x52d6d9
lea ecx, [ebp - 0x210]
call fcn.00413220
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x210]
call fcn.004e2ab0
push eax
push 0x69bf74
push 0x69bf78
push 0x69bf84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x210]
call fcn.004c9de0
push str.bigupdate
lea ecx, [ebp - 0x210]
push ecx
call fcn.00429e60
add esp, 8
movzx edx, al
test edx, edx
jne 0x52d6a1
push str.generalupdate
lea eax, [ebp - 0x210]
push eax
call fcn.00429e60
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x52d6be
mov dword [ebp - 0x214], 1
lea ecx, [ebp - 0x210]
call fcn.00413870
mov eax, dword [ebp - 0x214]
jmp 0x52d6d9
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x210]
call fcn.00413870
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x52d6f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004becf0
test eax, eax
jne 0x52d715
call fcn.004becd0
test eax, eax
je 0x52d71c
xor eax, eax
jmp 0x52d8ee
call fcn.0052d5a0
test eax, eax
je 0x52d8ec
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_temp_birdupd.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x52d7a4
xor edx, edx
mov byte [ebp - 0x211], dl
lea ecx, [ebp - 0x211]
call fcn.0052f8a0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
call fcn.004131e0
lea ecx, [ebp - 0x210]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x52d7ec
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x210]
call fcn.00413870
mov eax, dword [ebp - 0x220]
jmp 0x52d8ee
lea ecx, [ebp - 0x210]
call fcn.0040d3c0
push eax
call fcn.005b0540
add esp, 4
test eax, eax
jne 0x52d83d
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0x210]
push edx
call fcn.00421650
call fcn.004bd1d0
add esp, 8
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x210]
call fcn.00413870
mov eax, dword [ebp - 0x224]
jmp 0x52d8ee
push 0x69bff4
lea ecx, [ebp - 0x218]
call fcn.004131e0
call fcn.005320f0
test eax, eax
je 0x52d862
mov dword [ebp - 0x21c], 0x69c00c
jmp 0x52d86c
mov dword [ebp - 0x21c], 0x69c018
push 1
push 0
lea ecx, [ebp - 0x218]
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x210]
call fcn.0040d3c0
push eax
mov eax, dword [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x52d8c4
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x218]
call fcn.00413870
lea ecx, [ebp - 0x210]
call fcn.00413870
mov eax, dword [ebp - 0x228]
jmp 0x52d8ee
mov dword [ebp - 0x22c], 1
lea ecx, [ebp - 0x218]
call fcn.00413870
lea ecx, [ebp - 0x210]
call fcn.00413870
mov eax, dword [ebp - 0x22c]
jmp 0x52d8ee
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x52d900
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
call fcn.0053dbd0
add esp, 4
lea ecx, [ebp - 0x214]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x52d98d
mov dword [ebp - 0x220], 0x149
push str.cache
lea ecx, [ebp - 0x218]
call fcn.004131e0
push ecx
mov ecx, esp
lea edx, [ebp - 0x214]
push edx
call fcn.00421650
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, 0x6fb03c
call fcn.00484040
push eax
call fcn.004be5f0
add esp, 0x10
lea ecx, [ebp - 0x218]
call fcn.00413870
mov dx, word [0x69c030]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.0063a460
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor edx, edx
mov byte [ebp - 0x20d], dl
lea ecx, [ebp - 0x20d]
call fcn.0052fe90
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
mov byte [ebp - 0x20e], dl
lea ecx, [ebp - 0x20e]
call fcn.0052f850
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x224], 0xd0
push 0x69c034
lea ecx, [ebp - 0x21c]
call fcn.004131e0
push ecx
mov ecx, esp
lea edx, [ebp - 0x20c]
push edx
call fcn.004131e0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, 0x6fb03c
call fcn.00531ba0
push eax
call fcn.004be5f0
add esp, 0x10
lea ecx, [ebp - 0x21c]
call fcn.00413870
push ecx
mov ecx, esp
lea edx, [ebp - 0x20c]
push edx
call fcn.004131e0
call fcn.0054a400
add esp, 4
lea ecx, [ebp - 0x214]
call fcn.00413870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x532bc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.00488200
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00488e20
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x532c3f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.004882d0
mov eax, dword [ebp - 0x220]
jmp 0x532cf4
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x532cc3
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00532bc0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x532cb7
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.004882d0
mov eax, dword [ebp - 0x224]
jmp 0x532cf4
mov dword [ebp - 0x210], 0x100
jmp 0x532c49
lea ecx, [ebp - 0x21c]
call fcn.00488da0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.005316d0
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.004882d0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 4

Function at 0x532dd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x532e2f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x532dfc
mov eax, 1
jmp 0x532e4d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x532e2d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x532e4d
jmp 0x532e48
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x532e48
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x532e4d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x533070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x428], ecx
call fcn.00423af0
mov dword [ebp - 0x438], eax
lea ecx, [ebp - 0x430]
call fcn.004134a0
mov eax, dword [ebp - 0x428]
push eax
lea ecx, [ebp - 0x440]
call fcn.0052f380
lea ecx, [ebp - 0x408]
call fcn.004134a0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412d10
add esp, 8
mov dword [ebp - 0x41c], eax
push 0x60
push 0
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x53310a
push 2
push 0
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x533123
call fcn.004c9520
mov dword [ebp - 0x410], eax
jmp 0x533286
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x533157
call fcn.004c9520
mov dword [ebp - 0x410], eax
jmp 0x533286
mov ecx, dword [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x53318a
call fcn.004c9520
mov dword [ebp - 0x410], eax
jmp 0x533286
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x414], eax
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x414]
add eax, 1
cmp eax, dword [ebp - 0x414]
jae 0x5331d0
mov dword [ebp - 0x410], 0x8007000e
jmp 0x533286
mov ecx, dword [ebp - 0x414]
add ecx, 1
push ecx
lea ecx, [ebp - 0x408]
call fcn.00530ef0
lea ecx, [ebp - 0x408]
call fcn.0040d3c0
test eax, eax
jne 0x533203
mov dword [ebp - 0x410], 0x8007000e
jmp 0x533286
mov edx, dword [ebp - 0x414]
push edx
lea ecx, [ebp - 0x408]
call fcn.0040d3c0
push eax
mov eax, dword [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
push 0
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x53324e
call fcn.004c9520
mov dword [ebp - 0x410], eax
jmp 0x533286
lea ecx, [ebp - 0x408]
call fcn.0040d3c0
xor edx, edx
mov ecx, dword [ebp - 0x424]
mov word [eax + ecx*2], dx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x408]
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x440]
call fcn.00532e60
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x40c], 0
je 0x53329c
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0x434], ecx
lea ecx, [ebp - 0x408]
call fcn.0052f520
lea ecx, [ebp - 0x430]
call fcn.00503960
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5341d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x5341d9
cmp dword [ebp + 0xc], 0
je 0x5341ec
mov dword [ebp - 0x10], 1
jmp 0x5341f3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x534206
mov eax, 0xd
jmp 0x534263
xor edx, edx
jne 0x5341dd
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00641e0e
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x534217
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x535d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.00537ad0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00614c60
lea ecx, [ebp - 0x1c]
call fcn.004219f0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00614e70
lea ecx, [ebp - 0x1c]
call fcn.00424f40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x535e31
push 0x6fe300
push 0x138
call fcn.00613623
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x535de6
mov ecx, dword [ebp - 0x24]
call fcn.00599310
mov dword [ebp - 0x28], eax
jmp 0x535ded
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x7198], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x7198], 0
je 0x535e31
lea ecx, [ebp - 0x1c]
call fcn.00424f40
push eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x7198]
call fcn.00599210
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x7198]
call fcn.00599230
lea ecx, [ebp - 0x1c]
call fcn.00421c50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 4

Function at 0x538780
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0063a460
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x5387f6
cmp dword [ebp - 0x114], 5
jae 0x5387ea
cmp dword [ebp - 0x114], 4
jne 0x5387f6
cmp dword [ebp - 0x110], 0x5a
jb 0x5387f6
mov dword [ebp - 0x11c], 0
jmp 0x538800
mov dword [ebp - 0x11c], 1
mov al, byte [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret
Function at 0x538d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0047b020
mov dword [ebp - 0x20c], 0x200
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00424f20
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x538dec
lea ecx, [ebp - 0x204]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00421e60
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret

Function at 0x538f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x35], 1
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x34]
call fcn.004219c0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00537b70
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
push eax
push 0
push 0x20006
push 1
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00424f40
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x538f9b
mov byte [ebp - 0x35], 0
jmp 0x538fd7
push 4
lea ecx, [ebp + 0x24]
push ecx
push 4
push 0
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x538fc0
mov byte [ebp - 0x35], 0
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x538fd7
mov byte [ebp - 0x35], 0
mov dl, byte [ebp - 0x35]
mov byte [ebp - 0x36], dl
lea ecx, [ebp - 0x1c]
call fcn.00421c50
lea ecx, [ebp - 0x34]
call fcn.00421c50
lea ecx, [ebp + 8]
call fcn.00421c50
mov al, byte [ebp - 0x36]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret

Function at 0x53c870
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
cmp dword [0x6fb428], 0
jne 0x53c8e2
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x69dca8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [0x6fb424], eax
mov dword [0x6fb428], 1
mov eax, dword [0x6fb424]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret