joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c37b
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x531a38
call fcn.004d74d4
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x49c400
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x49c400
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x49c400
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0049c417
mov eax, dword [ebp - 0x20]
call fcn.004d7519
ret

Function at 0x49c429
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x670
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x66c], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp edi, ebx
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jne 0x49c46c
xor eax, eax
mov ecx, dword [esp + 0x674]
pop esi
pop ebx
xor ecx, esp
call fcn.004d6e66
mov esp, ebp
pop ebp
ret
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x49c456
push 0x228
lea eax, [esp + 0x20]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
mov esi, 0x22c
mov dword [esp + 0x20], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x49c4bb
xor esi, esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x49c458
push 0x104
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push edi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x49c501
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x20], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49c4bb
jmp 0x49c562
push dword [esp + 0x20]
mov dword [esp + 0x14], 1
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x49c562
push 0x424
lea eax, [esp + 0x250]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x248]
push eax
push esi
mov dword [esp + 0x250], 0x428
call sub.KERNEL32.dll_Module32FirstW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x468]
push eax
push dword [esp + 0x18]
call fcn.00402d02
mov esi, dword [esp + 0x10]
jmp 0x49c4ad
Function at 0x49c5ee
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x244], eax
mov ebx, ecx
mov dword [ebp - 0x240], edi
jne 0x49c62c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6e66
leave
ret
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x23c], eax
je 0x49c61b
push 0x228
lea eax, [ebp - 0x234]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
mov esi, 0x22c
mov dword [ebp - 0x238], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x49c687
xor esi, esi
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x49c61d
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x49c6c9
lea eax, [ebp - 0x230]
push eax
lea edi, [ebp - 0x250]
mov dword [ebp - 0x240], 1
call fcn.0049c702
push esi
lea eax, [ebp - 0x238]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49c687
mov esi, dword [ebp - 0x240]
jmp 0x49c677

Function at 0x49c93a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esi], eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x49c9c3
push ebx
call fcn.004d64b6
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49c9b4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5115d4
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49c9b4
cmp dword [ebp - 0xc], ebx
je 0x49c9b4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x49c9c3
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret
Function at 0x49cbe4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x120
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x49cc47
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
cmp eax, edi
je 0x49ccfd
mov eax, dword [ebp - 0x98]
dec eax
je 0x49cce9
dec eax
jne 0x49ccfd
mov eax, dword [ebp - 0xa4]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x49cc96
cmp dword [ebp - 0xa0], edx
jne 0x49cc80
xor eax, eax
cmp byte [ebp + 0x72], dl
setne al
add eax, 8
jmp 0x49cce5
cmp dword [ebp - 0xa0], edi
jne 0x49ccce
xor eax, eax
cmp byte [ebp + 0x72], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x49cce5
cmp eax, 5
jne 0x49ccc0
cmp dword [ebp - 0xa0], 2
jne 0x49cca7
push eax
jmp 0x49ccc7
cmp dword [ebp - 0xa0], 1
jne 0x49ccb4
mov edi, ecx
jmp 0x49ccfd
cmp dword [ebp - 0xa0], edi
jne 0x49ccfd
push 3
jmp 0x49ccc7
cmp eax, 4
ja 0x49ccca
push 4
pop edi
jmp 0x49ccfd
cmp eax, ecx
jb 0x49ccfd
cmp dword [ebp - 0xa0], 2
jae 0x49ccdb
cmp eax, ecx
jbe 0x49ccfd
cmp byte [ebp + 0x72], dl
jne 0x49ccfd
call fcn.0049cb29
mov edi, eax
jmp 0x49ccfd
mov eax, dword [ebp - 0x9c]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d6e66
add ebp, 0x78
leave
ret

Function at 0x49ed19
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4fc861
call fcn.004d766c
xor ebx, ebx
lea ecx, [ebp - 0x14]
call fcn.004907c2
and dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
push str.data_float_test.ini
push ecx
mov ecx, eax
call fcn.004065f0
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004012f9
push dword [ebp - 0x10]
push 0x1b7740
push str.query_weather
push str.test
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
call fcn.004d7744
ret

Function at 0x49ed7c
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4fc83e
call fcn.004d766c
xor ebx, ebx
lea ecx, [ebp - 0x14]
call fcn.004907c2
and dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
push str.data_float_test.ini
push ecx
mov ecx, eax
call fcn.004065f0
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004012f9
push dword [ebp - 0x10]
push 0x1388
push str.query_weather_retry
push str.test
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
call fcn.004d7744
ret
Function at 0x49eff7
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x4f0598
call fcn.004d766c
push 0x40
xor esi, esi
lea eax, [ebp - 0x6c]
push esi
push eax
or ebx, 0xffffffff
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x55a320]
add esp, 0xc
mov ecx, 0x55a320
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push str.__s___s
call fcn.00401a17
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
mov word [ebp - 0x40], si
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x49f09d
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x49f09d
mov ebx, dword [ebp - 0x14]
cmp dword [ebp - 0x24], esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x49f0b0
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], esi
je 0x49f0bd
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, ebx
call fcn.004d7744
ret 8

Function at 0x4a0107
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp], eax
push ebx
xor ebx, ebx
cmp dword [edi + 0x20], ebx
push esi
jne 0x4a0126
push 1
push ebx
lea esi, [edi + 0x1c]
call fcn.0042adbb
cmp dword [edi + 0x28], ebx
jne 0x4a0136
push 1
push ebx
lea esi, [edi + 0x24]
call fcn.0042adbb
cmp dword [edi + 0x30], ebx
jne 0x4a0146
push 1
push ebx
lea esi, [edi + 0x2c]
call fcn.0042adbb
cmp dword [edi + 0x38], ebx
jne 0x4a0156
push 1
push ebx
lea esi, [edi + 0x34]
call fcn.0042adbb
cmp dword [edi + 0x3c], ebx
je 0x4a016e
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x4a01b0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4a01b0
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
jne 0x4a017e
xor esi, esi
jmp 0x4a019f
push ebx
push ebx
push eax
push 0x4cb372
push ebx
push ebx
mov dword [eax], edi
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4a05d5
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov esi, eax
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x4a01ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x3c], esi
mov ecx, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.004d6e66
pop ecx
ret
Function at 0x4b9687
Capabilities:
Create thread
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp], eax
push esi
push edi
mov esi, ecx
push 0xffffffffffffffff
call fcn.004b9717
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x4b96b7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
cmp ebx, edi
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
je 0x4b96c7
mov dword [esi + 4], ebx
jmp 0x4b96ca
mov dword [esi + 4], esi
lea eax, [esi + 0xc]
push eax
push edi
push esi
push 0x4b973a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi], eax
pop edi
pop esi
mov eax, ecx
mov ecx, dword [esp]
xor ecx, esp
call fcn.004d6e66
pop ecx
ret 4

Function at 0x4b96f8
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x4b9716
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
or dword [esi + 0xc], 0xffffffff
ret

Function at 0x4bc322
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, edx
jne 0x4bc32d
xor eax, eax
pop esi
ret
cmp eax, 8
push ebx
not esi
mov edx, 0xff
jb 0x4bc3df
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
sub eax, 8
dec edi
jne 0x4bc344
pop edi
test eax, eax
je 0x4bc3f8
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x510760]
inc ecx
dec eax
jne 0x4bc3e3
mov eax, esi
pop ebx
not eax
pop esi
ret

Function at 0x4bc3ff
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x510760]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x510760]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4bca73
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4bcaa3
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4bca9e
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4bcacb
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4bcab4
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x4bd6c5
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esi], ebx
push edi
jne 0x4bd74c
cmp dword [esi + 4], 0xffffffff
jne 0x4bd74c
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea eax, [esi + eax*2 + 0x242]
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x4bd70e
cmp cx, 0x2f
je 0x4bd70e
mov word [eax + 2], 0x2f
mov word [eax + 4], bx
push 0x20
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
push eax
mov byte [eax], bl
mov byte [eax + 1], 1
mov byte [eax + 0x10], bl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], ebx
call fcn.004bcce8
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x4bd751
mov eax, 0x1000000
pop edi
pop ebx
pop ecx
ret 8

Function at 0x4bde95
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp + 8], 0x4645414b
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4bdeb5
mov eax, dword [ebp - 4]
jmp 0x4bdf90
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4bdf6b
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x50ef48]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x50ef48]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x50ef48]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x50ef48]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x50ef48]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x50ef48]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x50ef48]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x50ef48]
dec ebp
jne 0x4bded5
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4bdf87
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x50ef48]
dec ecx
jne 0x4bdf75
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4beac7
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
push edi
mov edi, esi
jne 0x4beae4
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.004c0007
xor al, al
jmp 0x4beb61
call fcn.004be2a6
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll_fseek]
push ebx
call ebp
push ebx
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call ebp
add esp, 0x1c
test edi, edi
jne 0x4beb1c
push edi
push edi
push 0xd
mov edi, esi
jmp 0x4bead8
lea eax, [edi + 1]
push eax
call fcn.004d64b6
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x4beb4d
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
push 0
push 0
push 2
jmp 0x4beb18
mov edx, ebp
mov ecx, esi
call fcn.004beb65
push ebp
mov bl, al
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret

Function at 0x4c604c
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x4f82e4
call fcn.004d766c
mov edi, ecx
lea eax, [ebp - 0x10]
call fcn.0049879d
and dword [ebp - 4], 0
mov esi, dword [edi + 4]
push 0
lea ebx, [ebp - 0x10]
call fcn.004987ae
test eax, eax
jne 0x4c60df
cmp dword [0x55ac14], eax
je 0x4c612e
push dword [edi + 4]
lea eax, [ebp - 0x14]
push str.open_record_file_false__record_is
push 0x511610
push str.StragegyMgr::FindStrategy
push 0x5115dc
push eax
push 0x5115d8
push ecx
mov dword [ebp - 0x14], 0x89
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
jmp 0x4c612e
lea esi, [edi + 0xc]
mov eax, esi
xor ebx, ebx
call fcn.004c6166
test eax, eax
jbe 0x4c612e
push ebx
call fcn.004c617c
push dword [ebp - 0x10]
add eax, 4
mov eax, dword [eax]
push 0
push eax
push str.taguser
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4c611d
mov eax, esi
inc ebx
call fcn.004c6166
cmp ebx, eax
jb 0x4c60ef
jmp 0x4c612e
push ebx
mov dword [edi + 0x2c], eax
call fcn.004c617c
add edi, 0x28
call fcn.00402a4c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d7744
ret
Function at 0x4c744c
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x7c], 0
push 0x20019
push str.SOFTWAREkingsoft_antivirus
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x7c]
call fcn.00409d6a
test eax, eax
je 0x4c74a0
cmp dword [ebp - 0x7c], 0
je 0x4c7495
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x1a0]
jmp 0x4c753d
and word [ebp - 0x78], 0
push esi
push edi
push 0x208
lea eax, [ebp - 0x76]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.ProgramPath
lea eax, [ebp - 0x7c]
push eax
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x78]
mov dword [ebp - 0x80], 0x104
call fcn.00409d9d
mov edi, dword [ebp - 0x7c]
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4c74e7
push edi
call esi
xor edi, edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
jne 0x4c7505
test edi, edi
je 0x4c74fd
push edi
call esi
mov eax, dword [ebp + 0x1a0]
jmp 0x4c753b
push str.ressrcchsuplive.svr
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0x1a0]
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test edi, edi
mov dword [ebp - 0x80], eax
je 0x4c7538
push edi
call esi
mov eax, dword [ebp - 0x80]
pop edi
pop esi
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.004d6e66
add ebp, 0x198
leave
ret

Function at 0x4c7552
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4faf1e
call fcn.004d766c
mov ebx, 0x400000
lea ecx, [ebp - 0x10]
call fcn.004907c2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push 0x517a44
push ecx
mov ecx, eax
call fcn.004065f0
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._lahuospeedball:4__from:_d
mov byte [ebp - 4], 3
call fcn.00401a17
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push 5
push 0
push esi
push dword [ebp - 0x14]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.004012f9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d7744
ret
Function at 0x4c88ef
Capabilities:
Create thread

Disassembly:
mov eax, esi
call fcn.004c4141
test eax, eax
jne 0x4c8957
push 0x50b288
lea eax, [esi + 8]
push eax
call fcn.004018d9
test eax, eax
je 0x4c8957
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x4c8956
push ebx
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
jne 0x4c8925
xor ebx, ebx
jmp 0x4c8946
push edi
push edi
push eax
push 0x4cb372
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x4c8958
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov ebx, eax
mov eax, dword [esi]
cmp eax, edi
je 0x4c8953
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
pop ebx
pop edi
ret

Function at 0x4c8a87
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4efc87
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebp, ebp
lea esi, [edi + 4]
mov dword [edi], ebp
mov eax, vtable.KEvent.0
mov dword [esi], eax
mov dword [esi + 4], ebp
lea ebx, [edi + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ebp
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
push ebp
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], ebp
call fcn.0042adbb
push ebp
push ebp
mov esi, ebx
call fcn.0042adbb
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4