joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], 0
jb 0x41f9b7
mov eax, dword [eax]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x41fa03
cmp dword [esi + 0x14], 8
jb 0x41f9e4
mov esi, dword [esi]
push 8
lea eax, [ebp + 0x10]
push eax
push 0xb
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41fa20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], 0
jb 0x41fa47
mov eax, dword [eax]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x41fa93
cmp dword [esi + 0x14], 8
jb 0x41fa74
mov esi, dword [esi]
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41fab0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
push 0x624ff8
push dword [edi + 0x10]
mov ebx, 0x57
push ecx
mov ecx, edi
mov dword [ebp - 8], 0
call fcn.00407060
test eax, eax
je 0x41fb58
push 0
push 0x624ff8
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00407060
test eax, eax
je 0x41fb58
cmp dword [edi + 0x14], 8
jb 0x41fb09
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x41fb58
push eax
push 0x624ff8
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00407060
test eax, eax
je 0x41fb4f
cmp dword [esi + 0x14], 8
jb 0x41fb43
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8
Function at 0x41fb80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4408
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 0x624ff8
push dword [esi + 0x10]
mov edi, 0x57
push ecx
mov ecx, esi
mov dword [ebp - 0x4c], 0
call fcn.00407060
test eax, eax
je 0x41fcaf
mov eax, dword [esi + 0x10]
dec eax
cmp dword [esi + 0x14], 8
jb 0x41fbe2
mov ecx, dword [esi]
jmp 0x41fbe4
mov ecx, esi
cmp word [ecx + eax*2], 0x5c
jne 0x41fbec
dec eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0x5c
call fcn.0041fd20
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41fcaf
push ebx
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.0041fce0
push 0xffffffffffffffff
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041fce0
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0x20006
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x41fc79
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x4c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 8
jb 0x41fc8a
push dword [ebp - 0x30]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x41fcaf
push dword [ebp - 0x48]
call fcn.0049500b
add esp, 4
xor eax, eax
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4
Function at 0x4202b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp dword [ebx + 4], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x41c], ecx
jne 0x4202fc
push str.CUnzip::UnZipTarget_param_error
call fcn.00418730
mov eax, SysReAllocStringLen
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx + 4]
mov esi, dword [eax + esi*4]
mov eax, dword [esi + 0x10]
push dword [eax + 4]
mov eax, dword [ecx + 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x418]
push 0x624274
push 0xffffffffffffffff
push 0x104
push eax
call fcn.005b8769
mov ecx, dword [esi + 8]
add esp, 0x18
test ecx, ecx
jne 0x420352
push str.CUnzip::UnZipTarget_pInfo__stDLPath__NULL_error
call fcn.00418730
mov eax, reloc.OLEAUT32.dll_SysStringLen
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx + 4]
call fcn.0041c730
test eax, eax
jne 0x42039f
mov eax, dword [esi + 8]
push dword [eax + 4]
push str.CUnzip::UnZipTarget__IfExistFile___Failed___Path:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
mov eax, reloc.OLEAUT32.dll_SysStringLen
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0041ff10
mov edi, eax
test edi, edi
je 0x4203dc
push edi
push str.CUnzip::UnZipTarget__MakeUnZipPath___Failed___dwUnZipResult:0x_08x
mov dword [esi + 0x28], edi
call fcn.004188b0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x41c]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [esi + 8]
push dword [eax + 4]
mov eax, dword [ebx + 4]
call eax
test eax, eax
jne 0x420436
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0041fff0
test eax, eax
je 0x42042d
push reloc.OLEAUT32.dll_SysStringLen
push str.CUnzip::UnZipTarget__SetUnzippedFolder___Failed___dwUnZipResult:0x_08x
mov dword [esi + 0x28], reloc.OLEAUT32.dll_SysStringLen
call fcn.004188b0
mov dword [esi + 0x28], 0
jmp 0x42044c
push reloc.OLEAUT32.dll_SysStringLen
push str.CUnzip::UnZipTarget_pUnZip___Failed___dwUnZipResult:0x_08x
mov dword [esi + 0x28], reloc.OLEAUT32.dll_SysStringLen
call fcn.004188b0
mov eax, dword [esi + 8]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 8

Function at 0x421080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004a0367
Function at 0x4216a0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.004a0a81
mov ecx, esi
call fcn.004216f0
push 0
push 4
push 0
push 0
push esi
push 0x421c30
call fcn.0049f725
mov dword [esi + 0xb8], eax
test eax, eax
je 0x4216e2
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0xb8]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
Function at 0x4233a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
call esi
push eax
call fcn.004972e2
cmp eax, edi
jne 0x4233d1
push str.CDlgBase::SetAbsoluteForegroundWindow____Already_Foreground
jmp 0x42342b
mov dword [ebp - 8], 0
call esi
push eax
call fcn.004972e2
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [ebp - 8]
push ecx
push dword [eax + 0x20]
call esi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov edi, eax
push ebx
push edi
call esi
mov eax, dword [ebp - 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push edi
call esi
mov eax, dword [ebp - 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push str.CDlgBase::SetAbsoluteForegroundWindow____Window_Foregrounded
call fcn.00418730
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret

Function at 0x4250c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4dab
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
xor eax, eax
push 0x624350
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00406400
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
cmp dword [ebp - 0x234], 8
jb 0x425155
push dword [ebp - 0x248]
call fcn.0049500b
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005bb1c0
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x624ff8
push str.Capture
push str.CAPTUREMODE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ebx, ebx
cmp word [ebp - 0x218], 0x31
sete bl
cmp dword [ebp - 0x21c], 8
jb 0x4251cd
push dword [ebp - 0x230]
call fcn.0049500b
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret
Function at 0x425e40
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.004a0a81
push dword [esi + 0x98]
mov ecx, esi
call fcn.0049c724
push dword [esi + 0x9c]
lea ecx, [esi + 0xac]
call fcn.0049c724
cmp dword [esi + 0xa8], 0
lea ecx, [esi + 0x120]
jne 0x425e98
push dword [esi + 0xa0]
call fcn.0049c724
push dword [esi + 0xa4]
lea ecx, [esi + 0x19c]
call fcn.0049c724
mov eax, 1
pop esi
ret
push 0
call fcn.0049c768
push 0
lea ecx, [esi + 0x19c]
call fcn.0049c768
push 0
push 4
push 0
push 0
push esi
push 0x426010
call fcn.0049f725
mov dword [esi + 0x21c], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x21c]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret

Function at 0x4260b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e50b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
xor eax, eax
push 0x626dbc
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00406400
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x42612f
push dword [ebp - 0x48]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.0049f407
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42615f
push 0x80004005
call fcn.00407a60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
ja 0x426180
push str.invalid_string_position
call fcn.005d32eb
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x30]
push str._c:_
push eax
call fcn.00407b30
mov esi, dword [ebp - 0x30]
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4261e2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 8
jb 0x4261f3
push dword [ebp - 0x2c]
call fcn.0049500b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret
Function at 0x426aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e5218
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x74e300]
push 8
mov dword [eax], 0x6abb60
mov dword [eax + 4], 7
xor eax, eax
push str.SelectIF
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov dword [esp + 0x50], 0
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
mov ebx, eax
jb 0x426b3f
push dword [esp + 0x14]
call fcn.0049500b
add esp, 4
push 0xb
xor eax, eax
push str.SelectWless
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
mov dword [esp + 0x50], 1
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
mov edi, eax
jb 0x426b9e
push dword [esp + 0x14]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp ebx, 2
jne 0x426bd1
push str.14_2.bmp
call fcn.00465e70
mov dword [esi + 0x9c], eax
push 0
jmp 0x426c8b
cmp edi, 1
jne 0x426c75
push str.13_2.bmp
call fcn.00465e70
mov dword [esi + 0x94], eax
mov dword [esi + 0x200], eax
push 0
lea eax, [esi + 0x18c]
push eax
call fcn.0047adf0
push str.TUTO_RUN_COUNT
lea ecx, [esp + 0x30]
call fcn.00405d00
mov dword [esp + 0x50], 2
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x2c]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
cmp eax, edi
sete bl
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x426c47
push dword [esp + 0x2c]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
test bl, bl
je 0x426c9d
push 4
push str.Fail
mov ecx, 0x74e720
call fcn.00406400
jmp 0x426c9d
cmp edi, 2
jne 0x426c9d
push str.15_2.bmp
call fcn.00465e70
mov dword [esi + 0x98], eax
push edi
mov dword [esi + 0x200], eax
lea eax, [esi + 0x18c]
push eax
call fcn.0047adf0
push 2
lea eax, [esi + 0xa0]
push eax
call fcn.0047a790
lea eax, [esi + 0x118]
push eax
call fcn.0047a9b0
push 3
lea eax, [esi + 0x2ec]
push eax
call fcn.0047adf0
push 4
lea eax, [esi + 0x368]
push eax
call fcn.0047adf0
push 5
lea eax, [esi + 0x204]
push eax
call fcn.0047adf0
push 6
lea eax, [esi + 0x278]
push eax
call fcn.0047adf0
mov eax, dword [0x74e300]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42db20
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.004a0a81
mov ecx, esi
call fcn.0042dd80
mov ecx, esi
call fcn.0042dbb0
mov ecx, dword [0x74e2f8]
mov eax, dword [ecx + 0x160]
mov dword [esi + 0x43c], eax
mov eax, dword [ecx + 0x170]
mov dword [esi + 0x438], eax
lea eax, [esi + 0x448]
push eax
push dword [esi + 0x3e4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 4
push 0
push 0
push esi
lea eax, [esi + 0x108]
push 0x42e100
mov dword [esi + 0x458], eax
call fcn.0049f725
mov dword [esi + 0x54c], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x54c]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret

Function at 0x42dbb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e9280
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x74e300]
push 0
mov dword [eax], 0x6b5790
mov dword [eax + 4], 8
lea eax, [esi + 0x3c4]
push eax
call fcn.0047adf0
mov ebx, dword [0x74e300]
push 4
xor eax, eax
push str.LANG
lea ecx, [esp + 0x1c]
lea edi, [esi + 0x34c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406400
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], 0
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x30]
push eax
add ecx, 0xc
call fcn.00409910
push 6
push str.Arabic
mov byte [esp + 0x58], 1
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00407060
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x40], 8
jb 0x42dc82
push dword [esp + 0x2c]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x42dcb4
push dword [esp + 0x14]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp byte [esp + 0x13], al
je 0x42dcdc
lea eax, [ebx + 0x2c]
push eax
push str.HEADER3_RTL.bmp
jmp 0x42dce5
lea eax, [ebx + 0x1c]
push eax
push str.HEADER3.bmp
push edi
call fcn.0047a920
lea eax, [esi + 0x2d8]
push eax
call fcn.0047a9b0
push 1
lea eax, [esi + 0x45c]
push eax
call fcn.0047adf0
push 7
lea eax, [esi + 0x4d8]
push eax
call fcn.0047adf0
push 2
lea eax, [esi + 0x94]
push eax
call fcn.0047adf0
push 3
lea eax, [esi + 0x108]
push eax
call fcn.0047adf0
push 4
lea eax, [esi + 0x264]
push eax
call fcn.0047adf0
push 0
lea ecx, [esi + 0x17c]
call fcn.0049c768
push 6
lea eax, [esi + 0x1f0]
push eax
call fcn.0047adf0
mov eax, dword [0x74e300]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e6330
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x677000]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
push 7
xor eax, eax
push str.MESSAGE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00406400
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x64], 0
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0x3c]
push eax
add ecx, 0x1c
call fcn.00409910
mov byte [esp + 0x60], 2
cmp dword [esp + 0x24], 8
jb 0x434518
push dword [esp + 0x10]
call fcn.0049500b
add esp, 4
xor eax, eax
push ecx
mov word [esp + 0x14], ax
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0x5c
call fcn.0041fd20
mov ecx, eax
cmp ecx, 0xffffffff
je 0x434577
cmp dword [esp + 0x48], ecx
jae 0x43455f
push str.invalid_string_position
call fcn.005d32eb
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x48], ecx
mov word [eax + ecx*2], dx
push 0x15
push str.YOMIKAKULicense.txt
lea ecx, [esp + 0x40]
call fcn.004062d0
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x38]
jne 0x4345b7
cmp dword [esp + 0x4c], 8
cmovae eax, dword [esp + 0x38]
push eax
push str.CDlgEULA_YOMIKAKU::SetEulaString__GetFileAttributes___Failed___fpath:_sx
jmp 0x4345ed
cmp dword [esp + 0x4c], 8
push 0
cmovae eax, dword [esp + 0x3c]
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43460f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDlgEULA_YOMIKAKU::SetEulaString__CreateFile___Failed___0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor esi, esi
jmp 0x434688
lea edx, [esp + 0x34]
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.0041cb50
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x38]
xorps xmm0, xmm0
push 0x449
push dword [ebx + 0x470]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x4346c0
call esi
push 0
push 0
push 0xce
push dword [ebx + 0x470]
call esi
push 0
neg eax
push eax
lea ecx, [ebx + 0x450]
call fcn.004a2c66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
cmp dword [esp + 0x4c], 8
jb 0x43469b
push dword [esp + 0x38]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret
Function at 0x4349a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e4f18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004a0a81
mov ecx, esi
call fcn.00434aa0
push 6
xor eax, eax
push str.REBOOT
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00406400
mov dword [esp + 0x30], 0
mov ecx, dword [0x74e2f4]
lea eax, [esp + 0xc]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409da0
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
mov edi, eax
jb 0x434a38
push dword [esp + 0xc]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
lea ecx, [esi + 0x204]
test edi, edi
je 0x434a66
push 5
call fcn.0049c768
push 0
push 1
jmp 0x434a71
push 0
call fcn.0049c768
push 0
push 0
push 0xf1
push dword [esi + 0x224]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret