joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a62
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x59e1c8
call fcn.005693c7
mov ebx, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x2c], 0
mov esi, str.B2A6906E_67AA_4613_B7ED_1CEB63834F37
and dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00578706
pop ecx
push eax
push esi
in al, dx
pop es
add byte [eax], al
add byte [esi - 0x77], ah
inc ebp
fsubr st(0)
jb 0x426aae
adc eax, 0x56505900
lea ecx, [ebp - 0x28]
call fcn.00403772
and dword [ebp - 4], 0
call fcn.0042abb0
test al, al
je 0x426abc
mov cl, 0x5a
pop edx
mov ch, 0x97
pop ss
mov esi, 0x84446bae
push ebp
sub byte [edi + 3], ch
psubsb mm6, qword [eax + 0x44]
add byte [eax], al
call fcn.0042af31
test al, al
je 0x426ae8
arpl word [eax], bx
and eax, 0xa8411f70
test eax, ebx
wait
mov byte [eax + 0x51], dh
je 0x426a86
add al, 6
mov cl, cl
push ds
push edi
scasd eax, dword es:[edi]
pop esp
stosb byte es:[edi], al
or al, 0x36
mov ah, 0x30
mov edx, 0x8b982c31
pop ebp
shr al, 1
push esi
add byte ds:[eax], al
call fcn.0042a943
test al, al
je 0x426b0f
sar byte [edi - 0x72de5020], cl
xor ch, dh
jg 0x426aad
fsubr dword [di - 6]
push ss
mov dword [ebx + 0x5e], 0x10466d16
aam 0x91
mov byte [ecx - 0x6b3b5dee], cl
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x2c], 0
je 0x426bad
call fcn.0042ad93
test al, al
je 0x426b5c
xchg ecx, eax
dec ebx
mov cl, 0xb8
iretd
call fcn.0042ab6b
test al, al
je 0x426b85
dec esp
jmp 0x426b97
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.InprocServer32
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
aam 0xff
adc eax, sym.imp.ADVAPI32.dll_RegCloseKey
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call esi
call fcn.0042ae1d
test al, al
je 0x426bc7
mov esp, 0x3b879e14
adc al, 0x9e
xchg dword [ebx], edi
lds eax, [ebx - 0x21]
mov cl, 0xa5
cmpsd dword [esi], dword es:[edi]
jo 0x426bb7
stosd dword es:[edi], eax
invalid
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
call fcn.00569382
ret 4
Function at 0x42716e
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x24
mov eax, 0x59e1c8
call fcn.005693c7
mov ebx, dword [ebp + 8]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], ebx
call fcn.0042ad4e
test al, al
je 0x4271a8
div byte [esi - 0x30]
out dx, eax
jmp 0xbf177f21
call fcn.0042abb0
test al, al
je 0x4271c6
jae 0x4271cb
mov ch, 0x94
scasd eax, dword es:[edi]
cmp eax, 0xf8d50953
add eax, 0x63cda029
pop ss
ret 0x3bc8
call fcn.0042ad09
test al, al
je 0x4271e1
pop edi
dec esp
insd dword es:[edi], dx
inc edi
cmp byte [ecx - 0x1b06eeff], bl
les edx, [eax]
invalid
and dword [ebp - 0x18], 0
xor eax, eax
mov esi, 0x5a500c
mov dword [ebp - 0x14], 7
push esi
mov word [ebp - 0x28], ax
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403772
and dword [ebp - 4], 0
mov esi, 0x5a5010
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
mov esi, 0x5a505c
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408c34
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call fcn.0042ac3a
test al, al
je 0x427273
fnstcw word [esi + 0x1c]
xchg edi, eax
mov ebx, 0x3b20f869
ret
call fcn.0042aa57
test al, al
je 0x42729a
jmp 0x45bdde9c
call fcn.0042ab26
test al, al
je 0x4272c2
mov eax, dword [0xbff4c2d5]
salc
jnp 0x427311
sbb eax, 0x7df8e692
mov byte [ecx + 0x11cb03c3], ah
or eax, 0xd9c6fbd7
cwde
add dword [ebp - 0x2b], edx
mov eax, dword [0x7d839ed0]
cmp dword [ebp - 0x2c], 0
aam 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
je 0x427323
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x5a06d8
push dword [ebp - 0x2c]
call esi
push 0x5a5060
push dword [ebp - 0x2c]
call esi
push str.InprocServer32
push dword [ebp - 0x2c]
add bh, bh
jne 0x4272c4
call ebx
push str.ProgID
push dword [ebp - 0x2c]
shr dword [eax + 0x6c], cl
push eax
pop edx
add bh, bh
jne 0x4272ce
call ebx
push str.Programmable
push dword [ebp - 0x2c]
call ebx
push str.TypeLib
push dword [ebp - 0x2c]
call ebx
push str.VersionIndependentProgID
push dword [ebp - 0x2c]
test al, 0x50
pop edx
add bh, bh
jne 0x4272ec
call ebx
push dword [ebp - 0x2c]
jne 0x4272f1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042a8b9
test al, al
je 0x42733c
salc
test eax, 0x455945cd
mov edi, 0x3f66ca5
daa
jns 0x42731a
into
adc byte [ebx - 0x72f71383], al
inc ebp
fmul dword [edi]
inc ebx
inc ebp
fcom dword [eax - 1]
jne 0x42731b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
call fcn.00569382
ret 4
Function at 0x4276a8
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x59e1c8
call fcn.005693c7
mov ebx, dword [ebp + 8]
xor eax, eax
and dword [ebp - 0x2c], 0
mov esi, 0x5a500c
and dword [ebp - 0x18], 0
push esi
Function at 0x56b6aa
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x254
mov eax, 0x59ec33
call fcn.005693c7
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x248]
mov dword [ebp - 4], ebx
push eax
call fcn.0056b43f
test al, al
je 0x56b7ee
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.00402a71
push str.WanNengWBInfo.ini
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004117f1
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56b7d0
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0056f390
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov edi, str.guanf
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00578f47
pop ecx
pop ecx
test eax, eax
je 0x56b7d0
cmp word [ebp - 0x218], bx
jne 0x56b7b2
mov eax, ebx
jmp 0x56b7bf
lea eax, [ebp - 0x218]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403772
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00403628
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.00403628
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00403628
mov al, bl
call fcn.00569382
ret 4

Function at 0x56b807
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 0xc]
push edi
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402ac4
call fcn.00415733
and dword [ebp - 0x24], 0
lea edi, [ebp - 0x20]
add esp, 0x18
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x614
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x56b9d1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor edi, edi
push edi
push eax
call fcn.0056f390
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0056f390
add esp, 0x18
call fcn.0056b1cb
mov ecx, eax
call fcn.0056cf59
push eax
lea eax, [ebp - 0x20c]
push str._sWnAssociation.exe
push eax
call fcn.00408d5e
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56ba6e
push str.1e19cf
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str.__s___s
push eax
call fcn.00408d5e
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004162cc
add esp, 0x24
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056935c
mov esp, ebp
pop ebp
ret
Function at 0x56c00d
Capabilities:
Check if file exists
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056ba7e
mov ecx, esi
call fcn.0056bc2f
mov ecx, esi
call fcn.0056bc2a
mov ecx, esi
call fcn.0056bd0e
mov ecx, esi
pop esi
jmp 0x56c0eb
push 0x23c
mov eax, 0x59f11d
call fcn.005693c7
call fcn.0056b1cb
mov ecx, eax
call fcn.0056cf59
push eax
lea ecx, [ebp - 0x230]
call fcn.00402ac4
mov esi, str.WanNengWBInfo.ini
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00408c34
mov esi, 0x5a0a50
push esi
call fcn.00578706
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x230]
call fcn.00413bf6
cmp eax, 0xffffffff
je 0x56c20a
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00403a48
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0056f390
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x1c
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push str.VirtualStore_
push eax
call fcn.00578f16
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00578f16
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56c1fc
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.004119ed
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.00403628
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.00403628
call fcn.00569382
ret
Function at 0x56cba7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.0056c79e
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
lea ecx, [ebp - 0x1c]
push 0
push 1
setg bl
call fcn.00403628
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0056935c
mov esp, ebp
pop ebp
ret

Function at 0x56cf69
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56d0ad
push ebx
push edi
xor edi, edi
xor ebx, ebx
push edi
push 0x80
push 4
push edi
inc ebx
mov dword [ebp - 0x10c], edi
push ebx
push connect
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x56cfca
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10c], eax
jmp 0x56cfd0
mov eax, dword [ebp - 0x10c]
lea esi, [eax + 1]
push esi
call fcn.00569947
and dword [ebp - 0x11c], 0
pop ecx
push 0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x118], eax
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0056f390
lea eax, [ebp - 0x108]
push str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd
push eax
call fcn.005746e0
lea eax, [ebp - 0x108]
push eax
call fcn.00574870
mov edi, dword [ebp - 0x10c]
add esp, 0x18
mov dword [ebp - 0x114], eax
xor eax, eax
mov dword [ebp - 0x110], eax
test edi, edi
jle 0x56d09b
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x108]
cmp byte [edx], cl
jne 0x56d08f
xor ecx, ecx
xor esi, esi
cmp dword [ebp - 0x114], ecx
jle 0x56d089
mov al, byte [edx + ecx]
cmp al, byte [ebp + ecx - 0x108]
jne 0x56d083
mov eax, dword [ebp - 0x114]
inc esi
cmp esi, eax
je 0x56d09d
inc ecx
cmp ecx, eax
jl 0x56d067
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x108]
inc eax
inc edx
mov dword [ebp - 0x110], eax
cmp eax, edi
jl 0x56d057
xor ebx, ebx
push dword [ebp - 0x118]
call fcn.0056947b
pop ecx
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056935c
mov esp, ebp
pop ebp
ret

Function at 0x56d0c3
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x59f035
call fcn.005693c7
mov esi, ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0056d334
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56d119
mov ecx, esi
call fcn.0056d40b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402ac4
call fcn.00415733
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
call fcn.00569382
ret
Function at 0x56d12b
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x59eee9
call fcn.005693c7
mov esi, ecx
push str.CImeBrokerReg::DoRun
call fcn.0056adc0
pop ecx
call fcn.0041b685
test eax, eax
je 0x56d32e
push 0x104
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.0056d3a4
push 0x5a0a54
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push str._sIME_s_
push eax
call fcn.00408d5e
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x56d1a5
lea eax, [ebp - 0x218]
push eax
call int.00413d60
pop ecx
lea eax, [ebp - 0xc58]
push 0
push eax
call fcn.00414317
and dword [ebp - 4], 0
lea eax, [ebp - 0xc58]
cmp dword [ebp - 0xc44], 8
mov esi, str.WnImeBroker.exe
push esi
cmovae eax, dword [ebp - 0xc58]
mov edi, 0x5a0ac0
push eax
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.00408d5e
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00408d5e
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004119ed
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push str.__s___RegServer
push eax
call fcn.00408d5e
lea eax, [ebp - 0xc40]
push eax
call fcn.00416998
add esp, 0x40
lea eax, [ebp - 0xc40]
push eax
push str.ImeBroker_cmd1___s
call fcn.0056adc0
cmp dword [ebp - 0xc44], 8
lea eax, [ebp - 0xc58]
mov esi, str.WnImeBrokerPS.dll
cmovae eax, dword [ebp - 0xc58]
push esi
push eax
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.00408d5e
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00408d5e
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004119ed
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xc40]
push str.__s_regsvr32___s___s_
push eax
call fcn.00408d5e
add esp, 0x40
lea eax, [ebp - 0xc40]
push eax
call fcn.00416998
lea eax, [ebp - 0xc40]
push eax
push str.ImeBroker_cmd2___s
call fcn.0056adc0
add esp, 0xc
lea ecx, [ebp - 0xc5c]
call fcn.0056eaf2
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00402ac4
lea ecx, [ebp - 0xc5c]
call fcn.0056efb0
lea eax, [ebp - 0x218]
push eax
push str.AddInstallEveryonePower_path___s
call fcn.0056adc0
pop ecx
pop ecx
lea ecx, [ebp - 0xc5c]
call fcn.0056eb0d
push 0
push 1
lea ecx, [ebp - 0xc58]
call fcn.00403628
call fcn.00569382
ret
Function at 0x56d541
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x59ef6f
call fcn.005693c7
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x56d5e5
test esi, esi
je 0x56d5e5
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56d5e5
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56d5e5
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402ac4
lea eax, [ebp - 0x40]
push eax
call fcn.00412323
add esp, 4
xor edi, edi
mov ecx, esp
mov dword [ebp - 4], edi
push esi
call fcn.00402ac4
lea eax, [ebp - 0x28]
push eax
call fcn.00412323
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0057bdc8
add esp, 0x24
lea ecx, [ebp - 0x28]
neg eax
sbb esi, esi
push edi
push 1
call fcn.00403628
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00403628
lea eax, [esi + 1]
jmp 0x56d5e7
xor eax, eax
call fcn.00569382
ret 8

Function at 0x56d5ef
Capabilities:
Check if file exists

Disassembly:
push 0x634
mov eax, 0x59ef9f
call fcn.005693c7
mov esi, ecx
call fcn.0056b1cb
mov ecx, eax
call fcn.0056cf59
mov ebx, eax
call fcn.0056b1cb
mov ecx, eax
call fcn.0056cf39
push 0x208
mov edi, eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0056f390
push edi
lea eax, [ebp - 0x628]
push str._sEUDC_
push eax
call fcn.00408d5e
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x56d65c
xor eax, eax
jmp 0x56d760
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0056f390
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f390
push edi
lea eax, [ebp - 0x218]
push str._sEUDCEUDC.EUF
push eax
call fcn.00408d5e
push ebx
lea eax, [ebp - 0x420]
push str._sEUDCEUDC.EUF
push eax
call fcn.00408d5e
add esp, 0x30
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0056d541
test eax, eax
je 0x56d655
push edi
mov edi, str._sEUDCEUDC.TTE
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00408d5e
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00408d5e
add esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0056d541
test eax, eax
je 0x56d655
xor ebx, ebx
mov dword [ebp - 0x62c], 7
xor eax, eax
mov dword [ebp - 0x630], ebx
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x640]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
call fcn.0056dab3
test eax, eax
je 0x56d74e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00408d28
test eax, eax
jne 0x56d74e
xor esi, esi
inc esi
jmp 0x56d750
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x640]
call fcn.00403628
mov eax, esi
call fcn.00569382
ret
Function at 0x56d8ca
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push esi
push eax
push 0xf003f
push 0
push str.EUDC936
push reloc.WS2_32.dll_accept
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56d935
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0056da48
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403628
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056935c
mov esp, ebp
pop ebp
ret

Function at 0x56d944
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x59efd2
call fcn.005693c7
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
push 0xf003f
xor ebx, ebx
mov dword [ebp - 0x238], 0x208
push ebx
push str.EUDC936
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x234], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x56d992
xor eax, eax
jmp 0x56da40
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0056da48
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.0056f390
add esp, 0xc
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x234]
test eax, eax
je 0x56d9fd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
jmp 0x56da30
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x218], 0
jne 0x56da11
mov eax, ebx
jmp 0x56da1e
lea eax, [ebp - 0x218]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403772
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00403628
mov eax, esi
call fcn.00569382
ret 4
Function at 0x56dab3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0xf003f
xor esi, esi
mov ebx, 0x208
push esi
push str.EUDC936
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x56db04
xor eax, eax
jmp 0x56db78
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0056f390
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push str.SystemDefaultEUDCFont
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
test eax, eax
je 0x56db48
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x56db00
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x20c], si
je 0x56db66
lea eax, [ebp - 0x20c]
push eax
call fcn.00578706
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403772
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056935c
mov esp, ebp
pop ebp
ret 4

Function at 0x56dcb2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
xor edi, edi
push eax
push 0xf003f
push edi
push str.EUDC936
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x210], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56dd5d
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0056f390
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00578f87
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
push str.SystemDefaultEUDCFont
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
test eax, eax
je 0x56dd7e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00403628
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056935c
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x56dd5f