joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417ab7
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x505f67
call fcn.004d9a2f
mov esi, ecx
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x108], esi
mov byte [ebp - 0x101], bl
call fcn.00417a4d
test al, al
je 0x417d23
cmp dword [esi + 0x644], ebx
je 0x417d23
xor eax, eax
push 0x533ca4
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], ax
call fcn.0040ed76
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x750]
mov eax, dword [ecx]
jmp 0x417b32
cmp dword [eax + 0x25c], 2
je 0x417b38
mov eax, dword [eax]
cmp ecx, eax
jne 0x417b27
jmp 0x417b4a
push 0xffffffffffffffff
add eax, 0x7c
push ebx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004036e9
xor eax, eax
push 0x7e
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push ebx
push eax
call fcn.004d8ce0
add esp, 0xc
push dword [esi + 0x764]
lea eax, [ebp - 0x90]
push 0x533ca8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [ebp - 0xac]
call fcn.0042bbce
lea eax, [ebp - 0xe4]
push 0x533cb4
push eax
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00411ab9
lea ecx, [ebp - 0x100]
push 0x533cb0
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00411a05
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0040ec6c
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x100]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.00403de3
push 0x533cb8
mov ecx, edi
call fcn.00411668
push str._HostLang
mov ecx, edi
call fcn.00411668
mov eax, dword [ebp - 0x108]
push 0xffffffffffffffff
push ebx
add eax, 0x5fc
push eax
mov ecx, edi
call fcn.004116ab
push str._HostVersion
mov ecx, edi
call fcn.00411668
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc8]
push eax
mov ecx, edi
call fcn.004116ab
push str._HostHwnd
mov ecx, edi
call fcn.00411668
lea eax, [ebp - 0x90]
push eax
mov ecx, edi
call fcn.00411668
cmp dword [0x5500d4], ebx
je 0x417c98
lea eax, [ebp - 0xe4]
push eax
mov ecx, edi
call fcn.00428151
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x417c70
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.0042749e
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0xe4]
call fcn.0040248a
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.004d8ce0
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 0x417ce2
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.00403de3
push ebx
push esi
lea ecx, [ebp - 0xc8]
call fcn.00403de3
mov al, byte [ebp - 0x101]
call fcn.004d9ab2
ret
Function at 0x41b20d
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x505bd8
call fcn.004d9a2f
lea eax, [ebp - 0x64]
push eax
call fcn.004292bd
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
mov dword [esp], str._startmodel:floatmode
call fcn.0040ed9b
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x41b246
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x41b252
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 0x41b2dd
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call fcn.00428151
pop ecx
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00428151
pop ecx
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x41b29b
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41b2a3
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.0042749e
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040248a
push ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040248a
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.004023d3
push ebx
mov byte [ebp - 4], 4
call fcn.004d7e6d
pop ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f1cd
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040248a
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.004023d3
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040f16e
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040248a
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.00403de3
call fcn.004d9ab2
ret
Function at 0x41bc67
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x504276
call fcn.004d9a2f
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.00412537
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], 1
cmp dword [ebx + 0x10], esi
jne 0x41bcb9
push 0xffffffffffffffff
push esi
add edi, 0x2dc
push edi
mov ecx, ebx
call fcn.004036e9
cmp dword [ebx + 0x10], esi
je 0x41bd4a
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.00412537
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._localappdata_
mov dword [ebp - 4], 1
call fcn.0040ed9b
mov byte [ebp - 4], 0
call fcn.00429a2e
add esp, 0x38
test al, al
je 0x41bd0a
lea edi, [ebp - 0x2c]
call fcn.0042c304
mov esi, eax
mov edi, ebx
mov dword [ebp - 4], 2
call fcn.0040ec6c
jmp 0x41bd3e
push 3
pop edi
push edi
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.0040ec3e
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41bd27
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41bd3e
push 0x535054
mov ecx, ebx
call fcn.0040ed76
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403de3
mov eax, ebx
call fcn.004d9ab2
ret
Function at 0x41bdc1
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x505b19
call fcn.004d9a2f
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.0041bf36
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], ebx
je 0x41be40
cmp dword [esi + 0x14], 8
jb 0x41bdeb
mov ecx, dword [esi]
jmp 0x41bded
mov ecx, esi
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x41bdf9
lea eax, [ebp - 0x48]
push 4
push ebx
push ecx
push eax
push 0x53505c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x5500d4], ebx
je 0x41bea9
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428151
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x41be30
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 0x41be8d
cmp dword [esi + 0x14], 8
jb 0x41be4a
mov eax, dword [esi]
jmp 0x41be4c
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 0x41bea9
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428151
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x41be7f
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.0042749e
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040248a
cmp byte [ebp + 8], bl
je 0x41bf1d
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.004023d3
push ebx
mov byte [ebp - 4], 3
call fcn.004d7e6d
pop ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f1cd
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040248a
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.004023d3
mov edx, edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040f16e
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040248a
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403de3
cmp edi, 0x20
setg al
call fcn.004d9ab2
ret 4
Function at 0x41c099
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, 0x5041a7
call fcn.004d99c6
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.004d8ce0
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.00411ab9
add esp, 0x14
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 8
mov eax, dword [ebp]
jae 0x41c132
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 0x41c182
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x535144
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c182
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c1e9
cmp dword [ebp - 0x10], esi
je 0x41c193
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 0x41c19f
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 0x41c1f4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x5351b4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c1f4
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c1f4
lea eax, [ebp + 0x1c]
push eax
mov ecx, ebx
call fcn.0040ed76
cmp dword [ebp - 0x10], esi
je 0x41c205
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.00403de3
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.004d57db
add ebp, 0x430
leave
ret 4
Function at 0x41c237
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, 0x50415e
call fcn.004d99c6
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.004d8ce0
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.0040ed76
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x41c2cc
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 0x41c376
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x53520c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c376
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.0040ed76
push ebx
push 0x535210
push edi
call fcn.0040ec13
cmp eax, 0xffffffff
je 0x41c353
dec eax
push eax
push ebx
push edi
lea esi, [ebp]
call fcn.0040ec3e
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0040ec6c
push 0
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00403de3
xor esi, esi
cmp dword [edi + 0x14], 8
jb 0x41c35d
mov eax, dword [edi]
jmp 0x41c35f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c376
push 0x535214
mov ecx, edi
call fcn.0040ed76
cmp dword [ebp - 0x10], esi
je 0x41c387
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.00403de3
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.004d57db
add ebp, 0x44c
leave
ret
Function at 0x42307f
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x50573d
call fcn.004d9a2f
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.00412537
lea eax, [ebp - 0x2c]
push eax
call fcn.00428f5d
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4230b9
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403b4c
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403de3
push 1
push edi
push edi
push dword [ebp - 0x30]
push 0x532cc4
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov eax, dword [ebp - 0x30]
setg bl
add eax, 0xfffffff0
call fcn.00403eb2
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00403de3
mov al, bl
call fcn.004d9ab2
ret

