joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4263d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499f26
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push dword [ecx + 4]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x27c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x268], eax
call fcn.0043a160
push 0x4b4138
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 0
call fcn.0043a160
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x278]
sub ecx, eax
mov edx, dword [ebp - 0x288]
sub eax, 2
push dword [ebp - 0x268]
sar ecx, 1
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x284]
sub eax, edx
sar eax, 1
dec eax
lea eax, [edx + eax*2]
push eax
push edx
push ecx
lea ecx, [ebp - 0x278]
call fcn.00421b10
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0
call fcn.0043a210
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push 1
call edi
mov esi, eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov dword [ebp - 0x264], eax
call edi
cmp dword [ebp - 0x264], 0xffffffff
jne 0x4264c0
xor bl, bl
jmp 0x42659a
mov edi, dword [ebp - 0x26c]
mov esi, edi
nop dword [eax + eax]
mov ecx, 0x4b4140
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426506
test dx, dx
je 0x426502
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426506
add eax, 4
add ecx, 4
test dx, dx
jne 0x4264e0
xor eax, eax
jmp 0x42650b
sbb eax, eax
or eax, 1
test eax, eax
je 0x426565
mov eax, 0x4b148c
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x426546
test dx, dx
je 0x426542
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x426546
add ecx, 4
add eax, 4
test dx, dx
jne 0x426520
xor eax, eax
jmp 0x42654b
sbb eax, eax
or eax, 1
test eax, eax
je 0x426565
test edi, edi
je 0x426561
mov eax, dword [esi]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, esi
call dword [eax + 4]
inc ebx
add esi, 0x10
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4264d0
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x426598
mov eax, dword [ebp - 0x268]
mov dword [eax], ebx
mov bl, 1
mov edx, dword [ebp - 0x278]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
test edx, edx
je 0x4265dd
mov ecx, dword [ebp - 0x270]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4265d3
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4265fd
push ecx
push edx
call fcn.00471b16
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b05
mov esp, ebp
pop ebp
ret 8
call fcn.0047da31
int3
Function at 0x426610
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x204]
mov esi, edx
push eax
mov ebx, ecx
mov dword [ebp - 0x214], esi
push 0xff
mov dword [ebp - 0x210], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x42665d
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471b05
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
cmp word [ebp - 0x204], ax
je 0x4266fe
push edi
lea edi, [ebp - 0x204]
mov esi, ebx
push edi
call fcn.0047eec6
mov ebx, eax
push 0x5c
push ebx
call fcn.0047336d
add esp, 0xc
test eax, eax
je 0x42669d
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x210], 0
je 0x4266ae
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 4]
push ebx
call fcn.0047d75a
push 0x4b4144
push edi
call fcn.0047ef25
mov ecx, dword [ebp - 0x208]
lea edi, [ebp - 0x204]
inc ecx
add esp, 0xc
add ecx, eax
add esi, 0x10
mov eax, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x208], ecx
cmp word [edi + ecx*2], 0
lea edi, [edi + ecx*2]
mov dword [ebp - 0x20c], eax
jne 0x426681
mov ebx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x214]
pop edi
test ebx, ebx
jne 0x426704
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00471b05
mov esp, ebp
pop ebp
ret
Function at 0x428100
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a150
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
call eax
test al, al
jne 0x4282a0
mov edi, dword [esi + 0x3c]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x428146
mov eax, edi
jmp 0x42814b
call fcn.0042d790
cmp dword [eax + 4], 0
jne 0x42819f
lea ecx, [ebp - 0x40]
call fcn.0043a0d0
mov dword [ebp - 4], 0
mov ecx, str.file
test byte [edi + 0x20], 1
mov eax, 0x4b41c8
cmove eax, ecx
push eax
push dword [esi + 0x74]
lea eax, [ebp - 0x40]
push str.Downloading__s__s
push eax
call fcn.0043a670
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x3c]
call fcn.0042c570
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a210
test byte [edi + 0x20], 1
je 0x42828c
push dword [esi + 0x74]
lea ecx, [ebp - 0x30]
call fcn.00425f10
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.004261a0
test al, al
je 0x4281d7
lea ecx, [ebp - 0x30]
call fcn.00426220
test al, al
jne 0x428264
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x428264
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.004217f0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push dword [esi + 0x74]
push str.Error:_failed_to_create_local_folder__s
push eax
call fcn.0043a670
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0042c4d0
mov ecx, esi
call fcn.00428490
lea ecx, [ebp - 0x20]
call fcn.0043a210
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a210
jmp 0x428293
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x10], al
push dword [ebp - 0x10]
push dword [esi + 0x64]
call fcn.0042dab0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a210
jmp 0x428293
mov ecx, esi
call fcn.004282c0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x44]
call eax
test al, al
je 0x4282a7
mov ecx, esi
call fcn.004288e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c9e0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a7f4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], vtable.FileTransferEventAdapter.0
lea eax, [ebx + 8]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 4], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
mov dword [ebx + 4], vtable.SafeVector_class_OperationEventListener__.0
mov dword [ebx], vtable.FileTransferOperation.0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x38], 0
lea esi, [ebx + 0x3c]
mov dword [ebp - 4], 0
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x43a050
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [esi], vtable.LocalFilesDeleteOperation.0
lea edi, [ebx + 0x4c]
mov dword [ebx], vtable.LocalFilesDeleteOperation.1.0
lea esi, [edi + 4]
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004217f0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473660
add esp, 0xc
lea eax, [ebx + 0x5c]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ebx, dword [ebp + 0x10]
mov ecx, eax
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.00427310
test ebx, ebx
je 0x42cb5d
mov eax, dword [ebp + 0xc]
mov edi, 0xfffffff0
sub edi, eax
lea esi, [eax + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [edi + esi]
add ecx, dword [eax]
mov eax, dword [esi - 0x10]
mov dword [ecx], eax
mov eax, dword [esi - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esi - 8]
mov dword [ecx + 8], eax
mov eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov ax, word [esi]
mov word [ecx + 0x10], ax
add ecx, 0x14
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [esi + 0x28]
sub ebx, 1
jne 0x42cb21
mov edi, dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0x14]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42cc60
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0042c3d0
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0x48], al
pop esi
ret
Function at 0x42eab0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 0xe
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
lea ecx, [ebp - 0x18]
lea esi, [eax + 1]
push esi
call fcn.00425dc0
push esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x42eb43
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42eb39
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eb56
push ecx
push esi
call fcn.00471b16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0047da31
int3
Function at 0x4363a0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
pop esi
ret

Function at 0x436440
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x1ac], eax
cmp byte [0x4d01d8], 0
jne 0x436490
lea eax, [esp + 0x18]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4364b1
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
mov byte [0x4d01d8], 1
call fcn.00471b05
mov esp, ebp
pop ebp
ret
lea eax, [esp + 4]
push str.WindowsSocket_already_initialized.
push eax
call fcn.0043a760
add esp, 8
lea eax, [esp + 4]
push 0x4ca0b8
push eax
call fcn.004735ed
lea eax, [esp + 4]
push 0x4b5eb8
push eax
call fcn.0043a760
add esp, 8
lea eax, [esp + 4]
push 0x4ca0b8
push eax
call fcn.004735ed
int3

Function at 0x4364e0
Capabilities:
Access peb ldr_data
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b1e6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
sub esp, 8
mov dword [esi], vtable.SocketIPv4.0
lea ecx, [esi + 4]
call fcn.0044fd00
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
mov dword [esi + 8], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 6
mov byte [ebp - 4], 1
push 1
push 2
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 0
cmp eax, 0xffffffff
je 0x436574
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
call fcn.00436e30
push 0x4ca2b4
lea eax, [ebp - 0x28]
push eax
call fcn.004735ed
int3
Function at 0x436720
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b227
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
mov eax, 2
mov word [ebp - 0x20], ax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
movzx eax, word [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43681e
mov eax, dword [edi + 8]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x30], vtable.AutoLock.0
mov dword [ebp - 0x2c], esi
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edi, dword [edi + 0x30]
test edi, edi
je 0x4367c8
mov dword [edi], vtable.WsaStartup.0
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0xc
push edi
call fcn.00471b16
add esp, 8
push 0xc
call fcn.00471fe1
mov dword [ebp - 0x28], eax
sub esp, 0xc
mov byte [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
mov edx, esp
mov ecx, eax
movups xmmword [edx], xmm0
call fcn.00436c00
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x30], eax
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b05
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x48]
call fcn.00436e30
push 0x4ca2b4
lea eax, [ebp - 0x48]
push eax
call fcn.004735ed
int3
Function at 0x436970
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b2c5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x24]
push eax
call fcn.00436ad0
mov edi, eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x38], edi
call fcn.00471fe1
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004364e0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], vtable.AutoLock.0
lea ecx, [esi + 8]
mov byte [esi + 0x28], 1
mov eax, dword [ecx]
mov dword [ebp - 0x40], ecx
call dword [eax + 4]
mov dword [ebp - 4], 3
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 0x38]
mov dword [esi + 0x24], edi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x436a3f
push 0xc
call fcn.00471fe1
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov byte [ebp - 4], 4
movups xmm0, xmmword [ebp - 0x34]
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, eax
call fcn.00436c00
mov byte [ebp - 4], 3
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x436a76
push 0xc
call fcn.00471fe1
mov dword [ebp - 0x3c], eax
sub esp, 0xc
mov byte [ebp - 4], 5
movups xmm0, xmmword [ebp - 0x34]
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, eax
call fcn.00436c00
mov dword [esi + 0x30], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 6
mov edx, dword [ecx]
call dword [edx + 8]
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 - 0x14]
xor ecx, ebp
call fcn.00471b05
mov esp, ebp
pop ebp
ret
Function at 0x436ad0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x4cc06c]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_select]
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x30d40
nop word [eax + eax]
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], eax
push ecx
inc eax
mov dword [esp + 0x48], 1
push eax
call ebx
cmp byte [esi + 0x28], 0
jne 0x436ba4
cmp eax, 0xffffffff
je 0x436ba4
test eax, eax
jle 0x436b20
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x24]
call edi
test eax, eax
je 0x436b20
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, 0xffffffff
je 0x436b8c
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00471b05
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
call fcn.00436e30
push 0x4ca2b4
lea eax, [esp + 0x24]
push eax
call fcn.004735ed
lea ecx, [esp + 0x20]
call fcn.00436e30
push 0x4ca2b4
lea eax, [esp + 0x24]
push eax
call fcn.004735ed
int3

Function at 0x436d20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b381
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.0044fd00
xor eax, eax
mov dword [edi + 8], 0
mov word [edi + 4], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
push esi
mov dword [ebp - 0x14], 1
call fcn.0043a160
mov dword [ebp - 4], 1
mov ecx, 0x4cd5a4
mov eax, dword [vtable.LocalMutex.0]
mov dword [ebp - 0x20], vtable.AutoLock.0
mov dword [ebp - 0x1c], 0x4cd5a4
call dword [eax + 4]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.0043b3f0
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x436e13
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
lea ecx, [ebp - 0x30]
mov dword [edi + 8], eax
call fcn.0043b4a0
mov byte [ebp - 4], 4
mov ecx, 0x4cd5a4
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov ax, word [ebp + 8]
lea ecx, [ebp - 0x40]
mov word [edi + 4], ax
call fcn.0043a210
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x58]
call fcn.00436e30
push 0x4ca2b4
lea eax, [ebp - 0x58]
push eax
call fcn.004735ed
int3
Function at 0x43e230
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49be58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x14]
push str.Starting_remote_viewer_core...
push ebx
call fcn.004319b0
add esp, 8
cmp dword [ebp + 8], 0
je 0x43e33e
mov eax, dword [esi + 0x374]
lea edi, [esi + 0x374]
mov ecx, edi
mov dword [ebp - 0x14], vtable.AutoLock.0
mov dword [ebp - 0x10], edi
call dword [eax + 4]
mov dword [ebp - 4], 0
cmp byte [esi + 0x390], 0
jne 0x43e35d
mov byte [esi + 0x390], 1
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov al, byte [ebp + 0xc]
lea ecx, [esi + 0x1f0]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x4c5], al
mov dword [esi + 0x7c], edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x1ec], edi
mov eax, dword [esi + 0x210]
test eax, eax
je 0x43e2f1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esi + 0x1f0]
mov dword [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
push str.Remote_viewer_core_is_started
setne al
push ebx
mov byte [esi + 0x10], al
call fcn.004319e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x28]
push str.Remote_viewer_core_is_not_started:_adapter_is_0
push eax
call fcn.0043a760
add esp, 8
lea eax, [ebp - 0x28]
push 0x4ca0b8
push eax
call fcn.004735ed
lea eax, [ebp - 0x3c]
push str.Remote_viewer_core_is_already_started
push eax
call fcn.0043a760
add esp, 8
lea eax, [ebp - 0x3c]
push 0x4ca0b8
push eax
call fcn.004735ed
int3
Function at 0x4482b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x43a050
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 4], eax
lea eax, [edi + 0x18]
mov dword [edi], vtable.UpdateRequestSender.0
mov byte [edi + 0x10], 0
push eax
mov dword [edi + 0x14], vtable.LocalMutex.0
call esi
lea eax, [edi + 0x38]
mov dword [edi + 0x30], 0
push eax
mov dword [edi + 0x34], vtable.LocalMutex.0
call esi
lea eax, [edi + 0x58]
mov byte [edi + 0x50], 1
push eax
mov dword [edi + 0x54], vtable.LocalMutex.0
call esi
mov eax, dword [ebp + 8]
mov dword [edi + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x84]
mov dword [edi + 0x7c], 0
push eax
mov dword [edi + 0x80], vtable.LocalMutex.0
call esi
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x448480
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497bb0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x80]
lea ecx, [edi + 0x80]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [edi + 0x7c], eax
mov dword [ebp - 4], 0
lea ecx, [edi + 0x80]
mov eax, dword [edi + 0x80]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
push 0x4b9fc0
push dword [edi + 0x78]
setne al
mov byte [edi + 0xc], al
call fcn.004319e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x44c030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49af58
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x14]
mov ecx, edi
mov dword [ebp - 0x14], vtable.AutoLock.0
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
push dword [esi + 0x10]
push dword [esi + 0xc]
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0x30]
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10