joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4ac3b8]
push ebp
mov ebp, dword [esp + 0x54]
test ebp, ebp
mov dword [esp + 0x4c], eax
push edi
je 0x405488
mov edi, dword [esp + 0x60]
test edi, edi
je 0x405488
mov al, 0x98
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
xor eax, eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov byte [esp + 0xc], 0xa
mov byte [esp + 0xd], 0x3d
mov byte [esp + 0xe], 0xdb
mov byte [esp + 0xf], 0
mov byte [esp + 0x10], 0x13
mov byte [esp + 0x12], 0x47
mov byte [esp + 0x13], 0x57
mov byte [esp + 0x14], 0x9c
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 0x84
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0xb0
mov byte [esp + 0x1a], 0x5e
mov byte [esp + 0x1b], 0x2e
mov byte [esp + 0x1c], 0x7c
mov byte [esp + 0x1d], 0x32
mov byte [esp + 0x1e], 0xdd
mov byte [esp + 0x1f], 0xe3
mov byte [esp + 0x20], 0x9d
mov byte [esp + 0x21], 7
mov byte [esp + 0x22], 0x4e
mov byte [esp + 0x23], 0x3a
mov byte [esp + 0x24], 0xa5
mov byte [esp + 0x25], 0x97
mov byte [esp + 0x26], 0x5d
mov byte [esp + 0x27], 0xc6
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x29], 0xd
mov byte [esp + 0x2a], 0x83
mov byte [esp + 0x2b], 0x11
mov byte [esp + 0x2c], 0
mov dword [esp + 0x49], eax
mov ecx, 0x20
jmp 0x405420
movzx edx, byte [esp + eax + 0xc]
mov dl, byte [edx + str.http:__vas._s_interface_chathall_buy.htmlhttp:__vas._s_interface_chathall_buy.html_uid_I64dmcheck_snickname_shttp:__www0._s_interface_chathall_buy_aristocrat_vip.html_oemid_duid_I64dmcheck_snickname_shttp:__vip.17guagua.com]
mov byte [esp + eax + 0x2c], dl
inc eax
dec ecx
jne 0x405420
push esi
xor esi, esi
call fcn.0046ffa0
test eax, eax
mov dword [esp + 0xc], eax
je 0x405476
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x64]
push edi
push eax
push ebp
push 1
call dword [edx + 4]
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
call fcn.0046f910
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
call fcn.0045015b
add esp, 0x4c
ret
mov ecx, dword [esp + 0x50]
pop edi
xor eax, eax
pop ebp
call fcn.0045015b
add esp, 0x4c
ret
Function at 0x4054a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4ac3b8]
push ebp
mov ebp, dword [esp + 0x54]
test ebp, ebp
mov dword [esp + 0x4c], eax
push edi
je 0x405608
mov edi, dword [esp + 0x60]
test edi, edi
je 0x405608
mov al, 0x98
mov byte [esp + 0x11], al
mov byte [esp + 0x17], al
xor eax, eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov byte [esp + 0xc], 0xa
mov byte [esp + 0xd], 0x3d
mov byte [esp + 0xe], 0xdb
mov byte [esp + 0xf], 0
mov byte [esp + 0x10], 0x13
mov byte [esp + 0x12], 0x47
mov byte [esp + 0x13], 0x57
mov byte [esp + 0x14], 0x9c
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 0x84
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0xb0
mov byte [esp + 0x1a], 0x5e
mov byte [esp + 0x1b], 0x2e
mov byte [esp + 0x1c], 0x7c
mov byte [esp + 0x1d], 0x32
mov byte [esp + 0x1e], 0xdd
mov byte [esp + 0x1f], 0xe3
mov byte [esp + 0x20], 0x9d
mov byte [esp + 0x21], 7
mov byte [esp + 0x22], 0x4e
mov byte [esp + 0x23], 0x3a
mov byte [esp + 0x24], 0xa5
mov byte [esp + 0x25], 0x97
mov byte [esp + 0x26], 0x5d
mov byte [esp + 0x27], 0xc6
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x29], 0xd
mov byte [esp + 0x2a], 0x83
mov byte [esp + 0x2b], 0x11
mov byte [esp + 0x2c], 0
mov dword [esp + 0x49], eax
mov ecx, 0x20
jmp 0x4055a0
movzx edx, byte [esp + eax + 0xc]
mov dl, byte [edx + str.http:__vas._s_interface_chathall_buy.htmlhttp:__vas._s_interface_chathall_buy.html_uid_I64dmcheck_snickname_shttp:__www0._s_interface_chathall_buy_aristocrat_vip.html_oemid_duid_I64dmcheck_snickname_shttp:__vip.17guagua.com]
mov byte [esp + eax + 0x2c], dl
inc eax
dec ecx
jne 0x4055a0
push esi
xor esi, esi
call fcn.0046ffa0
test eax, eax
mov dword [esp + 0xc], eax
je 0x4055f6
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x64]
push edi
push eax
push ebp
push 1
call dword [edx + 8]
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
call fcn.0046f910
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
call fcn.0045015b
add esp, 0x4c
ret
mov ecx, dword [esp + 0x50]
pop edi
xor eax, eax
pop ebp
call fcn.0045015b
add esp, 0x4c
ret
Function at 0x4056b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47dc7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8e4
mov eax, dword [0x4ac3b8]
push esi
mov dword [esp + 0x8e0], eax
mov eax, dword [ebp + 8]
push edi
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
mov word [esp + 0x18], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x8f8], 0
stosw word es:[edi], ax
call fcn.00405620
mov edx, dword [eax]
push edx
lea eax, [esp + 0x20]
push str._sdataSpread.dat
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov byte [esp + 0x418], 0
xor eax, eax
mov ecx, 0x131
lea edi, [esp + 0x419]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x18]
push 0x4888e4
push ecx
mov dword [esp + 0x1c], 0x4c8
stosb byte es:[edi], al
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x405835
call fcn.0046ffa0
push 0x10
mov dword [esp + 0x14], eax
mov edx, dword [eax]
push str.9A7FCFFD_86CE_4293_869B_61ED963C57EC
mov ecx, eax
call dword [edx]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x41c]
push ecx
lea edx, [eax + eax]
push edx
add eax, eax
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
mov ecx, dword [esp + 0x1c]
push eax
push 1
call dword [edi + 4]
test eax, eax
je 0x405815
movzx ecx, word [esp + 0x14]
push esi
push 1
push ecx
lea edx, [esp + 0x424]
push edx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
lea eax, [esp + 0x14]
push eax
call fcn.0046f910
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
jmp 0x405841
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
lea ecx, [esp + 0x14]
push ecx
call fcn.0046f910
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 0x8ec]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8e4]
call fcn.0045015b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x20]
push eax
push ecx
push edx
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x406463
mov eax, dword [ebp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40646b
pop esi
xor al, al
pop ebp
pop ecx
ret 0x10
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4064d1
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, dword [ebp + 0x20]
jne 0x4064a2
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x20]
pop ebx
mov byte [esp + 0xb], 1
pop esi
mov dword [edx], eax
mov al, byte [esp + 7]
pop ebp
pop ecx
ret 0x10
mov eax, dword [esp + 0x20]
push edi
mov edi, dword [eax]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp edi, eax
jl 0x4064d0
mov ecx, edi
mov edi, dword [esp + 0x20]
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x13], 1
pop edi
mov al, byte [esp + 0xf]
pop ebx
pop esi
pop ebp
pop ecx
ret 0x10

Function at 0x4064e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47dd92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
push ebx
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
mov ecx, esi
call fcn.00406430
test al, al
je 0x40658a
mov eax, dword [esp + 8]
cmp eax, ebx
jle 0x40658a
push edi
push eax
call sub.MFC71U.DLL_SerializeElements
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov edi, eax
push edi
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call fcn.00406430
test al, al
je 0x406580
mov edx, dword [esp + 0xc]
push edx
push edi
mov ecx, esi
call fcn.004061c0
test al, al
je 0x406580
mov bl, 1
push edi
call sub.MFC71U.DLL_operator_new
add esp, 4
pop edi
lea ecx, [esp + 0x1c]
mov byte [esi + 0x30], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4068e0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], eax
mov al, byte [esi + 0x30]
test al, al
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x44], ecx
je 0x406950
cmp dword [esi + 0x28], 1
jb 0x406950
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406950
lea edx, [esp + 8]
push edx
push 4
push esi
push 0x4068b0
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
jne 0x406949
mov al, 1
pop esi
ret 0x14
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop esi
ret 0x14

Function at 0x406ed0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4ac3b8]
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x406f19
mov ax, word [esp]
cmp al, 1
jne 0x406f19
cmp ah, al
jne 0x406f19
mov eax, 1
mov ecx, dword [esp + 0x190]
call fcn.0045015b
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor eax, eax
call fcn.0045015b
add esp, 0x194
ret

