joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a0c6
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 0x44a131
push edi
call fcn.004863d6
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x44a102
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 0x44a131
mov eax, dword [esi + 4]
test eax, eax
je 0x44a128
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 0x44a144
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
jmp 0x44a211
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 0x44a169
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov byte [esi], 0
jmp 0x44a20f
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 0x44a1ed
lea eax, [esi + ebx*8]
mov dword [ebp + 0xc], eax
test ebx, ebx
jle 0x44a19f
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
mov dword [ebp - 8], eax
jmp 0x44a1a6
mov dword [ebp - 8], 0x4de5b8
cmp dword [ebp + 0xc], 0
je 0x44a1cf
push dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
call fcn.00449cb8
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp + 0xc]
mov esi, eax
call fcn.00449c39
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 0x44a1d1
sub dword [ebp + 0xc], 8
dec ebx
test ebx, ebx
jge 0x44a192
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 0x44a209
test eax, eax
jl 0x44a20d
mov byte [eax + esi], 0
dec eax
cmp eax, edi
jge 0x44a200
sub dword [ecx], edx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44b9ab
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 4
mov eax, 0x49e289
call fcn.004878f8
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
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.00401923
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 0x44b9f3
xor eax, eax
jmp 0x44b9fd
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401390
mov edi, dword [ebp + 8]
add edi, 0x18
lea eax, [ebp - 0x10]
call fcn.00404347
push 0x104
lea esi, [ebp - 0x10]
call fcn.00401923
push eax
xor edi, edi
push edi
push edi
push 0x10
push edi
call ebx
mov esi, dword [ebp - 0x10]
cmp esi, edi
jne 0x44ba35
xor eax, eax
jmp 0x44ba3d
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401390
mov edi, dword [ebp + 8]
add edi, 0x1c
lea eax, [ebp - 0x10]
call fcn.00404347
lea eax, [esi - 0x10]
call fcn.004012f9
call fcn.004879d0
ret 4
Function at 0x44e4e8
Capabilities:
Parse credit card information

Disassembly:
push 0x1c
mov eax, 0x49bfb4
call fcn.004878f8
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 0x44e527
cmp dword [edi + 0xac], ebx
je 0x44e6d0
mov eax, dword [edi + 0xac]
cmp eax, edx
jne 0x44e595
cmp word [edi + 0xb8], 0x7b
jne 0x44e547
cmp dword [edi + 0xbc], ebx
je 0x44e6ac
cmp word [edi + 0xb8], 0x3f
jne 0x44e55d
cmp dword [edi + 0xbc], ebx
je 0x44e6ac
cmp word [edi + 0xb8], 0x2a
jne 0x44e573
cmp dword [edi + 0xbc], ebx
je 0x44e6ac
cmp word [edi + 0xb8], 0x2b
jne 0x44e589
cmp dword [edi + 0xbc], ebx
je 0x44e6ac
movzx eax, word [edi + 0xa8]
jmp 0x44e68f
cmp eax, ebx
jne 0x44e50f
movzx ecx, word [edi + 0xa8]
movzx eax, cx
cmp ax, 0x29
je 0x44e6d0
cmp ax, 0x7c
je 0x44e6d0
cmp dword [ebp - 0x1c], edx
jg 0x44e6d9
cmp ax, 0x28
je 0x44e70d
cmp ax, 0x5b
je 0x44e742
cmp ax, 0x2e
je 0x44e742
cmp ax, 0x77
je 0x44e742
cmp ax, 0x57
je 0x44e742
cmp ax, 0x73
je 0x44e742
cmp ax, 0x53
je 0x44e742
cmp ax, 0x64
je 0x44e742
cmp ax, 0x44
je 0x44e742
cmp ax, 0x5e
je 0x44e735
cmp ax, 0x24
je 0x44e735
cmp ax, 0x41
je 0x44e735
cmp ax, 0x5a
je 0x44e735
cmp ax, 0x7a
je 0x44e735
cmp ax, 0x62
je 0x44e735
cmp ax, 0x42
je 0x44e735
cmp ax, 0x47
je 0x44e735
cmp ax, 0x5c
je 0x44e72b
cmp ax, 0x6b
je 0x44e72b
cmp ax, 0x67
je 0x44e72b
movzx eax, cx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x24]
call fcn.004500c8
mov eax, edi
call fcn.0044cfc5
xor edx, edx
jmp 0x44e50f
cmp dword [ebp - 0x1c], edx
jne 0x44e6d3
movzx eax, word [edi + 0xa8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0x24]
call fcn.004500c8
mov eax, edi
call fcn.0044cfc5
xor edx, edx
cmp dword [ebp - 0x1c], edx
jle 0x44e75a
push 0x20
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
je 0x44e74e
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x44e6f3
mov ecx, 0x4b87c4
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.0044fbf6
jmp 0x44e750
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044edf6
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0044c422
mov eax, esi
call fcn.004879d0
ret 8
push dword [ebp + 0xc]
call fcn.0044f988
jmp 0x44e717
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.0044f824
jmp 0x44e717
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044e8ff
jmp 0x44e717
xor eax, eax
push eax
mov eax, edi
call fcn.0044de1c
jmp 0x44e717
xor eax, eax
mov ecx, edi
call fcn.0044db58
jmp 0x44e717
Function at 0x4507e9
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x49f77e
call fcn.004878f8
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea edi, [ebp - 0x10]
call fcn.0045086e
test eax, eax
mov edi, dword [ebp - 0x10]
je 0x45085e
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x45085e
lea eax, [ebp - 0x14]
push str.QQPCTray.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040548e
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 0x450868
lea eax, [edi - 0x10]
call fcn.004012f9
xor eax, eax
call fcn.004879d0
ret

Function at 0x45086e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4dc0a8]
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 0x45094d
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 0x450944
cmp dword [ebp - 0x80], 1
jne 0x450944
cmp dword [ebp - 0x7c], 2
jb 0x450944
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 0x450935
lea eax, [ebp + eax*2 - 0x76]
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x450932
cmp cx, 0x2f
jne 0x450935
mov word [eax], si
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.00405140
xor eax, eax
inc eax
jmp 0x45094f
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.00486d86
add ebp, 0x198
leave
ret
Function at 0x450a2d
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 0x450aa5
cmp dword [0x4e0da8], ebx
je 0x450a9e
push str.init_failure__because__create_event_failure
push 0x4b3fb8
push str.KCmppGlobalMonitor::Init
push 0x4b3f84
lea eax, [ebp - 4]
push eax
push 0x4b3f80
mov dword [ebp - 4], 0x1e
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
xor eax, eax
jmp 0x450b29
push ebx
push ebx
push edi
push 0x450c65
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [edi + 0x5c], eax
jne 0x450b26
cmp dword [0x4e0da8], ebx
je 0x450b15
push str.init_failure__because__create_thread_failure
push 0x4b3fb8
push str.KCmppGlobalMonitor::Init
push 0x4b3f84
lea eax, [ebp - 4]
push eax
push 0x4b3f80
mov dword [ebp - 4], 0x26
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
push dword [edi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x60], ebx
jmp 0x450a9e
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x451d31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4dc0a8]
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 [0x4e0e74]
cmp eax, ebx
push 0xf
pop edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], edi
jne 0x451ed0
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 0x451ebd
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 0x451e31
cmp dword [ebp - 0x78], 1
jne 0x451e31
lea eax, [ebp - 0x70]
push 0x4b8f98
push eax
call dword [sym.imp.MSVCR80.dll_strstr]
cmp eax, ebx
pop ecx
pop ecx
je 0x451e31
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 0x451eb6
dec eax
je 0x451e22
dec eax
jne 0x451e7e
mov dword [0x4e0e74], 0xb
jmp 0x451ebc
mov dword [0x4e0e74], 0xa
jmp 0x451ebc
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 0x451ebc
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
push 0xa
pop esi
jmp 0x451e67
cdq
mov ecx, esi
idiv ecx
cmp eax, edi
jge 0x451e62
push 6
pop ecx
sub eax, ecx
je 0x451eb6
dec eax
je 0x451eaa
dec eax
je 0x451e9e
dec eax
je 0x451e92
dec eax
je 0x451e8a
mov dword [0x4e0e74], 2
jmp 0x451ebc
mov dword [0x4e0e74], esi
jmp 0x451ebc
mov dword [0x4e0e74], 9
jmp 0x451ebc
mov dword [0x4e0e74], 8
jmp 0x451ebc
mov dword [0x4e0e74], 7
jmp 0x451ebc
mov dword [0x4e0e74], ecx
pop esi
cmp dword [ebp - 0x74], ebx
je 0x451ecb
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4e0e74]
mov ecx, dword [ebp + 0xa4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00486d86
add ebp, 0xa8
leave
ret
Function at 0x452998
Capabilities:
Get session user name

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4dc0a8]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x4a12b5
call fcn.004878f8
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 0x4529fd
push str.defaultuser
push esi
call fcn.00405f0e
jmp 0x452a42
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405f0e
lea ebx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0043e69f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x452a2a
push str.defaultuser
push esi
call fcn.00405f0e
jmp 0x452a37
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.00486d86
add ebp, 0x210
leave
ret
Function at 0x452eb5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4dc0a8]
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 0x452f27
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push str.shelldll_defview
push edi
push eax
call ebx
cmp eax, edi
je 0x452f27
push edi
push str.syslistview32
push edi
push eax
call ebx
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x452f36
call fcn.004533df
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x453001
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 0x453001
cmp dword [esi + 0x30], edi
push 4
mov ebx, 0x1000
push ebx
je 0x452f85
push 0x40
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push eax
call edi
mov dword [esi + 0x20], eax
jmp 0x452f94
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 0x452fcf
cmp dword [esi + 0x20], ebx
je 0x452fff
cmp dword [esi + 0x24], 0
je 0x452fff
cmp dword [esi + 0x28], 0
je 0x452fff
test eax, eax
je 0x452fff
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.0045339f
lea eax, [ebp - 0x78]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.0040472a
mov dword [esi + 8], 1
xor edi, edi
cmp dword [esi + 8], edi
jne 0x45300b
call fcn.00453028
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d86
add ebp, 0x90
leave
ret 4
Function at 0x45a319
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push 0x278
mov eax, 0x49f4d6
call fcn.00487961
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 0x45a34d
xor eax, eax
jmp 0x45a438
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x240]
xor ebx, ebx
cmp edi, ebx
je 0x45a346
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 0x45a346
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.00452931
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.0044a870
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45a417
cmp dword [ebp - 0x270], edi
jne 0x45a417
test edi, edi
jbe 0x45a3f4
push ebx
lea esi, [ebp - 0x284]
call fcn.0044a870
xor byte [eax], 0x4e
inc ebx
cmp ebx, edi
jb 0x45a3e0
push 0
lea esi, [ebp - 0x284]
call fcn.0044a870
push eax
push dword [ebp - 0x274]
call fcn.0040472a
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.0044a931
mov eax, dword [ebp - 0x268]
call fcn.004879e4
ret 4

Function at 0x45a440
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x4a34e3
call fcn.004878f8
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
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.00467016
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push str._sressrcchsuplive.svr
call fcn.00401a22
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.004879d0
ret

Function at 0x45b85a
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x45c560
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45c58e
xor eax, eax
jmp 0x45c5e5
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45c5dc
push ebx
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x45c5db
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45c5db
push dword [ebp + 0xc]
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x45ec3e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x45ec49
xor al, al
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45ec6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45ec6f
push dword [esi]
call fcn.004671fa
neg eax
sbb eax, eax
pop ecx
neg eax
ret
mov al, 1
ret

Function at 0x45eeeb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test esi, esi
je 0x45ef1b
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x45ef1b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
mov eax, ecx
ret
xor eax, eax
ret

Function at 0x45ef1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4dc0a8]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x10
mov eax, 0x49f42d
call fcn.004878f8
xor esi, esi
push 0x208
lea eax, [ebp + 2]
mov dword [ebp - 0x14], esi
push esi
push eax
mov dword [ebp - 0x18], esi
mov word [ebp], si
call sub.MSVCR80.dll_memset
mov eax, dword [0x4e0530]
add esp, 0xc
mov ecx, 0x4e0530
mov dword [ebp - 0x14], 0x20a
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push str.ProgramPath
push str.SOFTWAREkbasesrv
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45f02d
cmp dword [ebp - 0x18], 1
mov word [ebp + 0x208], si
jne 0x45f02d
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x45f02d
lea esi, [ebp]
call fcn.0045eeeb
test eax, eax
je 0x45f02d
mov eax, esi
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov ecx, esi
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00404388
lea eax, [ebp - 0x1c]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 0x10]
call fcn.004066ba
push 0x4b3f7c
push eax
mov byte [ebp - 4], 1
call fcn.004018e4
test eax, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
setne bl
add eax, 0xfffffff0
call fcn.004012f9
test bl, bl
je 0x45f025
push 0x5c
lea eax, [ebp - 0x10]
call fcn.004409b1
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
jmp 0x45f030
lea esi, [ebx - 0x10]
mov eax, esi
call fcn.00401311
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.004012f9
mov eax, edi
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.00486d86
add ebp, 0x210
leave
ret
Function at 0x45f068
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4dc0a8]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x4a442d
call fcn.004878f8
xor esi, esi
push 0x208
lea eax, [ebp + 2]
mov dword [ebp - 0x1c], esi
push esi
push eax
mov dword [ebp - 0x18], esi
mov word [ebp], si
call sub.MSVCR80.dll_memset
mov eax, dword [0x4e0530]
add esp, 0xc
mov ecx, 0x4e0530
mov dword [ebp - 0x1c], 0x20a
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
lea esi, [ebp - 0x10]
call fcn.0045e349
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push str.ProgramPath
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45f181
and word [ebp + 0x208], ax
cmp dword [ebp - 0x18], 1
jne 0x45f181
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x45f181
lea esi, [ebp]
call fcn.0045eeeb
test eax, eax
je 0x45f181
mov eax, esi
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov ecx, esi
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.00404388
lea eax, [ebp - 0x20]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 0x14]
call fcn.004066ba
push 0x4b3f7c
push eax
mov byte [ebp - 4], 2
call fcn.004018e4
test eax, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
setne bl
add eax, 0xfffffff0
call fcn.004012f9
test bl, bl
je 0x45f179
push 0x5c
lea eax, [ebp - 0x14]
call fcn.004409b1
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
jmp 0x45f184
lea esi, [ebx - 0x10]
mov eax, esi
call fcn.00401311
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
call fcn.004012f9
mov eax, edi
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.00486d86
add ebp, 0x210
leave
ret