joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018ac
Capabilities:
Get graphical window text

Disassembly:
jmp 0x41647d
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x14
mov eax, 0x4562f9
call fcn.00425689
mov esi, dword [ebp + 0x90]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
push dword [esi]
mov dword [ebp - 4], ebx
call dword [0x470a00]
mov dword [esi], ebx
push dword [edi]
call dword [0x470b28]
and dword [ebp], 0
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jle 0x416574
lea eax, [ebx + 1]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004018ed
jmp 0x4164ff
cmp dword [ebp], 0
jne 0x416543
lea eax, [ebp + 4]
test eax, eax
je 0x416514
lea ecx, [ebp]
call fcn.00401ec9
lea ecx, [ebp - 0x14]
call fcn.00402117
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.004246a0
add ebp, 0x88
leave
ret 4
lea eax, [ebx + 1]
push eax
push dword [ebp]
push dword [edi]
call dword [0x470b2c]
test eax, eax
jne 0x416574
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x416566
lea ecx, [ebp]
call fcn.00401ec9
xor esi, esi
lea ecx, [ebp - 0x14]
call fcn.00402117
mov eax, esi
jmp 0x41651e
push dword [ebp]
call dword [0x4709fc]
mov dword [esi], eax
test ebx, ebx
jne 0x416588
xor esi, esi
inc esi
jmp 0x416591
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x416568
lea ecx, [ebp]
call fcn.00401ec9
jmp 0x416568
Function at 0x401906
Capabilities:
Set registry value

Disassembly:
jmp 0x414613
push 0x18
mov eax, 0x456192
call fcn.00425656
xor ebx, ebx
mov dword [ebp - 0x18], 0x80004005
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, 0x2001f
push esi
push str.SoftwareKingsoftOffice6.0commonlocal
mov edi, 0x80000001
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00402527
test eax, eax
je 0x414669
push ebx
push ebx
push esi
push ebx
push ebx
push str.SoftwareKingsoftOffice6.0commonlocal
push edi
lea ecx, [ebp - 0x24]
call fcn.0040281a
test eax, eax
jne 0x414720
mov eax, dword [ebp + 8]
mov edi, dword [0x47065c]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.HelpLanguage
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.UILanguage
push dword [ebp - 0x24]
call edi
call fcn.00402ad1
test eax, eax
jl 0x414720
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00401c26
test eax, eax
jl 0x4146fa
lea eax, [ebp - 0x10]
push eax
push 3
call fcn.00401c26
test eax, eax
jl 0x4146fa
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x14]
push 1
push eax
mov dword [ebp - 0x18], eax
call dword [ecx + 0xc]
push eax
push dword [ebp - 0x18]
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
push eax
push edi
call fcn.00401b68
add esp, 0x14
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41470b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x41471b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.004019a1
call fcn.00402455
cmp eax, 1
jne 0x414776
push esi
push str.SoftwareKingsoftOffice6.0common
mov edi, 0x80000002
push edi
lea ecx, [ebp - 0x24]
call fcn.00402527
test eax, eax
je 0x414759
push ebx
push ebx
push esi
push ebx
push ebx
push str.SoftwareKingsoftOffice6.0common
push edi
lea ecx, [ebp - 0x24]
call fcn.0040281a
test eax, eax
jne 0x414776
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push ebx
push str.DefaultLanguage
push dword [ebp - 0x24]
call dword [0x47065c]
lea ecx, [ebp - 0x24]
call fcn.00401e83
mov eax, dword [ebp - 0x18]
call fcn.0042572e
ret
Function at 0x402095
Capabilities:
Get graphical window text

Disassembly:
jmp 0x4203e5
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xcc
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x64], eax
push esi
push edi
mov esi, ecx
push 0x13f4
push dword [esi + 4]
call dword [0x470b4c]
mov edi, eax
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push eax
call fcn.004246b0
add esp, 0xc
push 0x64
lea eax, [ebp - 0x64]
push eax
push edi
call dword [0x470b2c]
cmp dword [esi + 0x20], 0
je 0x4204c1
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [esi + 0x24]
push edx
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x420493
push 0x30
cmp eax, 5
jne 0x420465
push 0x5871
push 0x5872
jmp 0x42046f
push 0x5861
push 0x5864
push dword [esi + 4]
call fcn.00401749
add esp, 0x10
push edi
call dword [0x470aec]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call dword [0x470b40]
jmp 0x4204cc
test byte [esi + 0x26], 0x20
je 0x4204c1
call fcn.00402969
test al, al
je 0x4204c1
lea eax, [ebp - 0x64]
push eax
call fcn.0040253b
pop ecx
test al, al
jne 0x4204c1
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0x1c]
push 0x30
jmp 0x420465
push 1
push dword [esi + 4]
call dword [0x470aa4]
mov ecx, dword [ebp + 0x64]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004246a0
add ebp, 0x68
leave
ret 0x10
Function at 0x40288d
Capabilities:
Set registry value

Disassembly:
jmp 0x4081aa
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4081bb
push 0xd
pop eax
jmp 0x4081e8
push edi
xor edi, edi
push esi
call dword [0x4708b4]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4081be
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [0x47065c]
pop edi
pop esi
pop ebx
ret 8

Function at 0x402a4f
Capabilities:
Delete registry value

Disassembly:
jmp 0x412a3e
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x45610a
call fcn.00425689
mov eax, dword [ebp + 0x41c]
mov ebx, dword [ebp + 0x420]
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
call fcn.004246b0
add esp, 0xc
push 0x2001b
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
push 0x80000000
mov dword [ebp - 0x20], 0x104
mov byte [ebp - 4], 1
call fcn.00402527
test eax, eax
jne 0x412b67
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.004246b0
lea eax, [ebp + 0x208]
push ebx
push eax
call fcn.00424c47
lea eax, [ebp + 0x208]
push 0x45c120
push eax
call fcn.00424c19
add esp, 0x1c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.004012cb
cmp eax, edi
jne 0x412b2c
push ebx
lea eax, [ebp]
push eax
push 0x45af78
lea ecx, [ebp - 0x18]
call fcn.004014b5
lea eax, [ebp + 0x208]
push eax
jmp 0x412b3c
cmp ebx, edi
je 0x412b47
push ebx
call fcn.00424686
pop ecx
test eax, eax
je 0x412b47
push ebx
push dword [ebp - 0x18]
call dword [0x470660]
jmp 0x412b58
push 0xffffffffffffffff
push edi
push edi
push 0x45af78
lea ecx, [ebp - 0x18]
call fcn.004026b7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
call fcn.00401e83
lea ecx, [ebp - 0x18]
call fcn.00401e83
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004246a0
add ebp, 0x414
leave
ret
Function at 0x402a7c
Capabilities:
Check if file exists

Disassembly:
jmp 0x41dbf3
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x4568f2
call fcn.00425656
mov eax, dword [ebp + 0x41c]
mov ebx, dword [ebp + 0x420]
mov edi, dword [ebp + 0x428]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x10], eax
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.004246b0
xor eax, eax
push esi
mov word [ebp + 0x208], ax
xor esi, esi
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.004246b0
push dword [ebp - 0x10]
lea eax, [ebp + 0x208]
push eax
call fcn.00424c47
add esp, 0x20
cmp word [edi], 0x5c
je 0x41dc8f
lea eax, [ebp + 0x208]
push 0x45afcc
push eax
call fcn.00424c19
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.00424c19
pop ecx
pop ecx
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dcf8
mov dword [ebp - 0x10], esi
push 1
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x208]
push eax
mov dword [ebp - 4], esi
call dword [ebp - 0x14]
test eax, eax
jl 0x41dce7
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
push ebx
mov esi, edi
call dword [eax + 0xc]
push eax
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0xc]
push eax
push esi
call fcn.004013ca
add esp, 0x10
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41dcf8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
call fcn.00424c47
lea eax, [ebp]
push 0x45de7c
push eax
call fcn.00424c19
mov ebx, dword [0x4708b4]
add esp, 0x10
lea eax, [ebp]
push eax
call ebx
inc eax
mov esi, 0x3fffffff
cmp eax, esi
jle 0x41dd33
xor edi, edi
jmp 0x41dd4e
lea edi, [eax + eax]
mov eax, edi
call fcn.00425e60
mov eax, esp
push 3
push edi
lea ecx, [ebp]
push ecx
push eax
call fcn.00401b9f
mov edi, eax
lea eax, [ebp + 0x208]
push eax
call ebx
inc eax
cmp eax, esi
jle 0x41dd60
xor eax, eax
jmp 0x41dd7c
lea esi, [eax + eax]
mov eax, esi
call fcn.00425e60
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.00401b9f
push edi
push eax
call dword [0x4707b8]
lea esp, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004246a0
add ebp, 0x414
leave
ret
Function at 0x402c02
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x41bd56
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
mov esi, dword [ebp + 0x1a0]
push edi
lea eax, [ebp - 0x78]
push eax
push 1
xor edi, edi
push edi
push str.SoftwareKingsoftOffice6.0commonupdateinfousersetting
push 0x80000002
call dword [0x47066c]
test eax, eax
jne 0x41bddf
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x7c], 0x104
call fcn.004246b0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push str.userappdata
push dword [ebp - 0x78]
call dword [0x470694]
test eax, eax
jne 0x41bddf
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.00424c47
pop ecx
pop ecx
inc edi
mov ecx, dword [ebp + 0x194]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004246a0
add ebp, 0x198
leave
ret

Function at 0x402c1b
Capabilities:
Get graphical window text

Disassembly:
jmp 0x422999
push ebp
lea ebp, [esp - 0x42c]
sub esp, 0x4ac
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x428], eax
push ebx
push esi
mov esi, dword [ebp + 0x434]
push edi
xor eax, eax
push 0x3fe
push eax
mov word [ebp + 0x28], ax
lea eax, [ebp + 0x2a]
push eax
mov edi, ecx
call fcn.004246b0
add esp, 0xc
push esi
lea ecx, [ebp - 0x20]
call fcn.00401ef6
push 0xff0000
push dword [ebp - 0x20]
call dword [0x470728]
push 1
push dword [ebp - 0x20]
call dword [0x47072c]
lea eax, [ebp - 0x7c]
push eax
push 0x5c
push 0x11
call dword [0x470740]
push eax
call dword [0x470718]
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 0x67], 1
call dword [0x47071c]
mov ebx, dword [0x470730]
push eax
push dword [ebp - 0x20]
call ebx
mov esi, dword [edi + 4]
mov dword [ebp - 0x80], eax
jmp 0x422a63
push 0x200
lea eax, [ebp + 0x28]
push eax
push dword [esi + 4]
call dword [0x470b2c]
lea eax, [ebp + 0x28]
push eax
call fcn.00424686
pop ecx
push 0
lea ecx, [esi + 8]
push ecx
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp - 0x20]
call dword [0x470ae8]
add esi, 0x18
cmp esi, dword [edi + 8]
jne 0x422a30
push dword [ebp - 0x80]
push dword [ebp - 0x20]
call ebx
push eax
call dword [0x470720]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [0x470ad8]
mov ecx, dword [ebp + 0x428]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004246a0
add ebp, 0x42c
leave
ret 4
Function at 0x402c6b
Capabilities:
Delete registry value

Disassembly:
jmp 0x412700
push 0x10
mov eax, 0x4560a3
call fcn.00425689
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 2
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call fcn.00402527
test eax, eax
jne 0x412788
cmp dword [ebp + 0xc], esi
je 0x41275b
push dword [ebp + 0xc]
call fcn.00424686
pop ecx
test eax, eax
je 0x41275b
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call dword [0x470660]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x412775
push 0xffffffffffffffff
push esi
push esi
push 0x45af78
lea ecx, [ebp - 0x1c]
call fcn.004026b7
xor ecx, ecx
cmp eax, esi
sete cl
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.00401e83
jmp 0x412788
lea ecx, [ebp - 0x1c]
call fcn.00401e83
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
call fcn.0042572e
ret
Function at 0x404fb1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4050ad
cmp word [esi], 0
je 0x4050ad
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
xor ebx, ebx
push eax
inc ebx
call fcn.004246b0
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4050a8
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00424c47
lea eax, [ebp - 0x20c]
push eax
call fcn.00424686
add esp, 0xc
test eax, eax
je 0x40504c
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x40504c
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x20c], cx
inc eax
xor ecx, ecx
mov word [ebp + eax*2 - 0x20c], cx
push edi
lea eax, [ebp + eax*2 - 0x20c]
push 0x45afd0
push eax
call fcn.00424c47
pop ecx
pop ecx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [0x470944]
mov edi, eax
cmp edi, 0xffffffff
je 0x4050a7
mov esi, dword [0x4708dc]
lea eax, [ebp - 0x45c]
push eax
push edi
call esi
test eax, eax
je 0x40509e
lea eax, [ebp - 0x45c]
push eax
push edi
call esi
test eax, eax
je 0x4050a0
xor ebx, ebx
push edi
call dword [0x470948]
pop edi
mov eax, ebx
pop ebx
jmp 0x4050af
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004246a0
leave
ret 4
Function at 0x40683c
Capabilities:
Check if file exists

Disassembly:
jmp 0x40683c
push ebp
lea ebp, [esp - 0x17b0]
mov eax, 0x1830
call fcn.004250e0
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x17ac], eax
mov eax, dword [ebp + 0x17bc]
push esi
push edi
mov edi, dword [ebp + 0x17b8]
mov dword [ebp - 0x80], ecx
xor ecx, ecx
mov dword [ebp - 0x7c], eax
cmp edi, ecx
je 0x4069c8
cmp word [edi], cx
je 0x4069c8
cmp eax, ecx
je 0x4069c8
cmp word [eax], cx
je 0x4069c8
xor eax, eax
mov esi, 0x40e
push esi
mov word [ebp + 0xf8c], ax
push ecx
lea eax, [ebp + 0xf8e]
push eax
mov dword [ebp - 0x78], 0x80004005
call fcn.004246b0
xor eax, eax
push esi
push eax
mov word [ebp + 0x139c], ax
lea eax, [ebp + 0x139e]
push eax
call fcn.004246b0
push dword [ebp + 0x17c0]
call fcn.00401cd5
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4068eb
mov eax, 0x80004005
jmp 0x4069cd
push dword [ebp - 0x7c]
lea eax, [ebp + 0x139c]
push eax
call fcn.00424c47
lea eax, [ebp + 0x139c]
push eax
call fcn.00424686
add esp, 0xc
cmp word [ebp + eax*2 + 0x139a], 0x5c
je 0x406927
lea eax, [ebp + 0x139c]
push 0x45afcc
push eax
call fcn.00424c19
pop ecx
pop ecx
lea eax, [ebp + 0xf8c]
push edi
push eax
call fcn.00424c47
push dword [esi]
lea eax, [ebp + 0xf8c]
push eax
call fcn.00424c19
add esp, 0x10
lea eax, [ebp + 0xf8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4069c3
push dword [esi + 8]
lea ecx, [ebp - 0x74]
call fcn.00401181
push dword [esi + 0xc]
lea ecx, [ebp + 0x78c]
call fcn.00401181
lea eax, [ebp - 0x74]
push eax
call fcn.00424686
pop ecx
test eax, eax
je 0x4069c3
lea eax, [ebp + 0x78c]
push eax
call fcn.00424686
pop ecx
test eax, eax
je 0x4069c3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x139c]
push eax
call fcn.00424c19
pop ecx
pop ecx
push dword [esi + 4]
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x78c]
push eax
lea eax, [ebp + 0x139c]
push eax
lea eax, [ebp + 0xf8c]
push eax
call fcn.00401172
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
jmp 0x4069cd
mov eax, 0x80070057
mov ecx, dword [ebp + 0x17ac]
pop edi
xor ecx, ebp
pop esi
call fcn.004246a0
add ebp, 0x17b0
leave
ret 0xc
Function at 0x407193
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x407287
cmp word [esi], 0
je 0x407287
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004246b0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00424c47
add esp, 0x14
push 0x5853
lea ecx, [ebp - 0xa0c]
call fcn.00401181
lea eax, [ebp - 0x20c]
push eax
call fcn.00424686
cmp word [ebp + eax*2 - 0x20e], 0x5c
pop ecx
mov esi, 0x45afcc
je 0x407226
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00424c19
pop ecx
pop ecx
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00424c19
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00424c19
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.0040128a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407287
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.004016e5
test eax, eax
je 0x407287
lea eax, [ebp - 0x20c]
push eax
call fcn.0040236f
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004246a0
leave
ret 4
Function at 0x4088d9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jmp 0x4088d9
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.00402527
mov ebx, eax
cmp ebx, edi
je 0x408949
lea ecx, [ebp - 0x70]
call fcn.00401e83
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004246a0
add ebp, 0x19c
leave
ret 4
mov ebx, dword [0x470698]
jmp 0x408961
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040186b
cmp eax, edi
jne 0x408994
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], pe_nt_image_headers32
call ebx
test eax, eax
je 0x408951
lea ecx, [ebp - 0x70]
call fcn.00401e83
push dword [ebp - 0x78]
push dword [esi]
call dword [0x4706a0]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401e83
mov eax, esi
jmp 0x40892f
Function at 0x40aa07
Capabilities:
Get common file path

