joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147a3
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, 0x5048fe
call fcn.004d9fb6
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.00404526
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 0x414884
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x414884
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [eax + 0x28]
cmp esi, ebx
je 0x414884
xor eax, eax
push 0x7e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.004d92e0
add esp, 0xc
cmp byte [ebp + 0x8c], bl
je 0x414858
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 0x414879
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.00404501
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.004d5ddb
add ebp, 0x84
leave
ret
Function at 0x418370
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x505a37
call fcn.004da01f
mov esi, ecx
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x108], esi
mov byte [ebp - 0x101], bl
call fcn.00418306
test al, al
je 0x4185dc
cmp dword [esi + 0x644], ebx
je 0x4185dc
xor eax, eax
push 0x533c0c
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], ax
call fcn.00404501
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x750]
mov eax, dword [ecx]
jmp 0x4183eb
cmp dword [eax + 0x25c], 2
je 0x4183f1
mov eax, dword [eax]
cmp ecx, eax
jne 0x4183e0
jmp 0x418403
push 0xffffffffffffffff
add eax, 0x7c
push ebx
push eax
lea ecx, [ebp - 0xc8]
call fcn.00404764
xor eax, eax
push 0x7e
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push ebx
push eax
call fcn.004d92e0
add esp, 0xc
push dword [esi + 0x764]
lea eax, [ebp - 0x90]
push 0x533c10
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [ebp - 0xac]
call fcn.0042c30c
lea eax, [ebp - 0xe4]
push 0x533c1c
push eax
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004124d9
lea ecx, [ebp - 0x100]
push 0x533c18
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00412425
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 3
call fcn.004036ba
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x100]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.0040482f
push 0x533c20
mov ecx, edi
call fcn.0041208a
push str._HostLang
mov ecx, edi
call fcn.0041208a
mov eax, dword [ebp - 0x108]
push 0xffffffffffffffff
push ebx
add eax, 0x5fc
push eax
mov ecx, edi
call fcn.004120cd
push str._HostVersion
mov ecx, edi
call fcn.0041208a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xc8]
push eax
mov ecx, edi
call fcn.004120cd
push str._HostHwnd
mov ecx, edi
call fcn.0041208a
lea eax, [ebp - 0x90]
push eax
mov ecx, edi
call fcn.0041208a
cmp dword [0x550334], ebx
je 0x418551
lea eax, [ebp - 0xe4]
push eax
mov ecx, edi
call fcn.00428aca
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x418529
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___Fork_install_dependent:__n__s
call fcn.00427e2f
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0xe4]
call fcn.00402566
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.004d92e0
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 0x41859b
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.0040482f
push ebx
push esi
lea ecx, [ebp - 0xc8]
call fcn.0040482f
mov al, byte [ebp - 0x101]
call fcn.004da0a2
ret
Function at 0x41bac4
Capabilities:
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x505959
call fcn.004da01f
lea eax, [ebp - 0x64]
push eax
call fcn.00429c36
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x48]
mov dword [esp], str._startmodel:floatmode
call fcn.00404526
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x41bafd
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x41bb09
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 [0x550334], ebx
je 0x41bb94
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call fcn.00428aca
pop ecx
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00428aca
pop ecx
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x41bb52
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41bb5a
mov eax, dword [eax]
push esi
push eax
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___startup_wcc_ret__d_:_n_product__s___n_arg__s_
call fcn.00427e2f
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402566
push ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00402566
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.004024af
push ebx
mov byte [ebp - 4], 4
call fcn.004d846d
pop ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fbf8
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402566
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.004024af
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040fb99
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402566
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.0040482f
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.0040482f
call fcn.004da0a2
ret
Function at 0x41c51e
Capabilities:
Check if file exists

Disassembly:
push 0x30
mov eax, 0x504817
call fcn.004da01f
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.004047f4
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], 1
cmp dword [ebx + 0x10], esi
jne 0x41c570
push 0xffffffffffffffff
push esi
add edi, 0x2dc
push edi
mov ecx, ebx
call fcn.00404764
cmp dword [ebx + 0x10], esi
je 0x41c601
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x34], esp
push ebx
call fcn.004047f4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._localappdata_
mov dword [ebp - 4], 1
call fcn.00404526
mov byte [ebp - 4], 0
call fcn.0042a3a7
add esp, 0x38
test al, al
je 0x41c5c1
lea edi, [ebp - 0x2c]
call fcn.0042c9f9
mov esi, eax
mov edi, ebx
mov dword [ebp - 4], 2
call fcn.004036ba
jmp 0x41c5f5
push 3
pop edi
push edi
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.0040f71c
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41c5de
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c5f5
push 0x534fbc
mov ecx, ebx
call fcn.00404501
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040482f
mov eax, ebx
call fcn.004da0a2
ret
Function at 0x41c678
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x505904
call fcn.004da01f
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.0041c7ed
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], ebx
je 0x41c6f7
cmp dword [esi + 0x14], 8
jb 0x41c6a2
mov ecx, dword [esi]
jmp 0x41c6a4
mov ecx, esi
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x41c6b0
lea eax, [ebp - 0x48]
push 4
push ebx
push ecx
push eax
push 0x534fc4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp dword [0x550334], ebx
je 0x41c760
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428aca
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x41c6e7
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 0x41c744
cmp dword [esi + 0x14], 8
jb 0x41c701
mov eax, dword [esi]
jmp 0x41c703
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 [0x550334], ebx
je 0x41c760
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428aca
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x41c736
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 [0x550334]
call fcn.00427e2f
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402566
cmp byte [ebp + 8], bl
je 0x41c7d4
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.004024af
push ebx
mov byte [ebp - 4], 3
call fcn.004d846d
pop ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040fbf8
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402566
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.004024af
mov edx, edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040fb99
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402566
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040482f
cmp edi, 0x20
setg al
call fcn.004da0a2
ret 4
Function at 0x41c950
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, 0x504748
call fcn.004d9fb6
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.004d92e0
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.004124d9
add esp, 0x14
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], 8
mov eax, dword [ebp]
jae 0x41c9e9
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 0x80000002
call edi
test eax, eax
jne 0x41ca39
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x5350ac
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ca39
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41caa0
cmp dword [ebp - 0x10], esi
je 0x41ca4a
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 0x41ca56
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 0x80000002
call edi
test eax, eax
jne 0x41caab
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push 0x53511c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41caab
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41caab
lea eax, [ebp + 0x1c]
push eax
mov ecx, ebx
call fcn.00404501
cmp dword [ebp - 0x10], esi
je 0x41cabc
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.0040482f
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.004d5ddb
add ebp, 0x430
leave
ret 4
Function at 0x41caee
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, 0x5046ff
call fcn.004d9fb6
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.004d92e0
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.00404501
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x41cb83
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 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41cc2d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x535174
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cc2d
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00404501
push ebx
push 0x535178
push edi
call fcn.0040f6f1
cmp eax, 0xffffffff
je 0x41cc0a
dec eax
push eax
push ebx
push edi
lea esi, [ebp]
call fcn.0040f71c
mov esi, eax
mov byte [ebp - 4], 2
call fcn.004036ba
push 0
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.0040482f
xor esi, esi
cmp dword [edi + 0x14], 8
jb 0x41cc14
mov eax, dword [edi]
jmp 0x41cc16
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41cc2d
push 0x53517c
mov ecx, edi
call fcn.00404501
cmp dword [ebp - 0x10], esi
je 0x41cc3e
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.0040482f
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.004d5ddb
add ebp, 0x44c
leave
ret
Function at 0x423a1d
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x5052d3
call fcn.004da01f
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.004047f4
lea eax, [ebp - 0x2c]
push eax
call fcn.004298d6
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x423a57
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404371
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040482f
push 1
push edi
push edi
push dword [ebp - 0x30]
push 0x532d10
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov eax, dword [ebp - 0x30]
setg bl
add eax, 0xfffffff0
call fcn.0040442d
push edi
push 1
lea ecx, [ebp + 8]
call fcn.0040482f
mov al, bl
call fcn.004da0a2
ret

