joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b430
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b894]
sub esp, 0x80c
test eax, eax
push ebp
mov ebp, dword [ecx + 0x20]
push esi
je 0x40b452
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x40b59c
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x40b48e
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40b47d
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b50c
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x40b50c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40b54d
lea edx, [esp + 0x18]
test edx, edx
je 0x40b549
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40b54d
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40b54d
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x40b558
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
pop edi
je 0x40b5c9
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x40b59c
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
pop esi
mov dword [0x42b898], 0
mov eax, 1
pop ebp
add esp, 0x80c
ret
call eax
test eax, eax
je 0x40b5c9
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
je 0x40b5c9
mov eax, dword [esi]
push 8
push 0x3f1
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
push 4
push 0x3ef
push esi
call dword [ecx + 0x10]
pop esi
mov eax, 1
pop ebp
add esp, 0x80c
ret
Function at 0x40bc20
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea ecx, [esp + 0x30]
push 2
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [0x42201c]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x40bc8d
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call fcn.00414564
test eax, eax
jne 0x40bc7e
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [0x422024]
mov eax, dword [esp + 4]
pop ebx
add esp, 0x10
ret

Function at 0x40bda0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
push ebp
mov ebp, dword [esp + 0x81c]
test ebp, ebp
je 0x40bf21
mov eax, dword [esp + 0x814]
mov dword [ebp], 0
test eax, eax
je 0x40bf21
mov eax, dword [0x42b894]
test eax, eax
je 0x40bde3
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x40bf2b
push esi
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x40be20
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40be0f
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x40be9e
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x40be9e
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40bedf
lea edx, [esp + 0x18]
test edx, edx
je 0x40bedb
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40bedf
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40bedf
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x40beea
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
je 0x40bf21
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x40bf2b
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
xor eax, eax
pop ebp
add esp, 0x80c
ret
call eax
test eax, eax
je 0x40bf21
mov ecx, dword [esp + 0x818]
mov edx, dword [eax]
push ebp
push ecx
mov ecx, dword [esp + 0x81c]
push ecx
push eax
call dword [edx + 0x20]
pop ebp
add esp, 0x80c
ret
Function at 0x40bf50
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b990]
sub esp, 0x80c
test eax, eax
je 0x40bf6d
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x40c0a2
push esi
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x40bfaa
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40bf99
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c028
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x40c028
mov eax, dword [esp + 8]
test eax, eax
jne 0x40c069
lea edx, [esp + 0x14]
test edx, edx
je 0x40c065
lea eax, [esp + 0x14]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40c069
lea ecx, [esp + 0x14]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40c069
push 1
call fcn.0041ef80
lea edx, [esp + 0x18]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x40c074
lea eax, [esp + 0x14]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
jne 0x40c086
add esp, 0x80c
ret
push str.GetMiniUI4
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b990], eax
jne 0x40c0a2
add esp, 0x80c
ret
call eax
add esp, 0x80c
ret

Function at 0x40c7f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x20]
push 0x7fbc
push eax
call dword [0x422554]
test eax, eax
je 0x40c80c
push 0
push eax
call dword [0x422524]
ret
Function at 0x40ca80
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b894]
sub esp, 0x80c
test eax, eax
push ebp
mov ebp, dword [ecx + 0x20]
je 0x40caa1
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x40cbec
push esi
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x40cade
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40cacd
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x40cb5c
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x40cb5c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40cb9d
lea edx, [esp + 0x18]
test edx, edx
je 0x40cb99
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40cb9d
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40cb9d
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x40cba8
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
je 0x40cbf9
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x40cbec
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
mov eax, 1
pop ebp
add esp, 0x80c
ret
call eax
test eax, eax
je 0x40cbf9
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x1c]
mov eax, 1
pop ebp
add esp, 0x80c
ret
Function at 0x40d590
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420fc0
push eax
mov dword fs:[0], esp
sub esp, 0x38
lea eax, [esp + 0x10]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call dword [0x422500]
mov eax, dword [esp + 0x58]
mov edi, 0xd
cmp eax, 1
mov ebx, 0x1e
jne 0x40d5dc
mov edi, 0x8c
mov ebx, 0x9d
jmp 0x40d5eb
cmp eax, 2
jne 0x40d5eb
mov edi, 0x107
mov ebx, 0x118
mov eax, dword [esp + 0x28]
xor esi, esi
sub eax, 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0x423110
mov edx, dword [esp + 0x2c]
push 9
add eax, 2
push 9
lea ecx, [edx + 1]
mov dword [esp + 0x58], esi
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [0x422038]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CGdiObject::Attach
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x423110
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
lea eax, [ecx + 8]
lea edx, [esi + edi]
mov dword [esp + 0x38], eax
lea eax, [ebx + edi]
mov dword [esp + 0x34], edx
push 2
cdq
sub eax, edx
lea ecx, [esp + 0x34]
sar eax, 1
add eax, esi
add esi, ebx
push 3
push ecx
mov byte [esp + 0x5c], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], esi
call dword [0x422064]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 2
and eax, esi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [0x422030]
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0x20]
lea eax, [esp + 0x10]
push 1
neg eax
sbb eax, eax
and eax, esi
push eax
push edx
call dword [0x422548]
mov esi, 0x422a50
mov dword [esp + 0x18], esi
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], 0x422a78
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4

