joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406940
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 0x406962
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x406aac
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 0x40699e
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40698d
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 0x406a1c
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 0x406a1c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x406a5d
lea edx, [esp + 0x18]
test edx, edx
je 0x406a59
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x406a5d
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x406a5d
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x406a68
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
pop edi
je 0x406af0
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x406aac
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 0x406af0
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
je 0x406af0
mov eax, dword [esi]
push 3
push 0x3f7
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
push 8
push 0x3f8
push esi
call dword [ecx + 0x10]
mov edx, dword [esi]
push 0xc
push 0x3f9
push esi
call dword [edx + 0x10]
mov eax, dword [esi]
push 0xc
push 2
push esi
call dword [eax + 0x10]
pop esi
mov eax, 1
pop ebp
add esp, 0x80c
ret
Function at 0x407670
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x41c
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
call dword [0x4220c8]
lea ecx, [esp + 0x18]
push str...WDRecord.dll
push ecx
call dword [0x4224f8]
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 0x40771c
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 0x40771c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x407765
lea edx, [esp + 0x18]
test edx, edx
je 0x407759
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x407765
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x407765
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x41c
ret
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
je 0x407759
push str.GetDataBase
push eax
call dword [0x4220d0]
test eax, eax
je 0x407759
push 1
call eax
test eax, eax
mov dword [ebx], eax
je 0x407759
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
push 1
lea ecx, [esp + 0x224]
push 0x1a
push ecx
push 0
stosw word es:[edi], ax
call dword [0x4224c8]
test eax, eax
je 0x407759
lea edx, [esp + 0x220]
push str.360safe360PayGuard.dat
push edx
call dword [0x4224f8]
mov ecx, dword [ebx]
lea edx, [esp + 0x220]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x407759
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x41c
ret
Function at 0x407800
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
push ebx
push esi
mov esi, dword [esp + 0x818]
lea ebx, [ecx + 4]
test ebx, ebx
mov dword [ecx], esi
je 0x4079ab
test esi, esi
mov dword [ebx], 0
je 0x4079ab
mov eax, dword [0x42b894]
test eax, eax
je 0x407841
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x407998
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 0x40787d
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40786c
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 0x4078fb
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 0x4078fb
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40793c
lea edx, [esp + 0x18]
test edx, edx
je 0x407938
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40793c
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40793c
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x407947
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
pop edi
je 0x4079ab
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x407991
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
mov ecx, dword [ebx]
xor eax, eax
pop esi
test ecx, ecx
setne al
pop ebx
add esp, 0x80c
ret 4
mov esi, dword [esp + 0x818]
call eax
test eax, eax
je 0x4079ab
mov edx, dword [eax]
push ebx
push 0x2af9
push esi
push eax
call dword [edx + 0x20]
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
pop esi
pop ebx
setne al
add esp, 0x80c
ret 4
Function at 0x408a90
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 0x408ab2
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x408bfc
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 0x408aee
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x408add
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 0x408b6c
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 0x408b6c
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x408bad
lea edx, [esp + 0x18]
test edx, edx
je 0x408ba9
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x408bad
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x408bad
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x408bb8
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
pop edi
je 0x408c30
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x408bfc
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 0x408c30
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
je 0x408c30
mov eax, dword [esi]
push 0xc
push 2
push esi
call dword [eax + 0x10]
mov ecx, dword [esi]
push 0xc
push 1
push esi
call dword [ecx + 0x10]
mov edx, dword [esi]
push 0xc
push 0x3fc
push esi
call dword [edx + 0x10]
pop esi
mov eax, 1
pop ebp
add esp, 0x80c
ret

