joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5428e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7261b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x54291e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x54291e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x542920
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x542960
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7261b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x542d40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x7261b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x542d80
Capabilities:
Query environment variable

Disassembly:
push str.EXPAT_ENTROPY_DEBUG
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x542de4
mov ecx, 0x601f60
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x542db7
test dl, dl
je 0x542db3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x542db7
add eax, 2
add ecx, 2
test dl, dl
jne 0x542d97
xor eax, eax
jmp 0x542dbc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x542de4
push 4
push dword [esp + 0xc]
push 8
push dword [esp + 0x10]
push str.Entropy:__s_____0x_0lx___lu_bytes__n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x18
mov eax, dword [esp + 8]
ret
Function at 0x5b8fa0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x5b8fba
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x6166e4
push esi
call dword [sym.imp.MSVCRT.dll_strpbrk]
add esp, 8
test eax, eax
je 0x5b9003
test ebp, ebp
je 0x5b8ff4
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x5b9029
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5b9029
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x5b90df
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b9046
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x727388]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5b90d5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5b90d5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b9078
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5b9090
sub ecx, edx
add ecx, ebx
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x5b90a0
test ebp, ebp
je 0x5b90cc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x72738c]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x72738c]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x5b9270
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x22c
test byte [esp + 0x230], 2
je 0x5b92bb
lea eax, [esp + 0x9c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x5b92af
mov eax, dword [esp + 0x9c]
cmp al, 2
jne 0x5b92a9
shr eax, 8
cmp al, 2
je 0x5b92bb
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
add esp, 0x22c
ret
call fcn.005d2c30
test eax, eax
jne 0x5b9390
push str.iphlpapi.dll
call fcn.005b8fa0
add esp, 4
mov dword [0x730e48], eax
test eax, eax
je 0x5b92f3
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5b92f3
mov dword [0x730e44], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
mov dword [esp + 4], 0x9c
mov dword [esp + 8], 6
mov dword [esp + 0xc], 0
push 3
push 2
push 0
push 0
mov dword [esp + 0x24], 2
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 0x20
push edx
push eax
call esi
push 3
push 0x10
push edx
push eax
call esi
push 1
push 8
push edx
push eax
call esi
push edx
push eax
push 0x33
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
pop esi
test eax, eax
je 0x5b9387
push 0x7313d8
mov byte [0x7313e0], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
add esp, 0x22c
ret
mov byte [0x7313e0], 0
xor eax, eax
add esp, 0x22c
ret

Function at 0x5b9510
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2c8], 2
je fcn.005b94c0
mov al, 1
ret

Function at 0x5b9650
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x5e0], 0
je 0x5b9694
push 1
push edi
call fcn.005ba850
push dword [edi + 0x574]
mov eax, dword [edi + 0x5e0]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.005ba850
add esp, 0x24
mov eax, esi
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
cmp eax, 2
ja 0x5b96cd
push dword [edi + 0x570]
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
lea eax, [eax + eax*2]
push 1
add eax, 0x616768
push 2
push eax
call esi
push dword [edi + 0x570]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop edi
xor eax, eax
pop esi
ret

Function at 0x5b98d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x5b9901
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
ret
Function at 0x5b9a30
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push eax
push ebp
mov esi, dword [ebp + eax*4 + 0x1a4]
call fcn.005b9ee0
add esp, 8
push 0
push dword [esp + 0xa0]
push dword [esp + 0xa0]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0xa0]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x5b9ad7
push edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x5b9aa4
pop edi
pop esi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
add esp, 0x80
ret
push pe_nt_image_headers32
lea eax, [esp + 0x14]
push eax
push edi
call fcn.005d37f0
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.005b96e0
mov eax, dword [ebp]
add esp, 0x18
mov dword [eax + 0xc54], edi
mov eax, esi
mov dword [ebx], 0x37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret

Function at 0x5b9ee0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
shl eax, 4
mov ebp, dword [ebx + ecx*4 + 0x1a4]
lea esi, [ebx + 0x1c8]
add esi, eax
mov eax, dword [ebx + 0x2c0]
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x5b9f96
cmp dword [ebx + ecx*4 + 0x1b8], 0x5b9960
jne 0x5b9f96
cmp dword [esi], 0
je 0x5b9f2c
test edi, edi
je 0x5b9f96
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.005c19f0
add esp, 0x10
cmp eax, 0xffffffff
je 0x5b9f96
test al, 1
je 0x5b9f96
cmp dword [esi], 0
jne 0x5b9f7f
mov eax, dword [ebx]
mov eax, dword [eax + 0x8d0]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x727388]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x5b9f7f
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x5b9f96
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5cc1e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1000
call fcn.004fa5f0
push dword [esp + 0x1004]
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x5cc22d
push 0x1000
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x5cc22d
lea eax, [esp]
push eax
call dword [0x727394]
add esp, 4
add esp, 0x1000
ret
xor eax, eax
add esp, 0x1000
ret
Function at 0x5d2cd0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [eax], ebp
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x5d2e63
push ebx
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x5d2e4d
push esi
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x5d2d1f
lea ebx, [eax + 0xe]
jmp 0x5d2d2b
cmp eax, 0x17
jne 0x5d2dda
lea ebx, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x5d2dda
mov eax, dword [edi + 0x10]
test eax, eax
je 0x5d2dda
cmp eax, ebx
jb 0x5d2dda
push 0x20
call dword [0x727388]
mov esi, eax
add esp, 4
test esi, esi
je 0x5d2e42
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x727388]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x5d2e31
push ebx
push dword [edi + 0x18]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x5d2dc5
push eax
call dword [0x727394]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x5d2e17
test ebp, ebp
jne 0x5d2dcb
mov ebp, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5d2dd6
mov dword [eax + 0x1c], esi
mov dword [esp + 0x10], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x5d2d12
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
pop esi
test eax, eax
je 0x5d2df9
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x5d2e49
push ebp
call fcn.005d2c90
mov eax, dword [esp + 0x2c]
add esp, 4
xor ebp, ebp
mov dword [eax], ebp
mov eax, ebx
pop edi
pop ebx
pop ebp
add esp, 0xc
ret
push dword [esi + 0x18]
mov ebx, 8
call dword [0x72738c]
push esi
call dword [0x72738c]
add esp, 8
jmp 0x5d2de9
push esi
mov ebx, 8
call dword [0x72738c]
add esp, 4
jmp 0x5d2de9
mov ebx, 8
jmp 0x5d2de9
test ebp, ebp
jne 0x5d2e59
mov ebx, 0x2af9
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x5e28e8
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x731084], 0
push ebx
push esi
mov esi, 0x73108c
jne 0x5e2914
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x7310a4], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x731084], 1
push dword [0x7310a4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x5e29b1
push 0x14
push 8
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x5e29db
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x731088]
test eax, eax
je 0x5e2956
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x731088], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x5e29e0
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x7310a4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x5e29db
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x5e30d9
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x184
push 8
push dword [0x72a674]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x7312c0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x7312c4], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.005e5cb2
mov dword [esi + 0x58], 0x5e3cec
mov eax, esi
mov dword [esi + 0x5c], 0x5e3d38
mov dword [esi + 0x10], fcn.005e388d
mov dword [esi + 0x30], 0x5e377f
mov dword [esi + 0x64], 0x5e3dc2
mov dword [esi + 0x60], 0x5e3d7a
mov dword [esi + 0x34], 0x5e342f
mov dword [esi + 0x24], 0x5e3406
mov dword [esi + 0x28], 0x5e33db
mov dword [esi + 0x2c], 0x5e332d
mov dword [esi + 0x44], 0x5e3af2
pop esi
ret 4
Function at 0x49ed3b
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
cmp dword [0x6bdc70], 1
jne 0x49ed5d
jmp 0x49ef9b
mov dword [0x6bdc70], 0
mov ebx, dword [0x6bdd98]
call fcn.00401004
mov eax, 0
cmp eax, ecx
jl 0x49ed92
push 0x63
push 0x4015d1b
push 1
call fcn.00575a40
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, str.1017040209
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x49edb2
push ebx
call fcn.00575a4c
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [0x6bdd98]
call fcn.00401004
mov eax, 1
cmp eax, ecx
jl 0x49ede3
push 0x93
push 0x4015d1b
push 1
call fcn.00575a40
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, str.637130227
push eax
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x49ee03
push ebx
call fcn.00575a4c
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov ebx, dword [0x6bdd98]
call fcn.00403430
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x49ef5a
mov ebx, dword [0x6bdd98]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x49ee55
push 0x12c
push 0x4015d1b
push 4
call fcn.00575a40
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x49ee72
push 0x12c
push 0x4015d1b
push 1
call fcn.00575a40
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
test eax, eax
jne 0x49ee8f
mov eax, 0x664344
push eax
push 1
mov ebx, 0x576b70
call fcn.00575a52
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0049ef9f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jne 0x49ef52
push 0
push 1
push 0xffffffffffffffff
push 5
push 0x16015d1a
push 0x52010001
call fcn.00575a6a
add esp, 0x18
push reloc.WS2_32.dll_connect
push 0
push str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_109.0.0.0_Safari_537.36_Edg_109.0.1518.115
push 0x60005
push 0x16015d1a
push 0x52010001
push 2
mov eax, 5
mov ebx, 0x611ae0
call fcn.00575a64
add esp, 0x1c
push reloc.WS2_32.dll_connect
push 0
push str.https:__xui.ptlogin2.qq.com_cgi_bin_xlogin_pt_disable_pwd1appid715030901hide_close_icon1daid73pt_no_auth1s_urlhttps_3A_2F_2Fqun.qq.com_2F
push 0x60005
push 0x16015d1a
push 0x52010001
push 2
mov eax, 5
mov ebx, 0x611a10
call fcn.00575a64
add esp, 0x1c
jmp 0x49ef9b
pop eax
pop ebx
pop ecx
jmp 0x49ee1d
add esp, 0xc
mov ebx, 6
call fcn.00402830
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x666aef
push 4
mov ebx, 0x578930
call fcn.00575a52
add esp, 0x34
push 0
call fcn.00575a70
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4a8685
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x4a86cc
cmp ebx, 0x20
je 0x4a86cc
cmp ebx, 0xffffffe0
je 0x4a86cc
jne 0x4a86d5
add eax, 1
cmp esi, eax
je 0x4a86e2
jne 0x4a86b1
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x4a86e6
jne 0x4a86ad
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x4a86fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x4a873f
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x4a8745
add eax, 4
pop esi
dec esi
push esi
jne 0x4a8727
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x4b01b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x4b01ff
cmp ebx, 0x20
je 0x4b01ff
cmp ebx, 0xffffffe0
je 0x4b01ff
jne 0x4b0208
add eax, 1
cmp esi, eax
je 0x4b0215
jne 0x4b01e4
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x4b0219
jne 0x4b01e0
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4
Function at 0x4b022d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x4b0272
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x4b0278
add eax, 4
pop esi
dec esi
push esi
jne 0x4b025a
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x586790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x65684b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00649fd7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x586812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00646df3
mov eax, dword [eax]
push 0x6a0de4
push eax
call fcn.00636f64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0064a262
test bl, bl
je 0x586812
push 0x6a0de4
lea ecx, [esp + 0xc]
call fcn.0064a5f2
push 0x6a0df0
lea ecx, [esp + 0xc]
call fcn.0064a5f2
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x58684e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0064a262
jmp 0x586919
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x5868d2
lea edx, [esp + 0x7c]
push 0x6a0dec
push edx
call fcn.00636f64
add esp, 8
test eax, eax
je 0x5868d2
lea eax, [esp + 0x7c]
push 0x6a0de8
push eax
call fcn.00636f64
add esp, 8
test eax, eax
je 0x5868d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x586862
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0064a262
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x587110
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x587172
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc