joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ea95
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
mov dword [ebp - 8], edi
je 0x42eb67
push 0x486858
lea ecx, [ebp - 4]
call fcn.004033b3
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [esi]
push str._s_d._s
push eax
call fcn.004070f0
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42eb5c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
je 0x42eb55
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0xa]
push eax
mov dword [ebp + 0x10], edi
call fcn.00403cd8
push edi
lea ecx, [ebp + 0x10]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x42eb4c
cmp dword [ebp + 0x10], esi
jne 0x42eb4c
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00428572
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040149c
xor eax, eax
inc eax
jmp 0x42eb6a
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00402188
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040149c
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42fb67
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x10c
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x42fc40
push ebx
push dword [esi + 0x60]
lea ecx, [ebp - 0x94]
call fcn.0042d0c6
mov eax, dword [eax]
push 0x47182c
lea ecx, [esi + 0x4c]
push ecx
push eax
push dword [esi + 8]
call fcn.0042f9be
mov ebx, dword [sym.imp.MSVCR80.dll_free]
mov dword [esi + 4], eax
lea eax, [ebp - 0x90]
add esp, 0x10
cmp dword [ebp - 0x94], eax
je 0x42fbbb
push dword [ebp - 0x94]
call ebx
pop ecx
mov eax, dword [esi + 0x64]
cmp dword [eax - 0xc], 0
je 0x42fc3c
push edi
push str.data_skin_skincfg.ini
lea eax, [ebp + 0x74]
push 0x400000
push eax
call fcn.00437311
pop ecx
pop ecx
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.00406eba
mov edi, dword [eax]
add esp, 0xc
push dword [esi + 0x64]
lea ecx, [ebp - 0x94]
call fcn.0042d0c6
mov eax, dword [eax]
push edi
push 0xff
push eax
push 0x471898
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
pop edi
je 0x42fc26
push dword [ebp - 0x94]
call ebx
pop ecx
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.0040149c
mov ecx, dword [ebp + 0x74]
add ecx, 0xfffffff0
call fcn.0040149c
xor eax, eax
inc eax
pop ebx
pop esi
add ebp, 0x78
leave
ret
Function at 0x430c14
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [esp + 0xc], edi
jne 0x430c49
mov eax, dword [0x4864bc]
cmp eax, edi
je 0x430c37
mov ebx, dword [eax + 4]
jmp 0x430c39
xor ebx, ebx
cmp ebx, edi
jne 0x430c49
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
cmp ebx, edi
je 0x430c6e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x430c6e
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x430c6e
push edi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0xc], 1
push dword [esp + 0x1c]
mov ecx, esi
push edi
push ebx
mov dword [esi + 0x334], edi
call fcn.004309d8
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x430c99
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x430da6
push eax
call fcn.00427c16
cmp dword [esp + 0x20], edi
pop ecx
mov dword [esp + 0x10], eax
jne 0x430cb3
push ebx
lea ecx, [esi + 4]
call fcn.004174dc
cmp dword [esi + 0x324], edi
je 0x430d48
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x20]
je 0x430d0c
push 1
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x20]
je 0x430d28
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
pop ebp
je 0x430d48
push edi
push edi
push 0xf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.00427eb0
push 0x97
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esi + 0x334], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0xc], edi
je 0x430d8d
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x430d8d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
jne 0x430d8d
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esp + 0x10]
call fcn.00427c16
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x338]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x431385
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x490]
sub esp, 0x510
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x48c], eax
push esi
push str.918DC21E_EA2F_4267_A057_ECA64C1AF2F7kminibrowserstool
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, esi
mov dword [ebp - 0x70], eax
je 0x43146b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x431403
call fcn.00428682
mov ecx, eax
call fcn.00431321
call fcn.00427268
push 0x4a
call fcn.004272a1
pop ecx
call fcn.004272e4
lea ecx, [ebp - 0x6c]
call fcn.0041a817
push esi
push esi
lea ecx, [ebp - 0x6c]
call fcn.00430c14
lea ecx, [ebp - 0x6c]
call fcn.004171a6
jmp 0x431462
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040830c
mov esi, dword [ebp - 0x74]
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x78], esi
mov eax, dword [esi - 0xc]
xor edi, edi
push edi
lea eax, [eax + eax + 2]
push str.AF3112F8_4231_422e_A46B_B35F6D23A1B0kminibrowserstool
mov dword [ebp - 0x7c], eax
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x431459
push edi
push 0x1388
push 1
lea ecx, [ebp - 0x80]
push ecx
push edi
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea ecx, [esi - 0x10]
call fcn.0040149c
pop edi
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x48c]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00468ec6
add ebp, 0x490
leave
ret
Function at 0x431f3f
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x43200d
cmp dword [ebp + 0xc], ebx
je 0x43200d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x431ff1
push esi
mov esi, dword [sym.imp.MSVCR80.dll_malloc]
cmp dword [ebp - 4], ebx
je 0x431fa1
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x431fb3
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x431ff0
push dword [ebp - 0x10]
call esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x431f8f
pop esi
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x43200f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
jmp 0x43200f
xor eax, eax
pop ebx
leave
ret

Function at 0x4324ea
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x43250a
xor al, al
jmp 0x43251f
push edi
push 1
push esi
call dword [sym.imp.MSVCR80.dll_calloc]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x432523
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push edi
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x432540
push edi
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov al, bl
jmp 0x43251e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x471894
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x432534
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x432534
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov bl, 1
jmp 0x432534
Function at 0x432578
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x432602
push esi
push 1
push edi
call dword [sym.imp.MSVCR80.dll_calloc]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4325ff
push esi
push edi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4325f7
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4325f7
cmp dword [ebp - 4], 0
je 0x4325f7
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x4325ff
mov edx, dword [ebp - 4]
movzx ecx, word [edx + 2]
push ecx
movzx ecx, word [edx]
push ecx
push esi
mov ecx, eax
call fcn.004324ac
jmp 0x432601
push esi
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
xor eax, eax
pop esi
pop edi
leave
ret

Function at 0x432605
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x224], eax
mov ax, word [esi + 4]
mov word [ebp - 0x14], ax
mov ax, word [esi + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x12], ax
call edi
mov word [ebp - 0x10], ax
mov ax, word [esi + 8]
mov word [ebp - 0xe], ax
mov ax, word [esi + 4]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0x4e4
call edi
mov word [ebp - 8], ax
mov word [ebp - 6], 0x4e4
xor edi, edi
mov ebx, 0x104
movzx eax, word [ebp + edi*2 - 0x14]
movzx ecx, word [ebp + edi*2 - 0x12]
push dword [ebp - 0x228]
inc edi
movzx ecx, cx
push ecx
movzx eax, ax
push eax
push str.StringFileInfo_04x_04x_ls
push ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
inc edi
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
and dword [ebp - 0x220], 0
add esp, 0x1c
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [esi]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4326d5
cmp dword [ebp - 0x220], 0
jne 0x4326ed
cmp edi, 8
jb 0x432674
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ec6
leave
ret 8
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
mov al, 1
jmp 0x4326dc
Function at 0x432a8e
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1cc]
sub esp, 0x24c
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x1c8], eax
mov eax, dword [ebp + 0x1d4]
push ebx
push esi
xor esi, esi
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x60]
push esi
push eax
xor ebx, ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x64], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 2
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x7c], eax
jne 0x432af3
xor eax, eax
jmp 0x432c08
push edi
lea ecx, [ebp - 0x64]
push ecx
push eax
mov dword [ebp - 0x64], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x432bf2
cmp ebx, esi
je 0x432b1c
push ebx
call edi
xor ebx, ebx
cmp dword [ebp - 0x68], esi
je 0x432b29
push dword [ebp - 0x68]
call edi
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x40]
push str.explorer.exe
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x432bbd
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x432bbd
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp + 0x1d8]
jne 0x432bbd
push dword [ebp - 0x5c]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x432bbd
lea eax, [ebp - 0x68]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x432bbd
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
call fcn.00431e31
add esp, 0x10
test eax, eax
je 0x432bbd
mov eax, dword [ebp - 0x6c]
push dword [eax]
call fcn.00431cba
test eax, eax
pop ecx
push dword [ebp - 0x6c]
je 0x432bd3
call sub.MSVCR80.dll_free
pop ecx
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x432b13
jmp 0x432beb
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov dword [ebp - 0x74], 1
call sub.MSVCR80.dll_free
pop ecx
mov dword [ebp - 0x6c], esi
cmp ebx, esi
je 0x432bf2
push ebx
call edi
cmp dword [ebp - 0x68], esi
je 0x432bff
push dword [ebp - 0x68]
call edi
mov dword [ebp - 0x68], esi
push dword [ebp - 0x7c]
call edi
mov eax, dword [ebp - 0x74]
pop edi
mov ecx, dword [ebp + 0x1c8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ec6
add ebp, 0x1cc
leave
ret
Function at 0x432d52
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push ebx
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp + 0x94], bl
lea edi, [ebp + 0x95]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x486680]
cmp eax, ebx
push 0xf
pop edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], edi
jne 0x432ef1
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x432ede
push esi
mov esi, 0x103
push esi
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push str.svcVersion
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x432e52
cmp dword [ebp - 0x78], 1
jne 0x432e52
lea eax, [ebp - 0x70]
push 0x4720ec
push eax
call dword [sym.imp.MSVCR80.dll_strstr]
cmp eax, ebx
pop ecx
pop ecx
je 0x432e52
mov byte [eax], bl
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
push 9
pop ecx
sub eax, ecx
je 0x432ed7
dec eax
je 0x432e43
dec eax
jne 0x432e9f
mov dword [0x486680], 0xb
jmp 0x432edd
mov dword [0x486680], 0xa
jmp 0x432edd
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x94]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push str.Build
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x432edd
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
push 0xa
pop esi
jmp 0x432e88
cdq
mov ecx, esi
idiv ecx
cmp eax, edi
jge 0x432e83
push 6
pop ecx
sub eax, ecx
je 0x432ed7
dec eax
je 0x432ecb
dec eax
je 0x432ebf
dec eax
je 0x432eb3
dec eax
je 0x432eab
mov dword [0x486680], 2
jmp 0x432edd
mov dword [0x486680], esi
jmp 0x432edd
mov dword [0x486680], 9
jmp 0x432edd
mov dword [0x486680], 8
jmp 0x432edd
mov dword [0x486680], 7
jmp 0x432edd
mov dword [0x486680], ecx
pop esi
cmp dword [ebp - 0x74], ebx
je 0x432eec
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x486680]
mov ecx, dword [ebp + 0xa4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00468ec6
add ebp, 0xa8
leave
ret

Function at 0x432fcb
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [esp + 4], 0
jne 0x432fd6
xor eax, eax
jmp 0x432ffb
mov eax, dword [esp + 8]
lea edx, [eax + 0x1004]
push edx
push eax
add eax, 0x1000
push eax
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x4337a3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp byte [esi + 4], 0
jne 0x433856
lea eax, [ebp - 4]
push 0x400000
push eax
call fcn.00437311
pop ecx
pop ecx
push 0
push str.fantasydesk
lea ecx, [ebp - 4]
call fcn.00404213
cmp eax, 0xffffffff
je 0x4337e1
mov dword [esi], 1
jmp 0x433847
push 0
push str.kdesk
lea ecx, [ebp - 4]
call fcn.00404213
cmp eax, 0xffffffff
je 0x433847
push edi
push 0x486858
lea ecx, [ebp - 8]
call fcn.004033b3
push dword [ebp - 4]
lea eax, [ebp - 8]
push str._s_ressrcchsuplive.svr
push eax
call fcn.004070f0
mov edi, dword [ebp - 8]
add esp, 0xc
push edi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add eax, 0xfffff445
push 0x61
pop ecx
cmp ecx, eax
sbb eax, eax
add eax, 3
lea ecx, [edi - 0x10]
mov dword [esi], eax
call fcn.0040149c
pop edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
mov byte [esi + 4], 1
call fcn.0040149c
mov al, 1
pop esi
leave
ret

Function at 0x433fc4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xfa4]
mov eax, 0x1024
call fcn.00469300
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0xfa0], eax
push esi
mov eax, ecx
mov ecx, dword [ebp + 0xfac]
push edi
mov edi, dword [eax]
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
jne 0x434002
xor eax, eax
jmp 0x434098
push ebx
mov ebx, 0xffe
push ebx
lea eax, [ebp - 0x5e]
push esi
push eax
mov dword [ebp - 0x64], esi
mov word [ebp - 0x60], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x434087
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040830c
mov ecx, eax
call fcn.00431610
mov ecx, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00433e7a
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.0040149c
inc dword [ebp - 0x64]
push ebx
lea eax, [ebp - 0x5e]
push esi
push eax
mov word [ebp - 0x60], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x74]
push dword [eax]
mov dword [ebp - 0x68], 0x7fe
call edi
test eax, eax
je 0x434033
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0xfa0]
pop edi
xor ecx, ebp
pop esi
call fcn.00468ec6
add ebp, 0xfa4
leave
ret 4
Function at 0x43479d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00469300
push esi
mov esi, 0x20219
push esi
push str.HKEY_LOCAL_MACHINE_softwarecmcmkdesk
lea ecx, [ebp - 0x18]
call fcn.004344f5
lea ecx, [ebp - 0x1020]
call fcn.00432f91
push esi
lea ecx, [ebp - 0x18]
call fcn.00433151
test eax, eax
je 0x43487a
lea eax, [ebp - 0x1020]
push eax
push str.ProgramPath
lea ecx, [ebp - 0x18]
call fcn.00432fcb
test eax, eax
je 0x43487a
push ebx
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebp - 4]
call fcn.0040830c
push 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00406862
mov esi, 0x471894
push esi
mov ecx, eax
call fcn.00404f70
mov ecx, dword [ebp - 8]
test eax, eax
setne bl
add ecx, 0xfffffff0
call fcn.0040149c
test bl, bl
pop ebx
je 0x43483f
push esi
lea ecx, [ebp - 4]
call fcn.004068f5
push edi
push str.ressrcchsuplive.svr
lea ecx, [ebp - 4]
call fcn.004068f5
mov esi, dword [ebp - 4]
push esi
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.0040149c
lea ecx, [ebp - 0x18]
call fcn.004335f7
mov eax, edi
pop edi
jmp 0x434884
lea ecx, [ebp - 0x18]
call fcn.004335f7
xor eax, eax
pop esi
leave
ret

Function at 0x434b66
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.00403d2e
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
push eax
call fcn.004349da
mov edi, dword [ebp - 4]
xor esi, esi
add esp, 0x10
cmp dword [edi - 0xc], esi
je 0x434bcc
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], esi
jne 0x434ba8
lea eax, [ebp - 4]
push eax
call fcn.00406fb7
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00434116
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040149c
lea ecx, [edi - 0x10]
call fcn.0040149c
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040149c
pop edi
mov eax, esi
pop esi
leave
ret