Function at 0x4091d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x20]
push esi
push 0x3fe
push eax
call dword [0x422554]
mov esi, eax
push esi
call dword [0x422568]
test eax, eax
je 0x4091f6
push 0
push esi
call dword [0x422524]
pop esi
ret
Function at 0x4092a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x810
mov eax, dword [0x42b894]
mov dword [esp], 0
test eax, eax
je 0x4092c5
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x409405
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 0x409302
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x4092f1
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 0x409380
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 0x409380
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4093c1
lea edx, [esp + 0x18]
test edx, edx
je 0x4093bd
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x4093c1
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x4093c1
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x4093cc
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
pop edi
mov dword [0x42b898], eax
test eax, eax
pop esi
je 0x409423
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x409405
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
jmp 0x409423
call eax
test eax, eax
je 0x409423
mov edx, dword [eax]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x818]
push 0x2719
push ecx
push eax
call dword [edx + 0x20]
mov eax, dword [esp]
test eax, eax
jne 0x409432
add esp, 0x810
ret
mov ecx, dword [esp + 0x820]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x820]
push ecx
push eax
call dword [edx + 0x20]
mov eax, dword [esp]
mov ecx, dword [esp + 0x818]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [esp]
add esp, 0x810
ret
Function at 0x40a3f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x214
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push 0
call dword [0x4220c8]
lea ecx, [esp + 0x18]
push str.....360Restore.exe
push ecx
call dword [0x4224f8]
mov ebp, dword [0x4224ec]
lea edx, [esp + 0x18]
push edx
call ebp
test eax, eax
je 0x40a51e
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 0x40a4af
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 edi, eax
call dword [0x422158]
test edi, edi
je 0x40a4af
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40a503
lea eax, [esp + 0x18]
test eax, eax
je 0x40a503
lea ecx, [esp + 0x18]
push ecx
call ebp
test eax, eax
je 0x40a503
lea edx, [esp + 0x18]
push edx
call fcn.0041f330
add esp, 4
test eax, eax
je 0x40a503
lea eax, [esp + 0x18]
push eax
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40a503
push 1
call fcn.0041ef80
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0041f210
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x214
ret
push 5
push 0
lea edx, [esp + 0x20]
push str._pagedeepscan
push edx
push str.open
push 0
call dword [0x4224cc]
pop edi
pop esi
pop ebp
add esp, 0x214
ret
Function at 0x40a5b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x420c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x874
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
call fcn.00412640
lea ecx, [esp + 0xc]
mov dword [esp + 0x880], 0
call sub.MFC42u.DLL_CDialog::DoModal
cmp eax, 1
jne 0x40a767
test esi, esi
mov dword [esp + 4], 0
je 0x40a767
mov eax, dword [esi + 0x20]
push ebp
test eax, eax
je 0x40a622
push 0x3f0
push eax
call dword [0x422554]
mov ebp, eax
jmp 0x40a624
xor ebp, ebp
mov eax, dword [0x42b894]
test eax, eax
je 0x40a63b
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x40a737
push edi
lea eax, [esp + 0x80]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x80]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x40a680
lea edx, [esp + 0x80]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40a66c
lea eax, [esp + 0x80]
push str.MiniUI.dll
lea ecx, [esp + 0x84]
push eax
push ecx
call dword [0x4224e0]
push 0
call dword [0x4220b4]
push eax
call fcn.00404930
add esp, 8
test eax, eax
pop edi
jne 0x40a6f5
lea edx, [esp + 0x7c]
test edx, edx
je 0x40a6f1
lea eax, [esp + 0x7c]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40a6f5
lea ecx, [esp + 0x7c]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40a6f5
push 1
call fcn.0041ef80
lea edx, [esp + 0x80]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x40a700
lea eax, [esp + 0x7c]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
je 0x40a74e
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x40a737
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
jmp 0x40a74e
call eax
test eax, eax
je 0x40a74e
mov edx, dword [eax]
lea ecx, [esp + 8]
push ecx
push 0x2a96
push ebp
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 8]
pop ebp
test eax, eax
je 0x40a767
mov edx, dword [esp + 8]
push eax
lea ecx, [edx + 0x184]
call fcn.0040fb90
lea ecx, [esp + 0xc]
mov dword [esp + 0x880], 0xffffffff
call sub.MFC42u.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x878]
pop esi
mov dword fs:[0], ecx
add esp, 0x880
ret
Function at 0x40a810
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x420c9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebx
push ebp
xor ebx, ebx
push 0x3ee
mov dword [esp + 0xc], ebx
call sub.MFC42u.DLL_CWnd::GetDlgItem_1
mov ebp, eax
mov dword [esp + 8], ebx
cmp ebp, ebx
je 0x40a9bd
mov eax, dword [0x42b894]
cmp eax, ebx
je 0x40a860
cmp dword [0x42b898], ebx
jne 0x40a946
push esi
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push ebx
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b89c]
xor esi, esi
cmp eax, ebx
jle 0x40a89c
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x40a88b
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
push ebx
call dword [0x4220b4]
push eax
call fcn.00404930
add esp, 8
cmp eax, ebx
pop edi
pop esi
jne 0x40a908
lea edx, [esp + 0x10]
test edx, edx
je 0x40a904
lea eax, [esp + 0x10]
push eax
call dword [0x4224ec]
test eax, eax
je 0x40a908
lea ecx, [esp + 0x10]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x40a908
push 1
call fcn.0041ef80
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x40a913
lea eax, [esp + 0x10]
push eax
call dword [0x4220cc]
cmp eax, ebx
mov dword [0x42b898], eax
je 0x40a960
push str.GetMiniUI
push eax
call dword [0x4220d0]
cmp eax, ebx
mov dword [0x42b894], eax
jne 0x40a946
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], ebx
jmp 0x40a960
call eax
cmp eax, ebx
je 0x40a960
mov edx, dword [eax]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [ebp + 0x20]
push 0x32ca
push ecx
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x40a9bd
mov edx, dword [eax]
push ebx
push 3
push eax
call dword [edx + 0x4c]
mov eax, dword [esp + 8]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x160
lea edx, [esp + 0x10]
push 0x429370
push edx
call fcn.00405450
add esp, 0xc
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x820], ebx
call dword [ecx + 0x44]
lea ecx, [esp + 0xc]
mov dword [esp + 0x818], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x810]
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x814
ret
Function at 0x40a9e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x420cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
push str.NPSafePay
lea esi, [edi + 0x64]
mov ecx, esi
call fcn.00410cb0
mov eax, dword [edi + 0x20]
push 0x3e9
push eax
call dword [0x422554]
push eax
mov ecx, esi
call fcn.004106f0
push 0x11
push 0x429560
mov ecx, esi
call fcn.00410270
push 0x42b98c
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
push 0x8c
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
push ecx
push 0x90
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fea0
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.00410500
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0040ff20
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
call fcn.00410730
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40aad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x420cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
push str.NPSafeGroupon
lea esi, [edi + 0xc4]
mov ecx, esi
call fcn.00410cb0
mov eax, dword [edi + 0x20]
push 0x3ea
push eax
call dword [0x422554]
push eax
mov ecx, esi
call fcn.004106f0
push 0x15
push 0x429670
mov ecx, esi
call fcn.00410270
push 0x42b98c
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
push 0x8e
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
push ecx
push 0x90
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fea0
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.00410500
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0040ff20
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
call fcn.00410730
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40abc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x420d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
push str.NPSafeBank
lea esi, [edi + 0x124]
mov ecx, esi
call fcn.00410cb0
mov eax, dword [edi + 0x20]
push 0x3eb
push eax
call dword [0x422554]
push eax
mov ecx, esi
call fcn.004106f0
push 0xe
push 0x4297c0
mov ecx, esi
call fcn.00410270
push 0x42b98c
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
push 0x8d
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
push ecx
push 0x90
push eax
lea ecx, [esp + 0x1c]
call fcn.0040fea0
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.00410500
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0040ff20
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
call fcn.00410730
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40b280
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.00414240
mov ax, word [0x42b98c]
push ebx
push esi
mov esi, dword [esp + 0x4018]
push edi
mov word [esp + 0x18], ax
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x1a]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
test esi, esi
stosw word es:[edi], ax
je 0x40b376
mov ebx, dword [esp + 0x4020]
test ebx, ebx
je 0x40b376
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40b376
cmp eax, 0x3fff
ja 0x40b376
lea edx, [esp + 0x18]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40b376
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x429100
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40b376
mov edx, dword [esp + 0x4024]
xor eax, eax
mov edi, ebx
lea ecx, [edx + edx]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, dword [eax + 8]
shr eax, 0x10
push ecx
push eax
dec edx
push str._d._d._d._d
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x400c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x400c
ret