joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a278
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
push edi
lea edi, [ebx + 1]
cmp edi, dword [esi + 0xc]
jbe 0x44a2e3
push edi
call fcn.004cfd86
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x44a2b4
push dword [esi + 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
and dword [esi + 4], 0
and dword [esi + 0xc], 0
pop ecx
jmp 0x44a2e3
mov eax, dword [esi + 4]
test eax, eax
je 0x44a2da
push dword [esi + 0xc]
push eax
push dword [ebp - 8]
call sub.MSVCR80.dll_memcpy
push dword [esi + 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
and dword [esi + 4], 0
add esp, 0x10
and dword [esi + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
xor ecx, ecx
cmp dword [esi + 0xc], ecx
ja 0x44a2f6
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
jmp 0x44a3c3
mov esi, dword [esi + 4]
mov eax, ebx
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
shl edi, 3
mov dword [ebp - 0xc], esi
jne 0x44a31b
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov byte [esi], 0
jmp 0x44a3c1
push edi
push dword [ebp + 0xc]
push esi
call sub.MSVCR80.dll_memcpy
mov eax, edi
cdq
and edx, 7
add eax, edx
mov ebx, eax
sar ebx, 3
add esp, 0xc
dec ebx
mov byte [esi + edi], 0
js 0x44a39f
lea eax, [esi + ebx*8]
mov dword [ebp + 0xc], eax
test ebx, ebx
jle 0x44a351
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
mov dword [ebp - 8], eax
jmp 0x44a358
mov dword [ebp - 8], 0x54baa0
cmp dword [ebp + 0xc], 0
je 0x44a381
push dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
call fcn.00449e6a
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp + 0xc]
mov esi, eax
call fcn.00449deb
mov esi, dword [ebp - 0xc]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dl, byte [eax + edx]
add ecx, eax
xor byte [ecx], dl
inc eax
cmp eax, 8
jl 0x44a383
sub dword [ebp + 0xc], 8
dec ebx
test ebx, ebx
jge 0x44a344
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edi
mov dl, byte [esi + edi - 1]
movzx edx, dl
lea eax, [edi - 1]
sub edi, edx
jmp 0x44a3bb
test eax, eax
jl 0x44a3bf
mov byte [eax + esi], 0
dec eax
cmp eax, edi
jge 0x44a3b2
sub dword [ecx], edx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44bdc8
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 4
mov eax, 0x4eb0bb
call fcn.004d1298
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
push 0x104
lea esi, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00401958
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push eax
push edi
push edi
push 0x19
push edi
call ebx
cmp dword [ebp - 0x10], edi
jne 0x44be10
xor eax, eax
jmp 0x44be1a
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401385
mov edi, dword [ebp + 8]
add edi, 0x18
lea eax, [ebp - 0x10]
call fcn.00402a90
push 0x104
lea esi, [ebp - 0x10]
call fcn.00401958
push eax
xor edi, edi
push edi
push edi
push 0x10
push edi
call ebx
mov esi, dword [ebp - 0x10]
cmp esi, edi
jne 0x44be52
xor eax, eax
jmp 0x44be5a
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401385
mov edi, dword [ebp + 8]
add edi, 0x1c
lea eax, [ebp - 0x10]
call fcn.00402a90
lea eax, [esi - 0x10]
call fcn.004012f9
call fcn.004d1370
ret 4
Function at 0x44e842
Capabilities:
Parse credit card information

Disassembly:
push 0x1c
mov eax, 0x4e7074
call fcn.004d1298
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], vtable.CBufferT_wchar_t_.0
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
xor ebx, ebx
mov dword [ebp - 4], edx
inc ebx
mov edi, dword [ebp + 8]
cmp word [edi + 0xa8], dx
jne 0x44e881
cmp dword [edi + 0xac], ebx
je 0x44ea2a
mov eax, dword [edi + 0xac]
cmp eax, edx
jne 0x44e8ef
cmp word [edi + 0xb8], 0x7b
jne 0x44e8a1
cmp dword [edi + 0xbc], ebx
je 0x44ea06
cmp word [edi + 0xb8], 0x3f
jne 0x44e8b7
cmp dword [edi + 0xbc], ebx
je 0x44ea06
cmp word [edi + 0xb8], 0x2a
jne 0x44e8cd
cmp dword [edi + 0xbc], ebx
je 0x44ea06
cmp word [edi + 0xb8], 0x2b
jne 0x44e8e3
cmp dword [edi + 0xbc], ebx
je 0x44ea06
movzx eax, word [edi + 0xa8]
jmp 0x44e9e9
cmp eax, ebx
jne 0x44e869
movzx ecx, word [edi + 0xa8]
movzx eax, cx
cmp ax, 0x29
je 0x44ea2a
cmp ax, 0x7c
je 0x44ea2a
cmp dword [ebp - 0x1c], edx
jg 0x44ea33
cmp ax, 0x28
je 0x44ea67
cmp ax, 0x5b
je 0x44ea9c
cmp ax, 0x2e
je 0x44ea9c
cmp ax, 0x77
je 0x44ea9c
cmp ax, 0x57
je 0x44ea9c
cmp ax, 0x73
je 0x44ea9c
cmp ax, 0x53
je 0x44ea9c
cmp ax, 0x64
je 0x44ea9c
cmp ax, 0x44
je 0x44ea9c
cmp ax, 0x5e
je 0x44ea8f
cmp ax, 0x24
je 0x44ea8f
cmp ax, 0x41
je 0x44ea8f
cmp ax, 0x5a
je 0x44ea8f
cmp ax, 0x7a
je 0x44ea8f
cmp ax, 0x62
je 0x44ea8f
cmp ax, 0x42
je 0x44ea8f
cmp ax, 0x47
je 0x44ea8f
cmp ax, 0x5c
je 0x44ea85
cmp ax, 0x6b
je 0x44ea85
cmp ax, 0x67
je 0x44ea85
movzx eax, cx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x24]
call fcn.0045043f
mov eax, edi
call fcn.0044d37f
xor edx, edx
jmp 0x44e869
cmp dword [ebp - 0x1c], edx
jne 0x44ea2d
movzx eax, word [edi + 0xa8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0x24]
call fcn.0045043f
mov eax, edi
call fcn.0044d37f
xor edx, edx
cmp dword [ebp - 0x1c], edx
jle 0x44eab4
push 0x20
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
je 0x44eaa8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x44ea4d
mov ecx, 0x50dae8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, eax
and edx, 8
push edx
and eax, 0x10
push eax
mov eax, dword [ebp - 0x1c]
push ecx
call fcn.0044ff6d
jmp 0x44eaaa
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044f16d
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0044c80b
mov eax, esi
call fcn.004d1370
ret 8
push dword [ebp + 0xc]
call fcn.0044fcff
jmp 0x44ea71
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.0044fb9b
jmp 0x44ea71
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044ec76
jmp 0x44ea71
xor eax, eax
push eax
mov eax, edi
call fcn.0044e194
jmp 0x44ea71
xor eax, eax
mov ecx, edi
call fcn.0044ded0
jmp 0x44ea71
Function at 0x450bd1
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4ef37c
call fcn.004d1298
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea edi, [ebp - 0x10]
call fcn.00450c56
test eax, eax
mov edi, dword [ebp - 0x10]
je 0x450c46
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x450c46
lea eax, [ebp - 0x14]
push str.QQPCTray.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.004062ff
pop ecx
pop ecx
push dword [eax]
call esi
mov esi, eax
mov eax, dword [ebp - 0x14]
neg esi
sbb esi, esi
add eax, 0xfffffff0
neg esi
call fcn.004012f9
lea eax, [edi - 0x10]
call fcn.004012f9
mov eax, esi
jmp 0x450c50
lea eax, [edi - 0x10]
call fcn.004012f9
xor eax, eax
call fcn.004d1370
ret

Function at 0x450c56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0x20219
xor esi, esi
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x450d35
push 0x206
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x80], esi
mov word [ebp - 0x74], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push str.InstallDir
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450d2c
cmp dword [ebp - 0x80], 1
jne 0x450d2c
cmp dword [ebp - 0x7c], 2
jb 0x450d2c
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7c]
shr eax, 1
mov word [ebp + eax*2 - 0x74], si
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
cmp eax, 1
pop ecx
jb 0x450d1d
lea eax, [ebp + eax*2 - 0x76]
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x450d1a
cmp cx, 0x2f
jne 0x450d1d
mov word [eax], si
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.00402d46
xor eax, eax
inc eax
jmp 0x450d37
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.004d0736
add ebp, 0x198
leave
ret
Function at 0x450e15
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [edi + 0x60], eax
jne 0x450e8d
cmp dword [0x550bdc], ebx
je 0x450e86
push str.init_failure__because__create_event_failure
push 0x509228
push str.KCmppGlobalMonitor::Init
push 0x5091f4
lea eax, [ebp - 4]
push eax
push 0x5091f0
mov dword [ebp - 4], 0x1e
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
xor eax, eax
jmp 0x450f11
push ebx
push ebx
push edi
push 0x45104d
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [edi + 0x5c], eax
jne 0x450f0e
cmp dword [0x550bdc], ebx
je 0x450efd
push str.init_failure__because__create_thread_failure
push 0x509228
push str.KCmppGlobalMonitor::Init
push 0x5091f4
lea eax, [ebp - 4]
push eax
push 0x5091f0
mov dword [ebp - 4], 0x26
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
push dword [edi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x60], ebx
jmp 0x450e86
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x452166
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x54b0c4]
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 [0x550c7c]
cmp eax, ebx
push 0xf
pop edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], edi
jne 0x452305
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 0x4522f2
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 0x452266
cmp dword [ebp - 0x78], 1
jne 0x452266
lea eax, [ebp - 0x70]
push 0x50e2b8
push eax
call dword [sym.imp.MSVCR80.dll_strstr]
cmp eax, ebx
pop ecx
pop ecx
je 0x452266
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 0x4522eb
dec eax
je 0x452257
dec eax
jne 0x4522b3
mov dword [0x550c7c], 0xb
jmp 0x4522f1
mov dword [0x550c7c], 0xa
jmp 0x4522f1
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 0x4522f1
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
push 0xa
pop esi
jmp 0x45229c
cdq
mov ecx, esi
idiv ecx
cmp eax, edi
jge 0x452297
push 6
pop ecx
sub eax, ecx
je 0x4522eb
dec eax
je 0x4522df
dec eax
je 0x4522d3
dec eax
je 0x4522c7
dec eax
je 0x4522bf
mov dword [0x550c7c], 2
jmp 0x4522f1
mov dword [0x550c7c], esi
jmp 0x4522f1
mov dword [0x550c7c], 9
jmp 0x4522f1
mov dword [0x550c7c], 8
jmp 0x4522f1
mov dword [0x550c7c], 7
jmp 0x4522f1
mov dword [0x550c7c], ecx
pop esi
cmp dword [ebp - 0x74], ebx
je 0x452300
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x550c7c]
mov ecx, dword [ebp + 0xa4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d0736
add ebp, 0xa8
leave
ret

Function at 0x4523fd
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [esp + 8], 0
jne 0x452408
xor eax, eax
jmp 0x45242d
lea ecx, [eax + 0x1004]
push ecx
push eax
add eax, 0x1000
push eax
mov eax, dword [esp + 0x10]
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x453fe6
Capabilities:
Get session user name

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x4ef174
call fcn.004d1298
xor edi, edi
push 0x208
lea eax, [ebp + 2]
push edi
mov dword [ebp - 0x14], edi
push eax
mov word [ebp], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x45404b
push str.defaultuser
push esi
call fcn.00402d09
jmp 0x454090
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402d09
lea ebx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0043ed56
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x454078
push str.defaultuser
push esi
call fcn.00402d09
jmp 0x454085
add eax, 0xfffffff0
call fcn.00401311
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004d0736
add ebp, 0x210
leave
ret
Function at 0x454623
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
push edi
xor edi, edi
push 0x103
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x77]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x7c], edi
mov byte [ebp - 0x78], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
push str.progman
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x454695
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push str.shelldll_defview
push edi
push eax
call ebx
cmp eax, edi
je 0x454695
push edi
push str.syslistview32
push edi
push eax
call ebx
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x4546a4
call fcn.00454b4d
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x45476f
lea ecx, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x7c]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x45476f
cmp dword [esi + 0x30], edi
push 4
mov ebx, 0x1000
push ebx
je 0x4546f3
push 0x40
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
call edi
mov dword [esi + 0x20], eax
jmp 0x454702
push 0x34
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
call edi
mov dword [esi + 0x1c], eax
push 4
push ebx
push 0x104
push 0
push dword [esi + 0x10]
call edi
push 4
push ebx
push 0x10
push 0
push dword [esi + 0x10]
mov dword [esi + 0x24], eax
call edi
push 4
push ebx
push 8
xor ebx, ebx
push ebx
push dword [esi + 0x10]
mov dword [esi + 0x28], eax
call edi
cmp dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], eax
jne 0x45473d
cmp dword [esi + 0x20], ebx
je 0x45476d
cmp dword [esi + 0x24], 0
je 0x45476d
cmp dword [esi + 0x28], 0
je 0x45476d
test eax, eax
je 0x45476d
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.00454b0d
lea eax, [ebp - 0x78]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.004053c6
mov dword [esi + 8], 1
xor edi, edi
cmp dword [esi + 8], edi
jne 0x454779
call fcn.00454796
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0736
add ebp, 0x90
leave
ret 4
Function at 0x45b709
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push 0x278
mov eax, 0x4ead4c
call fcn.004d1301
mov eax, dword [ebp + 8]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x260]
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x45b73d
xor eax, eax
jmp 0x45b828
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x240]
xor ebx, ebx
cmp edi, ebx
je 0x45b736
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
mov dword [ebp - 0x268], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x26c], eax
je 0x45b736
lea eax, [ebp - 0x261]
mov dword [ebp - 0x270], ebx
mov byte [ebp - 0x261], bl
push eax
lea eax, [edi + 2]
lea ebx, [ebp - 0x284]
call fcn.00453532
xor ebx, ebx
push ebx
lea eax, [ebp - 0x270]
push eax
push edi
push ebx
lea esi, [ebp - 0x284]
mov dword [ebp - 4], ebx
call fcn.0044ac7d
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45b807
cmp dword [ebp - 0x270], edi
jne 0x45b807
test edi, edi
jbe 0x45b7e4
push ebx
lea esi, [ebp - 0x284]
call fcn.0044ac7d
xor byte [eax], 0x4e
inc ebx
cmp ebx, edi
jb 0x45b7d0
push 0
lea esi, [ebp - 0x284]
call fcn.0044ac7d
push eax
push dword [ebp - 0x274]
call fcn.004053c6
mov dword [ebp - 0x268], 1
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x284]
call fcn.0044ad3e
mov eax, dword [ebp - 0x268]
call fcn.004d1384
ret 4

Function at 0x45b830
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4f2c9e
call fcn.004d1298
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
xor ebx, ebx
lea ecx, [ebp - 0x14]
call fcn.0048afb1
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push str._sressrcchsuplive.svr
call fcn.00401a57
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004012f9
mov esi, dword [ebp - 0x10]
push esi
push ebx
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.004012f9
mov eax, edi
call fcn.004d1370
ret
Function at 0x45c284
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x5289c8
call fcn.004d0d54
or dword [ebp - 0x20], 0xffffffff
xor esi, 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 0x45c30b
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x45c30b
mov dword [ebp - 0x38], 1
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 0x45c30b
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0045c322
mov eax, dword [ebp - 0x20]
call fcn.004d0d99
ret

Function at 0x45c334
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea eax, [ebp - 4]
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45c3a1
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x45c398
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x45c398
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x45ccd8
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x4eeec0
call fcn.004d1298
mov esi, ecx
mov eax, dword [0x550310]
and dword [ebp - 0x14], 0
mov ecx, 0x550310
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x10]
xor eax, eax
inc eax
dec ecx
mov ebx, eax
shl ebx, cl
mov ecx, dword [ebp + 8]
test dword [ecx + 0xc], ebx
je 0x45cd19
mov dword [ebp - 0x14], eax
jmp 0x45cd76
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
push dword [esi]
lea eax, [ebp - 0x18]
push eax
call fcn.0045cc50
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402a90
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
je 0x45cd76
mov esi, dword [esi + 0xc]
push dword [esi - 0xc]
lea eax, [ebp - 0x10]
push esi
call fcn.00402a3f
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x45cd76
mov eax, dword [ebp + 8]
add dword [eax + 0xc], ebx
lea eax, [edi - 0x10]
call fcn.004012f9
mov eax, dword [ebp - 0x14]
call fcn.004d1370
ret 4