Disassembly:
jmp 0x40aa07
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x24
mov eax, 0x45577e
call fcn.00425656
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x208], ax
xor esi, esi
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.004246b0
xor eax, eax
push edi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push esi
push eax
call fcn.004246b0
xor eax, eax
push edi
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.004246b0
mov edi, dword [0x470a40]
add esp, 0x24
push esi
push 0x19
lea eax, [ebp + 0x410]
push eax
push esi
call edi
push esi
push 0x17
lea eax, [ebp]
push eax
push esi
call edi
push esi
push 0x10
lea eax, [ebp + 0x208]
push eax
push esi
call edi
lea ecx, [ebp - 0x30]
call fcn.00401db1
mov dword [ebp - 4], esi
cmp word [ebp + 0x410], si
je 0x40aac2
push esi
lea eax, [ebp + 0x410]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401695
cmp word [ebp + 0x208], si
je 0x40aadb
push esi
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401695
cmp word [ebp], si
je 0x40aaef
push 1
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401695
push esi
push esi
push esi
push 0x8000000
call dword [0x470a3c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004022d9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.004246a0
add ebp, 0x61c
leave
ret
Function at 0x40e295
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46c134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], ebx
je 0x40e2c3
push dword [ebp + 8]
call dword [0x4708b4]
inc eax
cmp eax, 0x3fffffff
jle 0x40e2c7
xor eax, eax
jmp 0x40e2df
lea esi, [eax + eax]
mov eax, esi
call fcn.00425e60
mov eax, esp
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.00401b9f
push 0x45bc58
push eax
call fcn.004267a5
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x10], edi
cmp edi, ebx
jne 0x40e2ff
mov eax, 0x80004005
jmp 0x40e459
push 2
push ebx
push edi
call fcn.0042665c
push edi
call fcn.00426564
push ebx
push ebx
push edi
mov esi, eax
call fcn.0042665c
shr esi, 1
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424670
mov edi, eax
add esp, 0x20
mov dword [ebp - 0x14], edi
cmp edi, ebx
je 0x40e2f5
push dword [ebp - 0x10]
push esi
push 2
push edi
call fcn.004263aa
add esp, 0x10
cmp esi, eax
jne 0x40e2f5
push ebx
push dword [ebp - 8]
xor eax, eax
push esi
push edi
mov word [edi + esi*2], ax
call fcn.00401ab4
test eax, eax
jl 0x40e2f5
mov edi, dword [ebp - 8]
lea eax, [ebp + 0x10]
push eax
lea ecx, [edi + 4]
call fcn.0040227a
mov esi, eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.0040227a
mov edi, eax
cmp dword [ebp + 0x14], ebx
je 0x40e3e4
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp ebx, eax
je 0x40e3b8
lea eax, [ebx + 0x1c]
push eax
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push dword [ebp + 0xc]
call fcn.004026e4
mov ecx, dword [ebp - 8]
call fcn.0040154b
add ebx, 0x38
cmp ebx, dword [esi + 8]
jne 0x40e393
mov esi, dword [edi + 4]
jmp 0x40e3dd
lea eax, [esi + 0x1c]
push eax
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push dword [ebp + 0xc]
call fcn.004026e4
mov ecx, dword [ebp - 8]
call fcn.0040154b
add esi, 0x38
cmp esi, dword [edi + 8]
jne 0x40e3bd
jmp 0x40e445
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x40e41b
lea ebx, [eax - 0x38]
push ebx
lea eax, [ebx + 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push dword [ebp + 0xc]
call fcn.004026e4
mov ecx, dword [ebp - 8]
call fcn.0040154b
mov eax, dword [edi + 4]
sub ebx, 0x38
lea ecx, [ebx + 0x38]
cmp ecx, eax
jne 0x40e3f1
mov edi, dword [esi + 4]
jmp 0x40e440
push edi
lea eax, [edi + 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push dword [ebp + 0xc]
call fcn.004026e4
mov ecx, dword [ebp - 8]
call fcn.0040154b
add edi, 0x38
cmp edi, dword [esi + 8]
jne 0x40e420
push dword [ebp - 0x14]
call fcn.004260e2
push dword [ebp - 0x10]
call fcn.00426066
pop ecx
pop ecx
xor eax, eax
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004246a0
leave
ret 0x10