Function at 0x423d83
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, 0x50402d
call fcn.004d99c6
mov eax, dword [ebp + 0x11c]
push 0x530f68
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.004d84fa
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x423dfd
cmp edi, ebx
je 0x423df6
lea ecx, [ebp]
call fcn.004246df
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.0040ec6c
push ebx
push 1
lea ecx, [ebp]
call fcn.00403de3
xor al, al
jmp 0x423ef8
cmp esi, ebx
je 0x423e08
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
jmp 0x423e0b
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.0040367b
push 2
push ebx
push dword [ebp - 0x10]
call fcn.004dbda4
push dword [ebp - 0x10]
call fcn.004dc78e
push ebx
push ebx
push dword [ebp - 0x10]
mov esi, eax
call fcn.004dbda4
add esp, 0x1c
xor edi, edi
cmp esi, ebx
je 0x423eb7
push esi
call fcn.004d44bd
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 1
push esi
push eax
call fcn.004dbcfd
push esi
push dword [ebp - 0x14]
xor ebx, ebx
call fcn.00424498
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.004d44bd
push esi
push dword [ebp - 0x14]
mov ebx, eax
call fcn.00424498
mov ecx, dword [ebp - 0x1c]
add esp, 0x28
push edi
push ebx
call fcn.0040390f
push ebx
call fcn.004d6406
push dword [ebp - 0x14]
call fcn.004d6406
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.004dcf62
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp ecx, ebx
je 0x423ee1
lea eax, [ebp + 0x1c]
push eax
call fcn.0040ed76
push dword [ebp - 0x10]
call fcn.004d7aea
mov eax, dword [ebp - 0x24]
pop ecx
cmp eax, ebx
je 0x423ef6
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.004d57db
add ebp, 0x110
leave
ret
Function at 0x423f1b
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, 0x503ffd
call fcn.004d99c6
mov eax, dword [ebp + 0x138]
push 0x530fa8
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.004d84fa
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x423f97
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x423f90
lea ecx, [ebp]
call fcn.004246df
and dword [ebp - 4], 0
mov esi, eax
call fcn.0040ec6c
push 0
push 1
lea ecx, [ebp]
call fcn.00403de3
xor al, al
jmp 0x424090
test edi, edi
je 0x423fa2
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
jmp 0x423fa6
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 0x424021
cmp dword [esi + 0x14], 8
jb 0x423fd2
mov eax, dword [esi]
jmp 0x423fd4
mov eax, esi
push edi
push edi
call fcn.0042439e
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004d44bd
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], eax
jb 0x423ff4
mov esi, dword [esi]
push edi
push dword [ebp - 0x10]
mov eax, esi
call fcn.0042439e
push dword [ebp - 0x18]
push 1
push edi
push dword [ebp - 0x10]
call fcn.004d74c4
push dword [ebp - 0x10]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.004d6406
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.004dcf62
mov edi, dword [ebp - 0x1c]
add esp, 0x14
test edi, edi
je 0x42404f
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.0040ed76
test bl, bl
jne 0x424079
test edi, edi
je 0x424079
lea ecx, [ebp + 0x1c]
call fcn.004246df
mov esi, eax
mov dword [ebp - 4], 1
call fcn.0040ec6c
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.00403de3
push dword [ebp - 0x18]
call fcn.004d7aea
mov eax, dword [ebp - 0x24]
pop ecx
test eax, eax
je 0x42408e
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.004d57db
add ebp, 0x12c
leave
ret
Function at 0x427380
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x50568f
call fcn.004d99c6
xor ebx, ebx
cmp dword [0x550a38], ebx
jne 0x4273a1
push str._simpleLog::Log__log_filename_is_empty_n
call fcn.004db9c3
pop ecx
mov esi, 0x5509d8
cmp dword [0x550a44], ebx
jne 0x4273bd
push 0xffffffffffffffff
push ebx
push 0x550a28
mov ecx, esi
call fcn.00402169
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x550a04
mov byte [ebp - 0x14], bl
call fcn.0042798e
push ebx
push ebx
push esi
push 0x426c2b
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004d8868
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4273f9
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x5509f4
call fcn.00427ad2
cmp byte [ebp - 0x14], bl
je 0x427409
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.004d9a9e
ret

Function at 0x4282b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x214
mov eax, 0x503d19
call fcn.004d9a2f
xor edi, edi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x21c], ebx
call fcn.004d8ce0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x2e
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x428360
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040ed76
push 0x5308a0
mov ecx, esi
call fcn.00411668
cmp dword [ebp + 0x18], edi
je 0x428348
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x428345
lea eax, [ebp + 8]
push eax
jmp 0x42834d
push 0x5308a4
mov ecx, esi
call fcn.00411668
push 0x5308bc
mov ecx, esi
call fcn.00411668
cmp dword [esi + 0x14], 8
jb 0x42836a
mov eax, dword [esi]
jmp 0x42836c
mov eax, esi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.00403de3
mov eax, esi
call fcn.004d9ab2
ret
Function at 0x4285b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x18
mov eax, 0x503c3d
call fcn.004d99c6
mov eax, dword [ebp + 0x128]
mov dword [ebp - 0x18], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], edi
push 0xc6
mov word [ebp + 0x54], ax
lea eax, [ebp + 0x56]
push edi
push eax
call fcn.004d8ce0
add esp, 0xc
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x20], edi
xor esi, esi
call fcn.00428573
test al, al
je 0x428614
mov esi, 0x200
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
or esi, 0x20019
push esi
push edi
push edi
push edi
push 0x530938
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x428666
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push str.Version
push dword [ebp - 0x14]
mov dword [ebp - 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 7
pop esi
mov word [ebp + 0x38], ax
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x48], edi
call fcn.0040ed76
mov dword [ebp - 4], edi
push 2
pop ebx
cmp dword [ebp + 0x48], edi
jne 0x4286b5
xor eax, eax
push 0x530934
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x2c], edi
mov word [ebp + 0x1c], ax
call fcn.0040ed76
mov byte [ebp - 4], 1
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], 1
jmp 0x4286c7
lea eax, [ebp + 0x38]
push eax
lea esi, [ebp]
call fcn.00412537
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov esi, eax
mov eax, dword [ebp - 0x18]
call fcn.0040ebf7
or dword [ebp - 0x10], 4
test byte [ebp - 0x10], bl
je 0x4286e9
and dword [ebp - 0x10], 0xfffffffd
push edi
push 1
lea ecx, [ebp]
call fcn.00403de3
test byte [ebp - 0x10], 1
je 0x4286fa
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00403de3
push edi
push 1
lea ecx, [ebp + 0x38]
call fcn.00403de3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004d57db
add ebp, 0x120
leave
ret