Function at 0x42470a
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, 0x504576
call fcn.004d9fb6
mov eax, dword [ebp + 0x11c]
push 0x530f88
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.004d8afa
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x424784
cmp edi, ebx
je 0x42477d
lea ecx, [ebp]
call fcn.00425066
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.004036ba
push ebx
push 1
lea ecx, [ebp]
call fcn.0040482f
xor al, al
jmp 0x42487f
cmp esi, ebx
je 0x42478f
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
jmp 0x424792
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.00404560
push 2
push ebx
push dword [ebp - 0x10]
call fcn.004dc3f9
push dword [ebp - 0x10]
call fcn.004dcdde
push ebx
push ebx
push dword [ebp - 0x10]
mov esi, eax
call fcn.004dc3f9
add esp, 0x1c
xor edi, edi
cmp esi, ebx
je 0x42483e
push esi
call fcn.004d4abd
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 1
push esi
push eax
call fcn.004dc352
push esi
push dword [ebp - 0x14]
xor ebx, ebx
call fcn.00424e1f
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.004d4abd
push esi
push dword [ebp - 0x14]
mov ebx, eax
call fcn.00424e1f
mov ecx, dword [ebp - 0x1c]
add esp, 0x28
push edi
push ebx
call fcn.00404493
push ebx
call fcn.004d6991
push dword [ebp - 0x14]
call fcn.004d6991
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.004dd552
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp ecx, ebx
je 0x424868
lea eax, [ebp + 0x1c]
push eax
call fcn.00404501
push dword [ebp - 0x10]
call fcn.004d80ea
mov eax, dword [ebp - 0x24]
pop ecx
cmp eax, ebx
je 0x42487d
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.004d5ddb
add ebp, 0x110
leave
ret
Function at 0x4248a2
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, 0x504546
call fcn.004d9fb6
mov eax, dword [ebp + 0x138]
push 0x530fc8
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.004d8afa
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42491e
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x424917
lea ecx, [ebp]
call fcn.00425066
and dword [ebp - 4], 0
mov esi, eax
call fcn.004036ba
push 0
push 1
lea ecx, [ebp]
call fcn.0040482f
xor al, al
jmp 0x424a17
test edi, edi
je 0x424929
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
jmp 0x42492d
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 0x4249a8
cmp dword [esi + 0x14], 8
jb 0x424959
mov eax, dword [esi]
jmp 0x42495b
mov eax, esi
push edi
push edi
call fcn.00424d25
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004d4abd
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], eax
jb 0x42497b
mov esi, dword [esi]
push edi
push dword [ebp - 0x10]
mov eax, esi
call fcn.00424d25
push dword [ebp - 0x18]
push 1
push edi
push dword [ebp - 0x10]
call fcn.004d7ac4
push dword [ebp - 0x10]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.004d6991
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.004dd552
mov edi, dword [ebp - 0x1c]
add esp, 0x14
test edi, edi
je 0x4249d6
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00404501
test bl, bl
jne 0x424a00
test edi, edi
je 0x424a00
lea ecx, [ebp + 0x1c]
call fcn.00425066
mov esi, eax
mov dword [ebp - 4], 1
call fcn.004036ba
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040482f
push dword [ebp - 0x18]
call fcn.004d80ea
mov eax, dword [ebp - 0x24]
pop ecx
test eax, eax
je 0x424a15
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.004d5ddb
add ebp, 0x12c
leave
ret
Function at 0x427d11
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x505730
call fcn.004d9fb6
xor ebx, ebx
cmp dword [0x550c98], ebx
jne 0x427d32
push str._simpleLog::Log__log_filename_is_empty_n
call fcn.004dc018
pop ecx
mov esi, 0x550c38
cmp dword [0x550ca4], ebx
jne 0x427d4e
push 0xffffffffffffffff
push ebx
push 0x550c88
mov ecx, esi
call fcn.00402245
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x550c64
mov byte [ebp - 0x14], bl
call fcn.004282fd
push ebx
push ebx
push esi
push 0x4275b2
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004d8e68
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x427d8a
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x550c54
call fcn.0042844b
cmp byte [ebp - 0x14], bl
je 0x427d9a
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.004da08e
ret

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

Disassembly:
push 0x214
mov eax, 0x503113
call fcn.004da01f
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.004d92e0
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 0x428cd9
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00404501
push 0x5308c0
mov ecx, esi
call fcn.0041208a
cmp dword [ebp + 0x18], edi
je 0x428cc1
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x428cbe
lea eax, [ebp + 8]
push eax
jmp 0x428cc6
push 0x5308c4
mov ecx, esi
call fcn.0041208a
push 0x5308dc
mov ecx, esi
call fcn.0041208a
cmp dword [esi + 0x14], 8
jb 0x428ce3
mov eax, dword [esi]
jmp 0x428ce5
mov eax, esi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.0040482f
mov eax, esi
call fcn.004da0a2
ret