joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455a90
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6836
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x61f138]
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
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x455b62
sub esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00443510
mov edx, str._hSCManager2
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xc8]
call fcn.00449a40
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004433d0
push 0x263
mov edx, str.service.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x455b50
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455b46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455c47
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.0043aef0
xor al, al
jmp 0x455c2b
push 0x10
push str.AeroadminService
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x455c0c
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.00443510
mov edx, str._hService2
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.00449a40
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x188]
call fcn.004433d0
push 0x26a
mov edx, str.service.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x455bf6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455c4c
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x188]
call fcn.0043aef0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x455c2b
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
cmp edi, 1
sete al
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.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
call fcn.00591dc6
int3
Function at 0x455e90
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b68c3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x14], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x455f93
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
lea ecx, [ebp - 0xe8]
mov esi, eax
call fcn.00443510
push esi
push ecx
mov edx, str.IsRunAsAdmin_error
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00449a40
add esp, 4
mov ecx, eax
call fcn.00456240
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004433d0
push 0x2ab
mov edx, str.service.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 0x10
jb 0x455f86
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455f7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455fe5
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.0043aef0
jmp 0x455fae
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x455fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x455fbc
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test esi, esi
je 0x455fc4
xor al, al
jmp 0x455fcb
cmp dword [ebp - 0x38], 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3
Function at 0x455ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6911
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x45603e
xor al, al
jmp 0x456211
push 0x38
lea eax, [ebp - 0x284]
mov dword [ebp - 0x288], 0x3c
push 0
push eax
call fcn.00586880
add esp, 0xc
mov dword [ebp - 0x27c], str.runas
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x21c], 7
push 2
push 0x5ed2c4
mov word [ebp - 0x230], ax
call fcn.00445cb0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4560b1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.00448340
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x280], 0
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x288]
push eax
mov dword [ebp - 0x26c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
lea ecx, [ebp - 0x338]
sete bl
sub esp, 8
mov byte [ebp - 0x24c], bl
call fcn.00442390
mov edx, str.RestartAsAdmin:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x328]
call fcn.00449e10
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x456134
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0044d4b0
add esp, 4
mov edx, str.__res_
push dword [ebp - 0x24c]
push ecx
mov ecx, eax
call fcn.00449e10
add esp, 4
mov ecx, eax
call fcn.00451f00
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x320]
call fcn.004466f0
push 0x2da
mov edx, str.service.cpp
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004c37b0
mov edx, dword [ebp - 0x234]
add esp, 4
cmp edx, 8
jb 0x4561c8
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4561be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45622c
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x338]
call fcn.0043ae30
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x45620f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456205
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456231
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
call fcn.00591dc6
int3
Function at 0x456620
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6996
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 5
mov dword [ebp - 0x33c], 0
mov esi, str.Adding_app_to_firewall
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
push 0xe9
lea eax, [ebp - 0xf9]
push 0
movsw word es:[edi], word [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00586880
add esp, 0xc
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
cmp edi, 0x80010106
je 0x45669e
test edi, edi
js 0x456755
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0
push eax
push 0x5ed364
push 1
push 0
push 0x5ed354
mov dword [ebp - 0x334], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x456701
mov eax, dword [ebp - 0x338]
lea edx, [ebp - 0x334]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x456701
mov eax, dword [ebp - 0x334]
lea edx, [ebp - 0x33c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
mov ecx, dword [ebp - 0x334]
test ecx, ecx
je 0x456711
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x338]
test ecx, ecx
je 0x456721
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
js 0x456755
push 0x104
lea eax, [ebp - 0x318]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
mov ecx, dword [ebp - 0x33c]
lea edx, [ebp - 0x318]
call fcn.00456490
add esp, 4
sub esp, 8
lea ecx, [ebp - 0x3f0]
call fcn.00443510
lea edx, [ebp - 0x110]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3e0]
call fcn.00449a40
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x3f0]
call fcn.004433d0
push 0x166
mov edx, str.firewallwin.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x31c]
cmp edx, 0x10
jb 0x4567df
mov ecx, dword [ebp - 0x330]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4567d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456841
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0043aef0
mov ecx, dword [ebp - 0x33c]
test ecx, ecx
je 0x45681c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test edi, edi
js 0x456826
call dword [sym.imp.ole32.dll_CoUninitialize]
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.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3
Function at 0x456a10
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6a00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push 7
xor eax, eax
mov dword [ebp - 0x34], 0
push str.Global_
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00445cb0
mov ecx, edi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456a70
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.00448340
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi], eax
test eax, eax
jne 0x456bbc
push 6
push str.Local_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00445cb0
mov ecx, edi
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456ad2
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00448340
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edx, dword [ebp - 0x18]
mov dword [esi], eax
test eax, eax
jne 0x456b83
cmp edx, 8
jb 0x456b44
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456b3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c34
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x456c15
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456c0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c39
jmp 0x456c0b
cmp edx, 8
jb 0x456bbc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456bb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c3e
push edx
push ecx
call fcn.0056eec5
mov eax, dword [esi]
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 4
push 0
push 0
push 0xf001f
push eax
call edi
test eax, eax
je 0x456b44
mov ecx, dword [eax]
push eax
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 8]
add eax, 4
push eax
push 0
push 0
push 0xf001f
push dword [esi]
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x456b44
lea esi, [eax + 4]
jmp 0x456b46
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 4
call fcn.00591dc6
call fcn.00591dc6
call fcn.00591dc6
int3
Function at 0x466750
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8276
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
imul eax, dword [ebp + 8], 0x3e8
push 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x1006
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x46684a
sub esp, 8
lea ecx, [ebp - 0xe4]
call fcn.00443510
mov dword [ebp - 4], 0
mov edx, str.TCP_recv_setsockopt_error:_SO_RCVTIMEO
push dword [esi + 4]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00449a40
add esp, 4
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004433d0
push 0xc
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x466838
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46682e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466919
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0xffffffff
call fcn.0043aef0
push 4
lea eax, [ebp - 0x30]
push eax
push 0x1005
push 0xffff
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4668fd
sub esp, 8
lea ecx, [ebp - 0x194]
call fcn.00443510
mov dword [ebp - 4], 2
mov edx, str.TCP_snd_setsockopt_error:_SO_SNDTIMEO
push dword [esi + 4]
push ecx
lea ecx, [ebp - 0x184]
call fcn.00449a40
add esp, 4
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x194]
call fcn.004433d0
push 0x10
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x4668f2
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4668e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46691e
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x194]
call fcn.0043aef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret 4
call fcn.00591dc6
call fcn.00591dc6
int3
Function at 0x4673a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8416
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x46748a
sub esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00443510
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push dword [esi + 4]
mov edx, str.the_connection_has_been_gracefully_closed
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004433d0
push 0x94
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x467474
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46746a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467575
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.0043aef0
mov byte [esi + 0xa], 1
xor eax, eax
jmp 0x467558
cmp eax, 0xffffffff
jne 0x467555
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x467551
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.00443510
mov dword [ebp - 4], 2
push dword [esi + 4]
call edi
push eax
mov edx, str.client_socket_error..shutdown_with_WSAGetLastError__
lea ecx, [ebp - 0x178]
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
mov edx, str._socket
mov ecx, eax
call fcn.00449a40
mov ecx, eax
call fcn.00443c10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x188]
call fcn.004433d0
push 0x99
mov edx, str.messagechannel.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x467542
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x467538
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46757a
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x188]
call fcn.0043aef0
mov byte [esi + 9], 1
xor eax, eax
jmp 0x467558
add dword [esi + 0x34], edi
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.0056eeb4
mov esp, ebp
pop ebp
ret 8
call fcn.00591dc6
call fcn.00591dc6
int3
Function at 0x467954
Capabilities:
Get socket status

Disassembly:
sub esp, 0x110
mov eax, dword [0x61f138]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x4679b2
mov eax, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push ecx
push 0
inc eax
mov dword [esp + 0x1c], 1
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x4679ae
xor al, al
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0056eeb4
add esp, 0x110
ret
mov byte [esi + 8], 1
mov ecx, dword [esp + 0x110]
mov al, 1
pop esi
xor ecx, esp
call fcn.0056eeb4
add esp, 0x110
ret
Function at 0x472ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4720
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
sbb edx, edx
and edx, 0xfffffffc
mov edx, dword [edx + esi + 0x30]
call fcn.00466260
push ecx
call fcn.00591b7a
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
sbb edx, edx
and edx, 0xfffffffc
mov edx, dword [edx + esi + 0x20]
call fcn.00466260
push ecx
call fcn.00591b7a
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x472d16
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x472d27
push 0x40
push esi
call fcn.0056eec5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x472d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b91f0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], 0
push 0x40
mov dword [ebp - 0x10], 0x48
call fcn.0056eed3
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
push 0x40
mov dword [ebp - 4], 0
call fcn.0056eed3
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], vtable.CryptoPP::Grouper.1.0
mov dword [edi + 4], vtable.CryptoPP::Grouper.0
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 8
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x472e0e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0xc], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], vtable.CryptoPP::BaseN_Encoder.0
mov dword [esi + 4], vtable.CryptoPP::BaseN_Encoder.1.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x472e87
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp + 8]
mov ecx, ebx
mov dword [esi + 0xc], edi
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00472140
mov dword [ebp - 4], 0xe
mov dword [ebx], vtable.CryptoPP::Base64Encoder.0
mov dword [ebx + 4], vtable.CryptoPP::Base64Encoder.1.0
mov dword [ebp - 0x30], vtable.CryptoPP::AlgorithmParameters.0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 1
push 0x14
mov byte [ebp - 4], 0x10
call fcn.0056eed3
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [esi + 4], str.InsertLineBreaks
mov word [esi + 8], 1
mov dword [esi + 0xc], 0
mov dword [esi], vtable.CryptoPP::AlgorithmParametersTemplate_bool_.0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x472f0e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], 0
mov dword [ebp - 0x24], vtable.CryptoPP::AlgorithmParameters.0
mov byte [ebp - 0x1c], 1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 1
push 1
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xf
push eax
push str.MaxLineLength
lea ecx, [ebp - 0x24]
call fcn.00476200
push eax
mov ecx, ebx
call fcn.004f08d0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x472f5a
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc