joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493c80
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb4e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
mov dword [ebp - 0x2c], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push eax
push 0x202
mov dword [ebp - 0x2c], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x493e0c
push 0x40
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x493e0c
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x493e0c
mov ecx, dword [ebx + 0xc]
xor edi, edi
cmp dword [ecx], edi
je 0x493e0c
xor edx, edx
movsx eax, word [ebx + 0xa]
push eax
push dword [edx + ecx]
lea eax, [ebp - 0x3c]
push eax
call fcn.005854c0
add esp, 0xc
push dword [ebp - 0x3c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x28], 0
mov edx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea ecx, [eax + 1]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493d62
sub eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push eax
push edx
call fcn.00449cf0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x493db7
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov ecx, 0xf
add dword [esi + 4], 0x18
mov byte [ebp - 0x28], 0
jmp 0x493dc6
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00473ab0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x493df7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x493ded
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493e27
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebx + 0xc]
inc edi
lea edx, [edi*4]
cmp dword [edx + ecx], 0
jne 0x493d24
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00591c98
int3
Function at 0x494190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b4c5d
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call fcn.00438270
mov esi, eax
call fcn.00531180
cmp dword [eax + 0x14], 0x10
jb 0x4941c3
mov eax, dword [eax]
push str.mw_txt_yourID
push eax
mov ecx, esi
call fcn.0052fc30
mov edx, eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4941f2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004496e0
push 2
push 0x5ec8c4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0044bde0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [edi + 0x130]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.00438270
mov esi, eax
call fcn.00531180
cmp dword [eax + 0x14], 0x10
jb 0x494250
mov eax, dword [eax]
push str.mw_txt_yourIP
push eax
mov ecx, esi
call fcn.0052fc30
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x494262
sub edx, esi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004496e0
push 0
push 0x5dd63c
lea ecx, [ebp - 0x28]
call fcn.0044bde0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [edi + 0x138]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0xf8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 8]
call esi
mov eax, dword [edi + 0xf0]
push 5
push dword [eax + 8]
call esi
mov ecx, dword [ebp - 0x14]
mov byte [0x6c5531], 0
cmp ecx, 8
jb 0x494302
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4942f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494314
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00591c98
int3
Function at 0x497410
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
lea esp, [esp]
mov edi, dword [ecx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x497473
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x497433
mov eax, dword [edi]
jmp 0x497555
cmp eax, 0x4e0
jb 0x497555
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x497490
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
lea ebx, [ebx]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4974e0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [esp + 0x10]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x497420
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4975a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4975f0
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4975b2
mov eax, dword [edi]
jmp 0x4976d7
cmp eax, 0x4e0
jb 0x4976d7
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
mov edi, edi
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x497610
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
lea ebx, [ebx]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x497660
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret

Function at 0x49b330
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x6d65f8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x49b380
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
push fcn.00445e40
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret
Function at 0x49b6b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbe1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [esi + 0x14], 0
lea edi, [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [edi], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.0049c090
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 0
call fcn.0049af50
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x49b7b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x618bd8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00437490
mov eax, dword [ebp - 0x14]
test al, 1
je 0x49b7b4
cmp eax, 1
jne 0x49b830
cmp dword [ebp - 0x1c], 0
setne al
test al, al
jne 0x49b830
cmp byte [ebp + 0x10], 0
je 0x49b81b
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0xc
call fcn.005838a8
mov edi, eax
add esp, 4
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 7
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.005838a8
push eax
mov ecx, edi
mov dword [ebp + 8], eax
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], esi
call fcn.0049b3a0
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x49b818
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.00583877
add esp, 8
mov dword [esi + 0x60], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, str.iocp
lea ecx, [ebp - 0x1c]
call fcn.004383f0
int3
Function at 0x49c360
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, ecx
mov ebx, edx
cmp edi, 0xffffffff
je 0x49c4a1
cmp byte [esp + 0x1c], 0
je 0x49c3bb
mov al, byte [ebx]
test al, 8
je 0x49c3bb
or al, 8
xor ecx, ecx
push 4
mov byte [ebx], al
lea eax, [esp + 0xc]
push eax
push 0x80
push 0xffff
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [esp + 0xc]
setne dl
call fcn.0049c2c0
push ebp
push esi
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebp, dword [esp + 0x28]
mov esi, eax
test esi, esi
mov ecx, ebp
setne dl
call fcn.0049c2c0
test esi, esi
je 0x49c497
mov ecx, dword [0x618be0]
mov eax, dword [0x618be4]
cmp ecx, 0x257edfd1
jne 0x49c3f8
cmp eax, 0xb2ab117a
je 0x49c407
cmp ecx, 0x257edfd0
jne 0x49c40b
cmp eax, 0xb2ab117a
jne 0x49c40b
mov al, 1
jmp 0x49c41f
mov eax, dword [0x618bd8]
mov ecx, 0x618bd8
push 0x2733
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
lea edx, [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], 0x2733
mov ecx, ebp
mov dword [esp + 0x18], 0x618bd8
mov dword [esp + 0x1c], eax
call fcn.0049ab20
test al, al
jne 0x49c466
push ecx
push 0x4d5
lea ecx, [esp + 0x1c]
call fcn.004a1ce0
lea edx, [esp + 0x14]
mov ecx, ebp
call fcn.0049ab20
test al, al
je 0x49c497
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [ebx], 0xfc
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
mov ecx, ebp
test esi, esi
setne dl
call fcn.0049c2c0
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x10
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x49c770
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x38]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebp, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x618bd8
push eax
lea ecx, [esp + 0x20]
call fcn.00437490
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], 0x1ffff7
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov edi, eax
mov dword [esi + 8], eax
cmp edi, 1
je 0x49c7e1
mov eax, dword [esi]
mov ecx, eax
jmp 0x49c7f4
mov eax, dword [esi + 4]
xor edx, edx
div dword [esp + 0x28]
mov ecx, dword [esi]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x40
jne 0x49c855
mov ecx, dword [0x618be0]
mov eax, dword [0x618be4]
cmp ecx, 0x257edfd1
jne 0x49c813
cmp eax, 0xb2ab117a
je 0x49c822
cmp ecx, 0x257edfd0
jne 0x49c826
cmp eax, 0xb2ab117a
jne 0x49c826
mov al, 1
jmp 0x49c83a
mov eax, dword [0x618bd8]
mov ecx, 0x618bd8
push 0x2746
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esi], 0x2746
add eax, 2
mov dword [esi + 4], 0x618bd8
mov dword [esi + 8], eax
jmp 0x49c911
cmp edi, 1
je 0x49c85e
mov eax, ecx
jmp 0x49c86f
mov eax, dword [esi + 4]
xor edx, edx
div dword [esp + 0x28]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x4d2
jne 0x49c8cf
mov ecx, dword [0x618be0]
mov eax, dword [0x618be4]
cmp ecx, 0x257edfd1
jne 0x49c890
cmp eax, 0xb2ab117a
je 0x49c89f
cmp ecx, 0x257edfd0
jne 0x49c8a3
cmp eax, 0xb2ab117a
jne 0x49c8a3
mov al, 1
jmp 0x49c8b7
mov eax, dword [0x618bd8]
mov ecx, 0x618bd8
push 0x274d
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
mov dword [esi], 0x274d
add eax, 2
mov dword [esi + 4], 0x618bd8
mov dword [esi + 8], eax
jmp 0x49c911
cmp edi, 1
je 0x49c8d8
mov eax, ecx
jmp 0x49c8e9
mov eax, dword [esi + 4]
xor edx, edx
div dword [esp + 0x28]
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x2738
je 0x49c920
cmp edi, 1
jne 0x49c909
mov eax, dword [esi + 4]
xor edx, edx
mov edi, 0x1ffff7
div edi
imul eax, edx, 0x3e8
add ecx, eax
cmp ecx, 0xea
je 0x49c920
test ebp, ebp
je 0x49c920
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 8]
test eax, eax
jne 0x49c92e
mov edi, 0x618bd8
jmp 0x49c93b
mov edi, 0x618bc0
cmp eax, 1
je 0x49c93b
mov edi, dword [esi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
cmp ecx, 0x257edfd1
jne 0x49c950
cmp eax, 0xb2ab117a
je 0x49c95f
cmp ecx, 0x257edfd0
jne 0x49c963
cmp eax, 0xb2ab117a
jne 0x49c963
xor al, al
jmp 0x49c96e
mov eax, dword [edi]
mov ecx, edi
push 0
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0
movzx eax, al
mov dword [esi + 4], edi
add eax, 2
pop edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x49cc60
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x24]
push edi
push 0
push 0
push 0
push eax
push dword [esp + 0x30]
mov dword [esp + 0x3c], 0
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x618bd8
push eax
lea ecx, [esp + 0x18]
call fcn.00437490
mov ebp, 0x1ffff7
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [esi + 8], eax
cmp ecx, 1
je 0x49ccc3
mov eax, dword [esi]
mov edi, eax
jmp 0x49ccd4
mov eax, dword [esi + 4]
xor edx, edx
div ebp
mov edi, dword [esi]
imul eax, edx, 0x3e8
add eax, edi
cmp eax, 0x40
jne 0x49cd28
mov ecx, dword [0x618be0]
mov eax, dword [0x618be4]
cmp ecx, 0x257edfd1
jne 0x49ccf3
cmp eax, 0xb2ab117a
je 0x49cd02
cmp ecx, 0x257edfd0
jne 0x49cd0c
cmp eax, 0xb2ab117a
jne 0x49cd0c
mov al, 1
mov dword [esi], 0x2746
jmp 0x49cd8b
mov eax, dword [0x618bd8]
mov ecx, 0x618bd8
push 0x2746
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2746
jmp 0x49cd8b
cmp ecx, 1
jne 0x49cd3c
mov eax, dword [esi + 4]
xor edx, edx
div ebp
imul eax, edx, 0x3e8
add edi, eax
cmp edi, 0x4d2
jne 0x49cd9b
mov ecx, dword [0x618be0]
mov eax, dword [0x618be4]
cmp ecx, 0x257edfd1
jne 0x49cd5e
cmp eax, 0xb2ab117a
je 0x49cd6d
cmp ecx, 0x257edfd0
jne 0x49cd71
cmp eax, 0xb2ab117a
jne 0x49cd71
mov al, 1
jmp 0x49cd85
mov eax, dword [0x618bd8]
mov ecx, 0x618bd8
push 0x274d
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x274d
movzx ecx, al
add ecx, 2
mov dword [esi + 4], 0x618bd8
mov dword [esi + 8], ecx
test ebx, ebx
je 0x49cdaa
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
test ecx, ecx
jne 0x49cdb5
mov edi, 0x618bd8
jmp 0x49cdc2
mov edi, 0x618bc0
cmp ecx, 1
je 0x49cdc2
mov edi, dword [esi + 4]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
cmp ecx, 0x257edfd1
jne 0x49cdd7
cmp eax, 0xb2ab117a
je 0x49cde6
cmp ecx, 0x257edfd0
jne 0x49cdea
cmp eax, 0xb2ab117a
jne 0x49cdea
xor al, al
jmp 0x49cdf5
mov eax, dword [edi]
mov ecx, edi
push 0
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0
movzx eax, al
mov dword [esi + 4], edi
add eax, 2
pop edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4a0740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b43f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov edi, ecx
mov dword [edi], vtable.DialogSims.0
call fcn.005201a0
mov ecx, dword [edi + 0xa8]
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
call fcn.005403c0
push eax
push 2
lea eax, [esi + 0x268]
push eax
call fcn.0044c7c0
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x4a07c4
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a07ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a08dc
push ecx
push edx
call fcn.00583877
add esp, 8
call fcn.005201a0
mov ecx, eax
call fcn.00520ac0
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREAeroAdmin
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4a082b
mov ecx, dword [ebp - 0x20]
movzx eax, word [ebp - 0x24]
push 4
shl ecx, 0x10
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x5ed23c
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi + 0xbc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [edi + 0xdc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [0x6c5543], 0
test eax, eax
je 0x4a085a
push eax
call esi
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x4a0867
push eax
call esi
mov ecx, dword [edi + 0xd4]
cmp ecx, 0x10
jb 0x4a089d
mov eax, dword [edi + 0xc0]
inc ecx
cmp ecx, 0x1000
jb 0x4a0893
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a08dc
mov eax, edx
push ecx
push eax
call fcn.00583877
add esp, 8
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0xf
mov byte [edi + 0xc0], 0
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4a08c5
push eax
call esi
mov ecx, edi
call fcn.0053dd10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00591c98
int3
Function at 0x4a22f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bc525
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, dword [ecx + 0xc]
push 0
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x4a2335
mov ecx, esi
call fcn.0049bbc0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push eax
call fcn.005b30bd
add esp, 4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov ecx, esi
mov dword [ebp - 4], 0
push dword [0x6d6a90]
neg ecx
lea eax, [esi + 0x14]
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x6d6a90]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esi
call fcn.0049bc40
test eax, eax
je 0x4a23f4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esi
call fcn.0049bc40
test eax, eax
jne 0x4a23e0
push dword [ebp - 0x10]
push dword [0x6d6a90]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x58]
test eax, eax
je 0x4a2416
push eax
call fcn.00583872
add esp, 4
inc esi
cmp esi, 0xa
jl 0x4a2405
lea eax, [ebp - 0x2c]
push eax
call fcn.005b31a8
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret