joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43611e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0xe0]
xor ebx, ebx
call fcn.00404190
lea ecx, [ebp - 0xd8]
call fcn.00404190
push 0xc8
lea eax, [ebp - 0xcc]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd4]
call fcn.00404190
lea ecx, [ebp - 0xd0]
call fcn.00404190
lea eax, [ebp - 0xdc]
push eax
call fcn.00413914
pop ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.004048f0
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [ebp - 0xd8]
call fcn.0040c9f9
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004048f0
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov edi, str.ressrcchsuplive.svr
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0xd8]
call fcn.0040c36b
mov edi, str.ressrcchskismain.ini
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0xe0]
call fcn.0040c36b
mov edi, dword [ebp - 0xd8]
lea eax, [ebp - 0xcc]
push edi
push 0x64
push eax
push 0x698774
push 0x613464
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0xe0]
test eax, eax
je 0x436333
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404cd0
lea ecx, [ebp - 0xd0]
call fcn.0040c9f9
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push dword [eax - 0xc]
lea eax, [ebp - 0xdc]
push 2
push eax
call fcn.00403da0
push eax
lea ecx, [ebp - 0xd4]
call fcn.004048f0
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push 0x698774
push 0x612f98
lea ecx, [ebp - 0xd4]
call fcn.0042fb1b
push 0x698774
push 0x613e40
lea ecx, [ebp - 0xd4]
call fcn.0042fb1b
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x698774
push str.version
push str.infos
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x436333
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404cd0
push 6
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403c90
lea ecx, [ebp - 0xd4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040c36b
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push dword [ebp - 0xd4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret
Function at 0x4366a4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00413914
mov esi, str.ressrcchsuplive.svr
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.0040c36b
push dword [ebp - 4]
push 0
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004023e0
mov eax, esi
pop esi
leave
ret

Function at 0x436720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x28], eax
lea edi, [ebp - 0x14]
xor eax, eax
xor ebx, ebx
stosd dword es:[edi], eax
mov esi, ecx
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20219
push ebx
push str.CLSID9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x1c]
add esi, 0x34
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x4367db
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push 0x613e28
push eax
call edi
cmp dword [ebp - 0x20], 1
je 0x436794
cmp dword [ebp - 0x20], 2
jne 0x4367db
mov ecx, esi
call fcn.004041c0
mov eax, dword [ebp - 0x18]
mov ecx, esi
shr eax, 1
inc eax
push eax
call fcn.004047c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x613e28
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x4367d2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2], dx
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040e311
mov eax, dword [esi]
cmp dword [eax - 0xc], 0x20
jne 0x43684e
mov ecx, esi
call fcn.00435d37
mov edi, dword [esi]
mov edx, ebx
movzx ecx, word [edi + edx*2]
cmp ecx, 0x30
jb 0x4367fc
cmp ecx, 0x39
jbe 0x43680b
lea eax, [ecx - 0x41]
cmp ax, 5
ja 0x43684e
add ecx, 0xffc9
mov esi, edx
test esi, esi
jns 0x436814
add esi, 1
sar esi, 1
mov al, byte [ebp + esi - 0x14]
test dl, 1
jne 0x436829
shl cl, 4
or cl, 0xf
or al, 0xf0
jmp 0x43682e
or al, 0xf
or cl, 0xf0
and cl, al
inc edx
mov byte [ebp + esi - 0x14], cl
cmp edx, 0x20
jl 0x4367ee
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
xor ebx, ebx
add esp, 0xc
inc ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43685c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret 4
Function at 0x4373ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.00404190
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00437974
mov esi, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
je 0x4374af
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4374a0
push ebx
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.004b2ff6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43749f
cmp dword [ebp - 0xc], edi
jne 0x437498
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437498
push dword [ebp + 0x14]
push dword [ebp - 8]
push ebx
call fcn.004379e3
add esp, 0xc
mov edi, eax
push ebx
call fcn.004b2fff
pop ecx
pop ebx
cmp dword [ebp - 4], 0
je 0x4374af
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4374bd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.004b2bc8
cmp eax, 0xd
je 0x4374df
cmp eax, 0xe
jne 0x43754c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x437551
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.recommendctrl.config
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
push 1
push str.EdgeEnable
push str.Win10Protect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x437551
xor eax, eax
inc eax
jmp 0x437553
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3004
leave
ret
Function at 0x4375b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x24c], eax
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], eax
call fcn.004374bd
test eax, eax
je 0x43777f
call fcn.004b2bc8
cmp eax, 0xd
je 0x437627
cmp eax, 0xe
jne 0x43777f
lea ecx, [ebp - 0x230]
call fcn.00404190
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
call fcn.00437974
mov esi, dword [ebp - 0x230]
add esp, 0xc
test eax, eax
je 0x437773
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push esi
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x240], 1
mov dword [ebp - 0x230], eax
jne 0x4376b5
push ecx
lea ecx, [esi - 0x10]
mov edi, esp
push ecx
call fcn.00404b40
pop ecx
push dword [ebp - 0x23c]
add eax, 0x10
mov dword [edi], eax
call fcn.00437874
mov eax, dword [ebp - 0x230]
mov edi, dword [ebp - 0x248]
pop ecx
pop ecx
test eax, eax
jne 0x43774d
push edi
lea ecx, [ebp - 0x230]
call fcn.004040f0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0043841e
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x210]
add eax, 0x20
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00437a4a
mov edi, dword [ebp - 0x238]
add esp, 0x18
test eax, eax
je 0x43773d
test edi, edi
je 0x43773d
cmp dword [ebp - 0x234], ebx
je 0x43773d
push dword [ebp - 0x244]
push edi
push 3
push ebx
push dword [ebp - 0x24c]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push 1
pop eax
cmove ebx, eax
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.004023e0
jmp 0x437753
mov edi, dword [ebp - 0x238]
cmp dword [ebp - 0x234], 0
je 0x437768
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x437773
push edi
call fcn.004b2fff
pop ecx
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, ebx
jmp 0x437781
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret
Function at 0x43812c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, 0x20019
call fcn.00438334
test eax, eax
mov ecx, 0x20119
lea eax, [ebp - 4]
push eax
cmovne esi, ecx
xor edi, edi
push esi
push edi
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4381d6
cmp dword [ebp - 4], edi
je 0x4381d6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
push edi
mov ebx, str.MachineGuid
mov dword [ebp - 8], edi
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4381cd
cmp dword [ebp - 8], 0x4a
ja 0x4381cd
cmp dword [ebp - 0xc], 1
jne 0x4381cd
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4381cd
cmp dword [ebp - 8], edi
je 0x4381cd
cmp dword [ebp - 0xc], 1
jne 0x4381cd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x4381d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4382c8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x20c]
push 0x616948
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
neg eax
pop ecx
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004b3004
leave
ret

Function at 0x438380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [esi], eax
call fcn.004b2ff6
mov ebx, dword [ebp + 0x10]
pop ecx
mov dword [ebx], eax
test eax, eax
je 0x438419
push dword [esi]
xor esi, esi
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx]
add esp, 0xc
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
lea edx, [eax + 4]
mov dword [eax], ebx
mov eax, edi
sar eax, 2
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4383f2
imul ebx, ebx, 0x343fd
mov edi, esi
add ebx, 0x269ec3
mov dword [ebp + 0x14], ebx
mov al, byte [ebp + edi + 0x14]
xor al, byte [ecx]
mov byte [edx], al
inc edx
inc edi
inc ecx
cmp edi, 4
jl 0x4383d9
sub dword [ebp + 0x10], 1
jne 0x4383c8
mov edi, dword [ebp + 0xc]
imul eax, ebx, 0x343fd
add eax, 0x269ec3
mov dword [ebp + 0x14], eax
and edi, 3
je 0x438416
sub edx, ecx
mov al, byte [ebp + esi + 0x14]
xor al, byte [ecx]
inc esi
mov byte [edx + ecx], al
inc ecx
cmp esi, edi
jl 0x438407
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4385ea
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x18
call fcn.004b2fb8
mov edx, eax
pop ecx
test edx, edx
jne 0x4385fd
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 8], eax
xor eax, eax
push eax
push eax
push edx
push 0x43862b
push eax
push eax
mov dword [edx + 0xc], ecx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
pop ebp
ret
Function at 0x43c229
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.00404190
lea eax, [ebp + 8]
xor ebx, ebx
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43c2e7
mov edi, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x43c2f6
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call ebx
cmp dword [ebp - 8], 1
je 0x43c28b
cmp dword [ebp - 8], 2
jne 0x43c2e7
mov ecx, esi
call fcn.004041c0
mov eax, dword [ebp - 4]
mov ecx, esi
shr eax, 1
inc eax
push eax
call fcn.004047c0
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x43c2cb
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 0xc]
xor edi, edi
shr eax, 1
inc edi
mov word [ecx + eax*2], dx
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040e311
test edi, edi
je 0x43c2e7
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x43c2e7
push esi
call fcn.00413b37
pop ecx
cmp dword [ebp + 8], 0
je 0x43c2f6
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43c78c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push 0x20019
push dword [0x6a8e18]
xor eax, eax
lea ecx, [ebp - 0x14]
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.00402130
test eax, eax
je 0x43c7e1
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x698774
call fcn.004040f0
cmp dword [ebp - 0x14], 0
je 0x43c8c5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c8c5
push esi
mov esi, 0x104
lea ecx, [ebp - 4]
mov dword [ebp - 8], esi
call fcn.00404190
push esi
lea ecx, [ebp - 4]
call fcn.004047c0
lea ecx, [ebp - 8]
push ecx
push eax
push dword [0x6a8e1c]
lea ecx, [ebp - 0x14]
call fcn.00402210
test eax, eax
je 0x43c844
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x698774
call fcn.004040f0
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004023e0
cmp dword [ebp - 0x14], 0
je 0x43c8c4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c8c4
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040e311
lea ecx, [ebp - 8]
call fcn.00404190
push dword [0x6a8e28]
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
push esi
call fcn.0043c761
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43c893
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x698774
call fcn.004040f0
lea ecx, [edi - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
jmp 0x43c8af
add esi, 0xfffffff0
push esi
call fcn.00404b40
mov ebx, dword [ebp + 8]
add eax, 0x10
pop ecx
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.004023e0
mov ecx, esi
call fcn.004023e0
cmp dword [ebp - 0x14], 0
je 0x43c8c3
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43cf37
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 0x10]
push ebx
push esi
call fcn.00404190
lea ecx, [ebp - 4]
call fcn.00404190
lea ecx, [ebp - 0xc]
call fcn.00404190
call fcn.0043ce14
xor ebx, ebx
test eax, eax
je 0x43cfd4
lea eax, [ebp - 8]
push eax
call fcn.0043cdee
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.004048f0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], ebx
je 0x43cfd7
mov esi, str.binTimwp.exe
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.0040c36b
mov esi, dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
pop ecx
pop ecx
test eax, eax
jne 0x43cfd7
cmp dword [ebp + 8], ebx
je 0x43cfd7
push 1
push ebx
push dword [ebp + 8]
push esi
push 0x61594c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
jg 0x43cff2
xor ebx, ebx
jmp 0x43cfd7
mov esi, dword [ebp - 4]
push 1
push ebx
push ebx
push dword [ebp + 0xc]
push 0x61594c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e0
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43d797
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x64], esi
lea edi, [ebp - 0x20]
mov dword [ebp - 0x38], 1
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push str.kmenureg.exe
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 4]
push eax
call fcn.00413a13
pop ecx
pop ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00413eaa
mov ecx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [ebp - 4]
call fcn.00404190
push dword [ebp + 8]
mov esi, dword [ebp - 8]
lea eax, [ebp - 4]
push esi
push str.__s___s
push eax
call fcn.0040c593
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x20]
add esp, 0x10
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x43d87f
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x43d892
cmp dword [ebp + 0xc], 0
je 0x43d867
mov eax, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
push 0
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x43d87c
mov dword [ebx], 1
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x20], 0
je 0x43d892
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x43d8a5
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c], 0
lea ecx, [edi - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
leave
ret 0xc
Function at 0x43dc48
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.004b3cc0
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x200c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push edx
lea edx, [ebp - 0x1004]
mov dword [ebp - 0x200c], 0x1000
push edx
lea edx, [ebp - 0x2008]
inc ebx
push edx
push 0
push eax
push dword [ecx]
mov dword [ebp - 0x2008], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43dd1c
cmp dword [ebp - 0x2008], ebx
jne 0x43dcc8
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x1004]
push eax
mov ecx, edi
call fcn.004078d0
jmp 0x43dd1c
cmp dword [ebp - 0x2008], 2
jne 0x43dd17
mov ebx, 0x800
lea eax, [ebp - 0x2004]
push ebx
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x200c], eax
test eax, eax
je 0x43dd10
cmp eax, ebx
ja 0x43dd10
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x2004]
jmp 0x43dcbe
mov esi, 0xea
jmp 0x43dd1c
mov esi, 0x3f4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret 8

Function at 0x43dfec
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6b21ac]
sub esp, 0x10
test eax, eax
jne 0x43e084
push esi
lea ecx, [ebp - 0x10]
call fcn.00431b42
lea eax, [ebp - 4]
push 0
push eax
call fcn.00413a13
mov esi, str.ressrcchsuplive.svr
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push esi
call fcn.0040c36b
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e068
push 1
push dword [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.00431ce0
test eax, eax
je 0x43e068
push 0
push str.TryNo
push str.common
lea ecx, [ebp - 0x10]
call fcn.0043209a
mov esi, eax
mov dword [0x6b21ac], esi
jmp 0x43e06e
mov esi, dword [0x6b21ac]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004023e0
lea ecx, [ebp - 0x10]
call fcn.00431b56
mov eax, esi
pop esi
leave
ret

Function at 0x43e22a
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push str.kcalendarsetting.ini
push 0x617b1c
lea eax, [ebp - 8]
xor edi, edi
push 0x400000
push eax
inc edi
call fcn.00413a13
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00413eaa
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00413eaa
mov ecx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e2a1
push esi
push edi
push str.autorundef
push str.calendarsetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, edi
pop edi
pop esi
leave
ret