Function at 0x406f50
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x214
mov eax, dword [esp + 0x218]
push ebx
push esi
push edi
push 0x11
push 2
push 2
mov esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x406fd4
mov edi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x18], 1
call edi
test eax, eax
mov ebx, dword [sym.imp.MSVCR71.dll_printf]
je 0x406fb1
push eax
push str.ioctlsocket_failed_with_error:__ld_n
call ebx
add esp, 8
mov eax, dword [esi]
push 0x10
lea edx, [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x406fe2
mov ecx, dword [esi]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x214
ret 4
mov eax, dword [esi]
lea edx, [esp + 0xc]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x407008
push eax
push str.ioctlsocket_failed_with_error:__ld_n
call ebx
add esp, 8
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x120]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x128], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x130], 1
call dword [sym.imp.WS2_32.dll_select]
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x406fd4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x214
ret 4
Function at 0x407070
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
mov esi, ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4070aa
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xc]
mov eax, dword [edx]
push ecx
mov dword [esi + 8], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 6], ax
mov word [esi + 4], 2
mov eax, 1
pop esi
ret 8
xor edx, edx
add esi, 4
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
push 0x2726
mov dword [esi + 0xc], edx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
pop esi
ret 8

Function at 0x407130
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x68
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, 0xffffffff
jne 0x40716d
cmp word [esi + 6], di
jne 0x407158
push 0x7b
push str.op.17guagua.com
call fcn.00407070
cmp word [esi + 6], di
je 0x407164
push 0xbb8
mov ecx, esi
call fcn.00406f50
cmp dword [esi], 0xffffffff
je 0x40725c
push ebx
push 0xb000000
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi]
push 0x10
lea ebx, [esi + 4]
push ebx
push edi
mov dword [esp + 0x20], eax
push 0x30
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x4071df
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
pop ebx
pop edi
mov dword [esi], 0xffffffff
xor eax, eax
pop esi
add esp, 0x68
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push 0x30
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x407213
mov eax, dword [esi]
push eax
jmp 0x4071c8
mov ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
lea edx, [esp + 0xc]
add eax, 0x7c558180
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCR71.dll_localtime]
add esp, 4
test eax, eax
je 0x407251
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc]
pop ebx
pop edi
mov dword [eax], ecx
mov eax, 1
pop esi
add esp, 0x68
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x68
ret 4
mov eax, edi
pop edi
pop esi
add esp, 0x68
ret 4
Function at 0x407133
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x68
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, 0xffffffff
jne 0x40716d
cmp word [esi + 6], di
jne 0x407158
push 0x7b
push str.op.17guagua.com
call fcn.00407070
cmp word [esi + 6], di
je 0x407164
push 0xbb8
mov ecx, esi
call fcn.00406f50
cmp dword [esi], 0xffffffff
je 0x40725c
push ebx
push 0xb000000
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi]
push 0x10
lea ebx, [esi + 4]
push ebx
push edi
mov dword [esp + 0x20], eax
push 0x30
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x4071df
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
pop ebx
pop edi
mov dword [esi], 0xffffffff
xor eax, eax
pop esi
add esp, 0x68
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ebx
push edi
push 0x30
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x407213
mov eax, dword [esi]
push eax
jmp 0x4071c8
mov ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
lea edx, [esp + 0xc]
add eax, 0x7c558180
push edx
mov dword [esp + 0x10], eax
call dword [sym.imp.MSVCR71.dll_localtime]
add esp, 4
test eax, eax
je 0x407251
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc]
pop ebx
pop edi
mov dword [eax], ecx
mov eax, 1
pop esi
add esp, 0x68
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x68
ret 4
mov eax, edi
pop edi
pop esi
add esp, 0x68
ret 4
Function at 0x40a4b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47e2ec
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
call fcn.004460a0
mov ebp, eax
mov ecx, ebp
call fcn.00444800
test eax, eax
jne 0x40a644
push edi
push 0x488000
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], 0
call fcn.00405620
add esp, 4
mov edi, eax
push str.UserConfig.ini
mov ecx, ebp
mov byte [esp + 0x20], 1
call fcn.00444770
mov ecx, dword [edi]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str._sUsers_I64d_s
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.NotShow
push str.HelpConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40a639
mov eax, dword [esi + 0x4a5c]
test eax, eax
jne 0x40a61c
push 0x698
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1c], 2
je 0x40a599
push 0
mov ecx, eax
call fcn.004079c0
jmp 0x40a59b
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esi + 0x4a5c], eax
mov ebp, dword [eax]
mov byte [esp + 0x1c], 0
call edi
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
mov ecx, dword [esi + 0x4a5c]
push eax
push 0x10f
call dword [ebp + 0x138]
mov ecx, dword [esi + 0x4a5c]
push 1
push 0x190
push 0x1a4
push 0x12c
push 0x258
call sub.MFC71U.DLL_COleControlSite::MoveWindow
call edi
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
mov ecx, dword [esi + 0x4a5c]
push eax
call sub.MFC71U.DLL_CScrollView::CenterOnPoint
mov ecx, dword [esi + 0x4a5c]
call fcn.00407cf0
mov ecx, dword [esi + 0x4a5c]
push 0
push 0x80
push 0
call sub.MFC71U.DLL_COleControlSite::ModifyStyleEx
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x4a5c]
push eax
call fcn.00407aa0
mov ecx, dword [esi + 0x4a5c]
push 1
call sub.MFC71U.DLL_COleControlSite::ShowWindow
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x40ae20
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47e392
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push edi
mov ebx, ecx
call fcn.004460a0
mov edi, eax
mov ecx, edi
call fcn.00444800
test eax, eax
jne 0x40af4f
push esi
push 0x488000
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], 0
call fcn.00405620
add esp, 4
mov esi, eax
push str.UserConfig.ini
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00444770
mov ecx, dword [esi]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str._sUsers_I64d_s
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0x44
push str.HotKey
push str.System
call esi
push 1
push eax
mov ecx, 0x4acee8
call fcn.00403e30
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.TopMost
push str.System
call esi
test eax, eax
pop esi
je 0x40af1a
test ebx, ebx
jne 0x40af09
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
jmp 0x40af2d
mov ebx, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
jmp 0x40af2d
test ebx, ebx
je 0x40af21
mov ebx, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
test ebx, ebx
je 0x40af56
mov ebx, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40ba50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x47e45b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.00405620
push str.dataUpdate.dat
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 0
call fcn.00403730
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
push str.kplayer_last_check_time
push str.Time
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
call fcn.0044f290
add esp, 4
test al, al
je 0x40bb3d
test esi, esi
je 0x40bad5
lea eax, [esi + 0x4c8]
jmp 0x40bad7
xor eax, eax
push eax
call fcn.0044f5e0
add esp, 4
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push 0
mov byte [esp + 0x1c], 3
call dword [sym.imp.MSVCR71.dll_time]
push eax
lea edx, [esp + 0xc]
push 0x48a078
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.kplayer_last_check_time
push str.Time
call fcn.0044a060
add esp, 0x10
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret