joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451830
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5d4e5e
call fcn.00492e6b
xor edi, edi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.0044acd0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.0044ad04
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x45189e
mov ebx, 0xf013f
jmp 0x4518a3
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
test eax, eax
je 0x4518d4
call esi
push dword [ebp - 0x10]
call esi
jmp 0x4518de
mov ebx, 0xf003f
push ebx
push edi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4518de
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push str.WanNeng
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x451873
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4518de
call esi
push dword [ebp - 0x10]
call esi
xor edi, edi
inc edi
lea ecx, [ebp - 0x3c]
call fcn.0044ace3
mov eax, edi
call fcn.00492e34
ret 8

Function at 0x451a6b
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5d45b3
call fcn.00492e9f
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.005a8e00
lea eax, [edi + 0xd0]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x451ac8
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402120
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x451b0e
mov eax, dword [esi]
jmp 0x451b10
mov eax, esi
push ebx
push eax
call fcn.005abf90
pop ecx
pop ecx
test eax, eax
jne 0x451b5c
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x451b40
call fcn.00451948
jmp 0x451b45
call fcn.00451a02
push eax
mov ecx, esi
call fcn.004043e0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402230
mov eax, esi
call fcn.00492e49
ret 0x10
Function at 0x451c48
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.005a8e00
add esi, 0x28
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x451c7f
mov esi, dword [esi]
push str.AllSkin
push esi
lea eax, [ebp - 0x20c]
push 0x5d8c74
push eax
call fcn.0042cdd3
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
jne 0x451cb8
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c92d
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x451cc6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x28]
cmp dword [eax + 0x14], 8
jb 0x451ce7
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5d8c74
push eax
call fcn.0042cdd3
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451d1f
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c92d
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.005abf5f
cmp word [ebp - 0x20c], 0
pop ecx
pop ecx
jne 0x451d40
xor eax, eax
jmp 0x451d4d
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xb8]
call fcn.004022f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x451d6f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.005a8e00
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.00453708
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005abfd0
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.005a9145
add esp, 0x14
test eax, eax
jne 0x451e4e
mov ecx, esi
jmp 0x451f90
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.005abfd0
lea eax, [ebp - 0x824]
push 0x5ddf18
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.005abfd0
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.005abfd0
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x451f8a
cmp dword [ebp - 0xc38], edi
je 0x451f8a
test ecx, ecx
je 0x451f8a
push str.WanNengIME
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s_
push eax
call fcn.0042cdd3
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451f61
lea eax, [ebp - 0x414]
push eax
call fcn.0041c92d
pop ecx
cmp word [ebp - 0x414], di
je 0x451f79
lea eax, [ebp - 0x414]
push eax
call fcn.005abff2
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.004022f0
jmp 0x451f96
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.004511f4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x451fa9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.005a8e00
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.00453708
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005abfd0
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.005a9145
add esp, 0x14
test eax, eax
jne 0x452088
mov ecx, esi
jmp 0x4521ca
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.005abfd0
lea eax, [ebp - 0x824]
push 0x5ddf18
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.005abfd0
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.005abfd0
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.005abf5f
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x4521c4
cmp dword [ebp - 0xc38], edi
je 0x4521c4
test ecx, ecx
je 0x4521c4
push str.WanNengIME.users
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s_
push eax
call fcn.0042cdd3
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45219b
lea eax, [ebp - 0x414]
push eax
call fcn.0041c92d
pop ecx
cmp word [ebp - 0x414], di
je 0x4521b3
lea eax, [ebp - 0x414]
push eax
call fcn.005abff2
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.004022f0
jmp 0x4521d0
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.004512bb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492e23
mov esp, ebp
pop ebp
ret 4
Function at 0x452315
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, esi
push 0x104
push eax
call fcn.00451a3b
test al, al
jne 0x45236b
push edi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], di
je 0x452383
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x160]
call fcn.004022f0
mov edi, 0x6411b8
push edi
call fcn.005abff2
pop ecx
push eax
push edi
lea ecx, [esi + 0x160]
call fcn.00404690
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x4523bf
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], di
je 0x452416
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
add esi, 0x148
push eax
mov ecx, esi
call fcn.004022f0
mov edi, 0x6411b8
push edi
call fcn.005abff2
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404690
cmp dword [esi + 0x14], 8
jb 0x45244a
mov eax, dword [esi]
jmp 0x45244c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45246c
mov edi, str.C:Program_Files_
push edi
call fcn.005abff2
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004022f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x452f5a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x28]
cmp dword [eax + 0x14], 8
jb 0x452f7b
mov eax, dword [eax]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push 0x5d8c74
push eax
call fcn.0042cdd3
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x452fb3
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c92d
pop ecx
cmp word [ebp - 0x20c], 0
jne 0x452fc1
xor eax, eax
jmp 0x452fce
lea eax, [ebp - 0x20c]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xe8]
call fcn.004022f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret

Function at 0x453095
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x656514]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x669830]
test al, al
jne 0x45312e
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x453125
lea eax, [ebp - 0x20c]
push eax
call fcn.005ac375
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
jne 0x45311d
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.005a91e6
pop ecx
pop ecx
test eax, eax
je 0x453125
mov byte [0x669830], bl
jmp 0x45312b
mov bl, byte [0x669830]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492e23
mov esp, ebp
pop ebp
ret
Function at 0x453606
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5d4645
call fcn.00492e9f
mov esi, ecx
call fcn.0045192d
lea edi, [esi + 0x100]
push eax
mov ecx, edi
call fcn.004022a0
mov ebx, str.WanNengInfo.ini
push ebx
call fcn.005abff2
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.00404690
push 0x5da348
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.004519d8
xor ebx, ebx
lea eax, [ebp - 0x230]
add esi, 0x118
mov dword [ebp - 4], ebx
cmp esi, eax
je 0x45367c
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.004027f0
push 0x5da348
mov ecx, esi
call fcn.0042051f
test eax, eax
jne 0x4536f4
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4536a9
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5da348
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], bx
jne 0x4536d8
mov eax, ebx
jmp 0x4536e5
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004022f0
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00402230
call fcn.00492e49
ret
Function at 0x454541
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xc8
mov eax, 0x5d480b
call fcn.00492e9f
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xd0], ebx
push ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x640078
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.004022f0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.0042a879
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4546b5
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4545df
push 0x640078
mov ecx, esi
call fcn.00402120
jmp 0x4546c0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc8], eax
inc eax
push eax
mov dword [ebp - 0xcc], eax
call fcn.004929da
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x45461e
push 0x640078
mov ecx, esi
call fcn.00402120
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402230
push ebx
jmp 0x4546cc
push dword [ebp - 0xcc]
push 0
push ebx
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0xd4]
push 0
push eax
push dword [ebp - 0xc8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push ebx
call fcn.0042b234
push ebx
call fcn.004929e3
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0042aa82
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0041f725
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004023f0
cmp dword [ebp - 0x30], ebx
jbe 0x4546aa
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004027f0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00402230
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00404a00
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00402230
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.00402230
mov eax, esi
call fcn.00492e49
ret 0x1c
Function at 0x4547ac
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5d45b3
call fcn.00492e9f
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.005a8e00
lea eax, [edi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x454806
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402120
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x45484c
mov eax, dword [esi]
jmp 0x45484e
mov eax, esi
push ebx
push eax
call fcn.005abf90
pop ecx
pop ecx
test eax, eax
jne 0x454899
cmp byte [edi], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x45487d
call fcn.004546e0
jmp 0x454882
call fcn.0045477b
push eax
mov ecx, esi
call fcn.004043e0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402230
mov eax, esi
call fcn.00492e49
ret 0x10
Function at 0x4550b7
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5d0704
call fcn.00492e9f
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4551b7
cmp byte [ebx + 0x3d], 0
je 0x4551b7
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4550f1
xor al, al
jmp 0x4551b9
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004292b3
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x45514f
sub eax, 1
je 0x455153
dec eax
sub eax, 1
je 0x4551a5
xor bl, bl
jmp 0x4551a7
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x45518b
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005b6566
add esp, 0x10
cmp esi, eax
jne 0x45514b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x4551a5
test esi, esi
jne 0x455115
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00420379
jmp 0x45510f
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004023f0
mov al, bl
jmp 0x4551b9
mov al, 1
call fcn.00492e49
ret
Function at 0x4581c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x64
push esi
mov dword [ebp - 4], esi
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
jne 0x4581fe
mov eax, dword [ebp - 4]
push eax
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
call sub.NETAPI32.dll_NetApiBufferFree
movzx ecx, si
shl ecx, 0x10
movzx eax, di
or eax, ecx
jmp 0x458261
push 2
push esi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x45825f
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x458258
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x458258
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x458257
push 0x5de720
lea eax, [ebx + 6]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x458257
cmp word [ebx + 2], si
jbe 0x458257
mov esi, dword [ebx + 0x30]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45867f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5d4e5e
call fcn.00492e6b
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0044acd0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0044ad04
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4586bf
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45871f
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4586fa
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45871f
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0044ace3
call fcn.00492e34
ret 0xc
Function at 0x45900b
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5d4f43
call fcn.00492e9f
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.005a8e00
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x459102
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x459087
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004022f0
and dword [ebp - 4], 0
push 0x6411b8
call fcn.005abff2
pop ecx
push eax
push 0x6411b8
lea ecx, [ebp - 0x230]
call fcn.00404690
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00458ccd
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x4590f3
call fcn.00402230
mov eax, edi
jmp 0x4591b4
or dword [ebp - 4], 0xffffffff
call fcn.00402230
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x4591b2
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x459149
lea eax, [ebp - 0x218]
push eax
call fcn.005abff2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004022f0
mov esi, 0x6411b8
mov dword [ebp - 4], 1
push esi
call fcn.005abff2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00404690
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00458ccd
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402230
test esi, esi
je 0x4591b2
mov eax, esi
jmp 0x4591b4
xor eax, eax
call fcn.00492e49
ret 4