joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b13
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x310
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x310], eax
push 4
mov eax, 0x501aec
call fcn.004d9926
push 0xffffffffffffffff
push str.LANG_EN
lea ecx, [ebp]
call fcn.0043a8bb
xor ebx, ebx
push 4
mov dword [ebp - 4], ebx
call fcn.0043b2c9
lea eax, [ebp + 0x84]
push eax
call fcn.0043b158
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0043b2d6
dec eax
je 0x412cb5
dec eax
je 0x412c78
dec eax
je 0x412c00
dec eax
jne 0x412d32
push 0x535318
push 0x85
call fcn.0043b248
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x412d32
push edi
call fcn.0043b248
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x412bf4
push edi
call fcn.0043b248
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
jbe 0x412bf4
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0043dd7e
add esp, 0xc
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x535328
call fcn.00413b8a
mov ecx, eax
call fcn.004423d3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x412d32
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.004d8c50
sub esp, 0x78
push 0x21
pop ecx
mov edi, esp
lea eax, [ebp + 0x108]
push str.skin_s_skin_
lea esi, [ebp]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x8c
lea eax, [ebp + 0x108]
push eax
lea ecx, [ebp + 0x84]
call fcn.0043a664
lea ecx, [ebp + 0x84]
call fcn.0043a4b7
push eax
call fcn.0043b282
mov dword [esp], 0x5352d0
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
jmp 0x412d23
push str.skin_
lea ecx, [ebp + 0x84]
call fcn.0043a664
lea ecx, [ebp + 0x84]
call fcn.0043a4b7
push eax
call fcn.0043b282
push ebx
push 1
push str.res.zip
call fcn.0043de0c
add esp, 0x10
push ebx
push ecx
mov eax, esp
mov dword [eax], 0x535304
jmp 0x412d23
xor eax, eax
push 0x206
mov word [ebp + 0x108], ax
lea eax, [ebp + 0x10a]
push ebx
push eax
call fcn.004d8c50
sub esp, 0x78
push 0x21
pop ecx
mov edi, esp
lea eax, [ebp + 0x108]
push str...lib_skin_s_skin_
lea esi, [ebp]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x8c
lea eax, [ebp + 0x108]
push eax
lea ecx, [ebp + 0x84]
call fcn.0043a664
lea ecx, [ebp + 0x84]
call fcn.0043a4b7
push eax
call fcn.0043b282
pop ecx
push ebx
push ecx
mov eax, esp
mov dword [eax], str.res.xml
mov dword [ebp - 0x10], esp
call fcn.00413b8a
mov ecx, eax
call fcn.004423d3
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], bl
call fcn.0043a49d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0043a49d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x310]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x314
leave
ret
Function at 0x413f3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x80
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x80], eax
push 8
mov eax, 0x50429b
call fcn.004d9926
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.3.0.5
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call fcn.0040edaa
xor eax, eax
inc eax
push 0x10
push eax
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x41401c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x41401c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [eax + 0x28]
cmp esi, ebx
je 0x41401c
xor eax, eax
push 0x7e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.004d8c50
add esp, 0xc
cmp byte [ebp + 0x8c], bl
je 0x413ff0
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [ebp]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x414011
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 0xa]
push eax
lea eax, [ebp]
push str._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040ed85
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 + 0x80]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x84
leave
ret
Function at 0x417b1c
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x505ed0
call fcn.004d998f
mov esi, ecx
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x108], esi
mov byte [ebp - 0x101], bl
call fcn.00417ab2
test al, al
je 0x417d88
cmp dword [esi + 0x644], ebx
je 0x417d88
xor eax, eax
push 0x533cd4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], ax
call fcn.0040ed85
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x750]
mov eax, dword [ecx]
jmp 0x417b97
cmp dword [eax + 0x25c], 2
je 0x417b9d
mov eax, dword [eax]
cmp ecx, eax
jne 0x417b8c
jmp 0x417baf
push 0xffffffffffffffff
add eax, 0x7c
push ebx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004036aa
xor eax, eax
push 0x7e
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push ebx
push eax
call fcn.004d8c50
add esp, 0xc
push dword [esi + 0x764]
lea eax, [ebp - 0x90]
push 0x533cd8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [ebp - 0xac]
call fcn.0042bc99
lea eax, [ebp - 0xe4]
push 0x533ce4
push eax
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00411b2b
lea ecx, [ebp - 0x100]
push 0x533ce0
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00411a77
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040ec7b
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x100]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.00403da4
push 0x533ce8
mov ecx, edi
call fcn.004116a2
push str._HostLang
mov ecx, edi
call fcn.004116a2
mov eax, dword [ebp - 0x108]
push 0xffffffffffffffff
push ebx
add eax, 0x5fc
push eax
mov ecx, edi
call fcn.004116e5
push str._HostVersion
mov ecx, edi
call fcn.004116a2
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc8]
push eax
mov ecx, edi
call fcn.004116e5
push str._HostHwnd
mov ecx, edi
call fcn.004116a2
lea eax, [ebp - 0x90]
push eax
mov ecx, edi
call fcn.004116a2
cmp dword [0x5500d4], ebx
je 0x417cfd
lea eax, [ebp - 0xe4]
push eax
mov ecx, edi
call fcn.00428265
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x417cd5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___Fork_install_dependent:__n__s
call fcn.00427581
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0xe4]
call fcn.0040241d
xor eax, eax
lea edi, [ebp - 0xf4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.004d8c50
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0x98], 8
mov word [ebp - 0x120], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x124], esi
jae 0x417d47
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x150]
push ecx
push ebx
push ebx
push 0x8000000
push esi
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push ebx
push esi
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x101], 1
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp - 0xc8]
call fcn.00403da4
mov al, byte [ebp - 0x101]
call fcn.004d9a12
ret
Function at 0x41b1e6
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x505b5a
call fcn.004d998f
lea eax, [ebp - 0x64]
push eax
call fcn.004293d1
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
mov dword [esp], str._startmodel:floatmode
call fcn.0040edaa
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x41b21f
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x41b22b
lea eax, [ebp - 0x64]
xor edi, edi
inc edi
push edi
push ebx
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x84], eax
cmp dword [0x5500d4], ebx
je 0x41b2b6
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call fcn.00428265
pop ecx
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00428265
pop ecx
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x41b274
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41b27c
mov eax, dword [eax]
push esi
push eax
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x5500d4]
push eax
push str._INFO___d___startup_wcc_ret__d_:_n_product__s___n_arg__s_
call fcn.00427581
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040241d
push ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040241d
push 0xf
pop esi
push 0xd
push str.prodstarttime
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
push ebx
mov byte [ebp - 4], 4
call fcn.004d7ddd
pop ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f1dc
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040241d
push 0xd
push str.prodstartcode
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040f17d
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040241d
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.00403da4
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.00403da4
call fcn.004d9a12
ret
Function at 0x41bc40
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x5041b4
call fcn.004d998f
and dword [ebp - 4], 0
and dword [ebp - 0x30], 0
mov edi, ecx
lea eax, [edi + 0x58c]
push eax
mov esi, ebx
mov dword [ebp - 0x3c], ebx
call fcn.004125a9
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], 1
cmp dword [ebx + 0x10], esi
jne 0x41bc92
push 0xffffffffffffffff
push esi
add edi, 0x2dc
push edi
mov ecx, ebx
call fcn.004036aa
cmp dword [ebx + 0x10], esi
je 0x41bd23
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.004125a9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._localappdata_
mov dword [ebp - 4], 1
call fcn.0040edaa
mov byte [ebp - 4], 0
call fcn.00429b42
add esp, 0x38
test al, al
je 0x41bce3
lea edi, [ebp - 0x2c]
call fcn.0042c3cf
mov esi, eax
mov edi, ebx
mov dword [ebp - 4], 2
call fcn.0040ec7b
jmp 0x41bd17
push 3
pop edi
push edi
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.0040ec4d
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41bd00
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41bd17
push 0x535064
mov ecx, ebx
call fcn.0040ed85
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403da4
mov eax, ebx
call fcn.004d9a12
ret
Function at 0x41bd9a
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x505a9b
call fcn.004d998f
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.0041bf0f
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], ebx
je 0x41be19
cmp dword [esi + 0x14], 8
jb 0x41bdc4
mov ecx, dword [esi]
jmp 0x41bdc6
mov ecx, esi
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x41bdd2
lea eax, [ebp - 0x48]
push 4
push ebx
push ecx
push eax
push 0x53506c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x5500d4], ebx
je 0x41be82
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428265
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x41be09
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___priority_browser_open_url__s___ret__d_.
jmp 0x41be66
cmp dword [esi + 0x14], 8
jb 0x41be23
mov eax, dword [esi]
jmp 0x41be25
mov eax, esi
push 4
push ebx
push ebx
push eax
push str.Open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x5500d4], ebx
je 0x41be82
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428265
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x41be58
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___browser_open_url__s___ret__d_.
mov ecx, dword [0x5500d4]
call fcn.00427581
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040241d
cmp byte [ebp + 8], bl
je 0x41bef6
push 0xf
pop esi
push 0x13
push str.installpageopentime
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
push ebx
mov byte [ebp - 4], 3
call fcn.004d7ddd
pop ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f1dc
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040241d
push 0x13
push str.installpageopencode
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402366
mov edx, edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040f17d
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040241d
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403da4
cmp edi, 0x20
setg al
call fcn.004d9a12
ret 4
Function at 0x41c072
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x1c
mov eax, 0x5040e5
call fcn.004d9926
mov eax, dword [ebp + 0x438]
xor esi, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
xor eax, eax
push 0x40e
mov word [ebp + 0x1c], ax
xor edi, edi
lea eax, [ebp + 0x1e]
push esi
inc edi
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
call fcn.004d8c50
xor eax, eax
mov dword [ebp - 0x14], 0x208
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov word [ebx], ax
mov dword [ebp - 4], esi
lea eax, [ebp]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x24]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
push eax
call fcn.00411b2b
add esp, 0x14
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 8
mov eax, dword [ebp]
jae 0x41c10b
lea eax, [ebp]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x20019
push esi
push esi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41c15b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x535154
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c15b
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c1c2
cmp dword [ebp - 0x10], esi
je 0x41c16c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x14], 8
mov eax, dword [ebp]
jae 0x41c178
lea eax, [ebp]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x20219
push esi
push esi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41c1cd
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x5351c4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c1cd
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c1cd
lea eax, [ebp + 0x1c]
push eax
mov ecx, ebx
call fcn.0040ed85
cmp dword [ebp - 0x10], esi
je 0x41c1de
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
push esi
push 1
lea ecx, [ebp]
call fcn.00403da4
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 + 0x42c]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x430
leave
ret 4
Function at 0x41c210
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x448
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x448], eax
push 0x18
mov eax, 0x50409c
call fcn.004d9926
xor esi, esi
mov dword [ebp - 0x20], esi
xor eax, eax
push 0x40e
mov word [ebp + 0x38], ax
xor ebx, ebx
lea eax, [ebp + 0x3a]
mov edi, ecx
push esi
inc ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call fcn.004d8c50
add esp, 0xc
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x1c], 0x208
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], esi
mov word [edi], cx
mov dword [ebp - 4], esi
mov dword [ebp + 0x30], eax
xor eax, eax
push str.Applicationsopera.exe_shellopencommand
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0x2c], esi
mov word [ebp + 0x1c], ax
call fcn.0040ed85
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x41c2a5
lea eax, [ebp + 0x1c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x20019
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41c34f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x53521c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c34f
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.0040ed85
push ebx
push 0x535220
push edi
call fcn.0040ec22
cmp eax, 0xffffffff
je 0x41c32c
dec eax
push eax
push ebx
push edi
lea esi, [ebp]
call fcn.0040ec4d
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0040ec7b
push 0
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00403da4
xor esi, esi
cmp dword [edi + 0x14], 8
jb 0x41c336
mov eax, dword [edi]
jmp 0x41c338
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c34f
push 0x535224
mov ecx, edi
call fcn.0040ed85
cmp dword [ebp - 0x10], esi
je 0x41c360
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], esi
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.00403da4
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 + 0x448]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x44c
leave
ret
Function at 0x423027
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x505b92
call fcn.004d998f
sub esp, 0x1c
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.004125a9
lea eax, [ebp - 0x2c]
push eax
call fcn.00429071
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x423061
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403b0d
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403da4
push 1
push edi
push edi
push dword [ebp - 0x30]
push 0x532cf4
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov eax, dword [ebp - 0x30]
setg bl
add eax, 0xfffffff0
call fcn.00403e7d
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00403da4
mov al, bl
call fcn.004d9a12
ret

Function at 0x423e66
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x10c
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x10c], eax
push 0x18
mov eax, 0x503f8e
call fcn.004d9926
mov eax, dword [ebp + 0x11c]
push 0x530f98
push dword [ebp + 0x118]
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
call fcn.004d846a
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x423ee0
cmp edi, ebx
je 0x423ed9
lea ecx, [ebp]
call fcn.004247c2
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.0040ec7b
push ebx
push 1
lea ecx, [ebp]
call fcn.00403da4
xor al, al
jmp 0x423fdb
cmp esi, ebx
je 0x423eeb
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
jmp 0x423eee
mov dword [ebp - 0x18], ebx
push 9
xor eax, eax
pop ecx
mov word [ebp + 0xe4], ax
lea edi, [ebp + 0xe6]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push ebx
stosw word es:[edi], ax
call fcn.0040363c
push 2
push ebx
push dword [ebp - 0x10]
call fcn.004dbd04
push dword [ebp - 0x10]
call fcn.004dc6ee
push ebx
push ebx
push dword [ebp - 0x10]
mov esi, eax
call fcn.004dbd04
add esp, 0x1c
xor edi, edi
cmp esi, ebx
je 0x423f9a
push esi
call fcn.004d4432
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 1
push esi
push eax
call fcn.004dbc5d
push esi
push dword [ebp - 0x14]
xor ebx, ebx
call fcn.0042457b
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4432
push esi
push dword [ebp - 0x14]
mov ebx, eax
call fcn.0042457b
mov ecx, dword [ebp - 0x1c]
add esp, 0x28
push edi
push ebx
call fcn.004038d0
push ebx
call fcn.004d6376
push dword [ebp - 0x14]
call fcn.004d6376
pop ecx
pop ecx
xor ebx, ebx
push edi
push esi
lea eax, [ebp + 0xe4]
push eax
lea eax, [ebp + 0x1c]
push str._s_d_bytes_to__d_wide_chars
push eax
call fcn.004dcec2
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp ecx, ebx
je 0x423fc4
lea eax, [ebp + 0x1c]
push eax
call fcn.0040ed85
push dword [ebp - 0x10]
call fcn.004d7a5a
mov eax, dword [ebp - 0x24]
pop ecx
cmp eax, ebx
je 0x423fd9
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10c]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x110
leave
ret
Function at 0x423ffe
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x18
mov eax, 0x503f5e
call fcn.004d9926
mov eax, dword [ebp + 0x138]
push 0x530fd8
push dword [ebp + 0x134]
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edi
mov bl, 1
call fcn.004d846a
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42407a
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x424073
lea ecx, [ebp]
call fcn.004247c2
and dword [ebp - 4], 0
mov esi, eax
call fcn.0040ec7b
push 0
push 1
lea ecx, [ebp]
call fcn.00403da4
xor al, al
jmp 0x424173
test edi, edi
je 0x424085
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
jmp 0x424089
and dword [ebp - 0x14], 0
xor eax, eax
push 9
mov word [ebp + 0x100], ax
pop ecx
lea edi, [ebp + 0x102]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x424104
cmp dword [esi + 0x14], 8
jb 0x4240b5
mov eax, dword [esi]
jmp 0x4240b7
mov eax, esi
push edi
push edi
call fcn.00424481
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004d4432
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], eax
jb 0x4240d7
mov esi, dword [esi]
push edi
push dword [ebp - 0x10]
mov eax, esi
call fcn.00424481
push dword [ebp - 0x18]
push 1
push edi
push dword [ebp - 0x10]
call fcn.004d7434
push dword [ebp - 0x10]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.004d6376
add esp, 0x1c
push edi
lea eax, [ebp + 0x100]
push eax
push dword [ebp - 0x20]
lea eax, [ebp + 0x38]
push str._d_wide_chars_to__s_d_bytes
push eax
call fcn.004dcec2
mov edi, dword [ebp - 0x1c]
add esp, 0x14
test edi, edi
je 0x424132
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.0040ed85
test bl, bl
jne 0x42415c
test edi, edi
je 0x42415c
lea ecx, [ebp + 0x1c]
call fcn.004247c2
mov esi, eax
mov dword [ebp - 4], 1
call fcn.0040ec7b
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.00403da4
push dword [ebp - 0x18]
call fcn.004d7a5a
mov eax, dword [ebp - 0x24]
pop ecx
test eax, eax
je 0x424171
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x12c
leave
ret