Function at 0x40db80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
lea ecx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
lea edx, [esp + 8]
push eax
push ecx
push edx
push str.NPAskedCL
push str.Software360Safe_safemon
push 0x80000002
mov dword [esp + 0x18], 0
call dword [0x4224d8]
mov ecx, dword [esp]
xor eax, eax
cmp ecx, 1
sete al
add esp, 0xc
ret
Function at 0x40dc00
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
push ebp
push esi
test ebx, ebx
push edi
je 0x40dd1b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [0x4224c8]
push 0
lea eax, [esp + 0x14]
push 0x19
push eax
push 0
call edi
mov ebp, dword [0x42207c]
lea ecx, [esp + 0x10]
push ecx
call ebp
cmp word [esp + eax*2 + 0xe], 0x5c
jne 0x40dc65
mov esi, dword [0x422080]
lea edx, [esp + 0x10]
push ebx
push edx
jmp 0x40dc7d
mov esi, dword [0x422080]
lea eax, [esp + 0x10]
push 0x429100
push eax
call esi
lea ecx, [esp + 0x10]
push ebx
push ecx
call esi
lea edx, [esp + 0x10]
push edx
call dword [0x4224ec]
test eax, eax
je 0x40dcb1
mov ecx, dword [esp + 0x220]
lea eax, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret 8
push 0
lea ecx, [esp + 0x14]
push 0x10
push ecx
push 0
call edi
lea edx, [esp + 0x10]
push edx
call ebp
cmp word [esp + eax*2 + 0xe], 0x5c
jne 0x40dcd5
lea eax, [esp + 0x10]
push ebx
push eax
jmp 0x40dce7
lea ecx, [esp + 0x10]
push 0x429100
push ecx
call esi
lea edx, [esp + 0x10]
push ebx
push edx
call esi
lea eax, [esp + 0x10]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40dd1b
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x224]
call sub.MFC42u.DLL_CString::operator_1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret 8
Function at 0x40de10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x421090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
call dword [0x4225d0]
lea eax, [esp + 4]
push eax
push 0x423c8c
push 1
push ebx
push 0x423f6c
call dword [0x4225cc]
cmp eax, ebx
jl 0x40df65
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x40df65
mov ecx, dword [eax]
push esi
mov esi, dword [esp + 0x24]
push esi
push eax
call dword [ecx + 0x50]
push esi
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
call sub.MFC42u.DLL_CString::ReverseFind
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push 0x42455c
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
pop esi
jl 0x40df32
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x40df32
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push 2
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [0x4225c8]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [0x4225c8]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
call dword [0x4225c8]
mov ecx, dword [esp + 0x10]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x40df80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x10
push eax
push 0
call dword [0x4224c8]
lea ecx, [esp + 4]
push ecx
call dword [0x42207c]
cmp word [esp + eax*2 + 2], 0x5c
pop edi
jne 0x40dfd7
mov edx, dword [esp + 0x210]
lea eax, [esp]
push edx
push eax
call dword [0x422080]
jmp 0x40dffa
push esi
mov esi, dword [0x422080]
lea ecx, [esp + 4]
push 0x429100
push ecx
call esi
mov edx, dword [esp + 0x214]
lea eax, [esp + 4]
push edx
push eax
call esi
pop esi
mov edx, dword [esp + 0x20c]
lea ecx, [esp]
push ecx
push edx
call fcn.0040de10
add esp, 0x210
ret
Function at 0x40ff80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [ecx + 0x14]
mov eax, dword [edi - 8]
test eax, eax
jne 0x40ff95
xor eax, eax
pop edi
add esp, 0xc
ret
push esi
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x410001
push ebx
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x14]
push 4
push ecx
lea edx, [esp + 0x20]
push 4
push edx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov ebx, eax
call dword [0x422158]
test ebx, ebx
pop ebx
je 0x410001
mov eax, dword [esp + 8]
test eax, eax
jne 0x410046
test edi, edi
je 0x410046
push edi
call dword [0x4224ec]
test eax, eax
je 0x410046
push edi
call fcn.0041f330
add esp, 4
test eax, eax
je 0x410046
push edi
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x410046
push 1
call fcn.0041ef80
push eax
push edi
call fcn.0041f210
add esp, 0xc
mov eax, 1
pop esi
pop edi
add esp, 0xc
ret
push 5
push 0
push 0
push edi
push str.open
push 0
call dword [0x4224cc]
pop esi
mov eax, 1
pop edi
add esp, 0xc
ret

Function at 0x410cd0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x800
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x810]
xor ecx, ecx
lea ebx, [esi + 8]
mov dword [esi], edi
cmp ebx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
je 0x410e19
cmp edi, ecx
mov dword [ebx], ecx
je 0x410e19
mov eax, dword [0x42b894]
cmp eax, ecx
je 0x410d16
cmp dword [0x42b898], ecx
jne 0x410e06
push ebp
lea eax, [esp + 0x10]
push 0x400
push eax
push ecx
call dword [0x4220c8]
mov ebp, dword [0x4224f0]
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [0x42b89c]
xor edi, edi
test eax, eax
jle 0x410d51
lea edx, [esp + 0x10]
push edx
call ebp
mov eax, dword [0x42b89c]
inc edi
cmp edi, eax
jl 0x410d40
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x4224e0]
push 0
call dword [0x4220b4]
push eax
call fcn.00404930
add esp, 8
test eax, eax
pop ebp
jne 0x410dbd
lea edx, [esp + 0xc]
test edx, edx
je 0x410db9
lea eax, [esp + 0xc]
push eax
call dword [0x4224ec]
test eax, eax
je 0x410dbd
lea ecx, [esp + 0xc]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x410dbd
push 1
call fcn.0041ef80
lea edx, [esp + 0x10]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x410dc8
lea eax, [esp + 0xc]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
je 0x410e19
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x410dff
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
jmp 0x410e19
mov edi, dword [esp + 0x810]
call eax
test eax, eax
je 0x410e19
mov edx, dword [eax]
push ebx
push 0x2710
push edi
push eax
call dword [edx + 0x20]
mov eax, dword [ebx]
lea ecx, [esi + 0xc]
test eax, eax
mov dword [ecx], 0
je 0x410e33
mov edx, dword [eax]
push ecx
push 0x2774
push eax
call dword [edx]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x800
ret 4
Function at 0x411610
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x421408
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0
lea ebx, [esi - 0x18]
push ebx
call fcn.004100d0
test al, al
je 0x41168b
lea edi, [ebx + 8]
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call sub.MFC42u.DLL_CString::operator
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 0xc]
call sub.MFC42u.DLL_CString::operator
mov edx, dword [edi + 8]
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edx
call sub.MFC42u.DLL_CString::operator
mov esi, ebx
sub ebx, 0x18
push ebx
lea ecx, [esp + 0x24]
sub edi, 0x18
call fcn.004100d0
test al, al
jne 0x411648
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 8]
call sub.MFC42u.DLL_CString::operator
lea eax, [esp + 0x2c]
lea ecx, [esi + 0xc]
push eax
call sub.MFC42u.DLL_CString::operator
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x14]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ff20
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x412d90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x218]
lea edx, [esp + 4]
push ecx
push edx
push eax
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x208
call dword [0x4224d8]
test eax, eax
jne 0x412dee
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x21c]
call sub.MFC42u.DLL_CString::operator_1
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret

Function at 0x412e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push str._d__d__d__d__d__d_
push eax
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CString::Format_1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.00412e90
add esp, 0x28
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4