joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea3c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54c000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.ScCore.dll_protected:_void___thiscall_ScCore::LiveComponent::constructor_void_]
xor ebx, ebx
lea edi, [esi + 0x14]
mov dword [ebp - 4], ebx
push 0x509eb8
mov ecx, edi
mov dword [esi], vtable.QeComponent.0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::LivePropertyManager::constructor_struct_ScCore::LivePropertyInfo_const__]
xor eax, eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov word [esi + 0x34], ax
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 3
push 0xc
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], ebx
mov dword [esi + 0xc], edi
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
cmp edi, ebx
je 0x4289dd
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::FileSpec::constructor_void_]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::File::constructor_class_ScCore::FileSpec_const__]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::FileSpec::destructor_void_]
mov dword [edi], vtable.ConsoleFile.0
jmp 0x4289df
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x40], edi
push 0x48
mov dword [edi + 8], ecx
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x428a0a
push eax
call fcn.00427e00
mov ebx, eax
push 0x10000
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.ScCore.dll_public:_static_int___cdecl_ScCore::LiveObject::addFactory_class_ScCore::LiveObject___int_]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
add esp, 8
mov ecx, ebx
call eax
mov eax, esi
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
Function at 0x42ae90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb525
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54c000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, 1
push ebx
push 0x511fc8
mov ecx, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::LiveObject::constructor_char_const___bool_]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [esi + 0x28], eax
or eax, 0xffffffff
lea edi, [esi + 0x14]
mov dword [esi], vtable.CDI::Job.0
mov dword [edi], vtable.CDI::Job.1.0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
call dword [sym.imp.ScCore.dll_public:_static_double___cdecl_ScCore::Time::getUTCTime_void_]
fstp qword [esi + 0x40]
lea ebx, [esi + 0x50]
push 0x509df8
mov ecx, ebx
mov dword [esi + 0x48], 0xea60
mov word [esi + 0x4c], 0
mov byte [esi + 0x4e], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::LivePropertyManager::constructor_struct_ScCore::LivePropertyInfo_const__]
mov byte [ebp - 4], 1
mov ecx, dword [0x54f6c8]
push 0x43457874
push edi
add ecx, 4
mov byte [esi + 0x5c], 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Broadcaster::addListener_class_ScCore::Listener___int_]
push 1
push esi
call fcn.0042ab00
add esp, 8
mov eax, esi
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
Function at 0x43dc20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7d46
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x54c000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 1
push str.Feature
mov ecx, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::LiveObject::constructor_char_const___bool_]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi], vtable.CDI::Feature.0
mov dword [esi + 0x14], vtable.CDI::Feature.1.0
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], 1
mov byte [esi + 0x34], al
mov dword [esi + 0x38], eax
lea edi, [esi + 0x3c]
push 0x508be8
mov ecx, edi
mov byte [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::LivePropertyManager::constructor_struct_ScCore::LivePropertyInfo_const__]
mov byte [esi + 0x48], 1
mov dword [esi + 0xc], edi
mov eax, esi
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 0x4414f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7ac4
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x54c000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 4]
mov dword [esi], vtable.SAF::TextView.0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::SimpleArray::constructor_void_]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Rect::constructor_void_]
fldz
mov eax, dword [ebp + 0x10]
fst qword [esi + 0x38]
mov cx, word [ebp + 0xc]
fst qword [esi + 0x30]
mov dl, byte [ebp + 0x14]
fst qword [esi + 0x28]
mov dword [esi + 0x40], eax
fstp qword [esi + 0x20]
mov eax, 4
mov word [esi + 0x56], ax
mov word [esi + 0x54], cx
mov byte [esi + 0x58], dl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], 0xff00ffff
mov word [esi + 0x48], 0x8080
mov eax, esi
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 0x442920
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x44297e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [esi + 4]
push 5
mov dword [edx + 0xc], eax
movsx eax, word [esi + 0x12]
movsx ecx, word [esi + 0x10]
mov edx, dword [esi + 4]
push 0
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push 5
push edx
call edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
pop edi
mov byte [ecx + 0x1a], 1
pop esi
ret
Function at 0x4429e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 1
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
xor ebx, ebx
push ebx
push ebx
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, 1
jne 0x442b2f
nop
mov eax, dword [esi + 4]
cmp byte [eax + 0x1a], bl
je 0x442adc
mov eax, dword [esp + 0x10]
cmp eax, 0x102
jne 0x442a4d
mov al, byte [esp + 0x14]
cmp al, 0x20
jge case.0x442a86.16
cbw
mov ecx, esi
call fcn.00442790
test al, al
je 0x442adc
mov dword [esp + 0x10], ebx
jmp 0x442b10
cmp eax, 0x104
jne 0x442a68
test dword [esp + 0x18], 0x20000000
jne case.0x442a86.16
mov eax, dword [esp + 0x14]
jmp 0x442a35
cmp eax, 0x100
jne 0x442ae0
mov eax, dword [esp + 0x14]
movzx edi, ax
cwde
add eax, 0xfffffff3
cmp eax, 0xe
ja case.0x442a86.14
movzx ecx, byte [eax + 0x442b48]
jmp dword [ecx*4 + 0x442b38]
movzx eax, word [esi + 0x14]
cmp ax, bx
je case.0x442a86.16
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov dword [esp + 0x10], ebx
jmp 0x442b10
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test al, al
je 0x442a44
call fcn.00442b70
mov dword [esp + 0x10], ebx
jmp 0x442b10
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x442ad5
neg edi
movzx edi, di
mov eax, edi
jmp 0x442a35
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x442b10
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xc]
push edx
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x442b10
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push 1
push ebx
push ebx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, 1
je 0x442a10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442a8d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 1
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
xor ebx, ebx
push ebx
push ebx
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, 1
jne 0x442b2f
nop
mov eax, dword [esi + 4]
cmp byte [eax + 0x1a], bl
je 0x442adc
mov eax, dword [esp + 0x10]
cmp eax, 0x102
jne 0x442a4d
mov al, byte [esp + 0x14]
cmp al, 0x20
jge case.0x442a86.16
cbw
mov ecx, esi
call fcn.00442790
test al, al
je 0x442adc
mov dword [esp + 0x10], ebx
jmp 0x442b10
cmp eax, 0x104
jne 0x442a68
test dword [esp + 0x18], 0x20000000
jne case.0x442a86.16
mov eax, dword [esp + 0x14]
jmp 0x442a35
cmp eax, 0x100
jne 0x442ae0
mov eax, dword [esp + 0x14]
movzx edi, ax
cwde
add eax, 0xfffffff3
cmp eax, 0xe
ja case.0x442a86.14
movzx ecx, byte [eax + 0x442b48]
jmp dword [ecx*4 + 0x442b38]
movzx eax, word [esi + 0x14]
cmp ax, bx
je case.0x442a86.16
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov dword [esp + 0x10], ebx
jmp 0x442b10
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test al, al
je 0x442a44
call fcn.00442b70
mov dword [esp + 0x10], ebx
jmp 0x442b10
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x442ad5
neg edi
movzx edi, di
mov eax, edi
jmp 0x442a35
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x442b10
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xc]
push edx
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x442b10
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push 1
push ebx
push ebx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, 1
je 0x442a10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x54c000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov byte [esi + 0x54], 0
mov byte [eax + 0x1a], 0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x442bec
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x14]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dx, word [ebp - 0x14]
mov ax, word [ebp - 0x10]
mov ecx, dword [esi + 4]
mov word [esi + 0x10], dx
mov word [esi + 0x12], ax
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x442bec
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c708b
mov esp, ebp
pop ebp
ret
Function at 0x446ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d54f2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54c000]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
call dword [sym.imp.ScCore.dll_public_virtual:_void___thiscall_ScCore::Array::destructor_void_]
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 1
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.ScCore.dll_public_virtual:_void___thiscall_ScCore::Root::destructor_void_]
test byte [esp + 0x1c], 1
je 0x44705b
push esi
call dword [sym.imp.ScCore.dll_public:_static_void___cdecl_ScCore::Heap::operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x461c85
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, dword [ebp + 0xc]
and dword [edi], 0
mov esi, ecx
call fcn.00461933
mov dword [ebp - 4], eax
test eax, eax
jne 0x461d58
push eax
call sub.MSVCR100.dll__time64
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x21c]
mov dword [ebp - 8], edx
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
pop ecx
fild qword [ebp - 0xc]
faddp st(1)
fstp qword [ebp - 0xc]
test eax, eax
jg 0x461cd2
fldz
fstp qword [ebp - 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
push ebx
push dword [eax + 0x110]
call dword [sym.imp.ScCore.dll_public:_char_const____thiscall_ScCore::String::encode_class_ScCore::Encoder_const__const]
mov dword [ebp + 0xc], eax
call dword [sym.imp.ScCore.dll_public:_static_int___cdecl_ScCore::String::getEncodedLength_void_]
mov ebx, eax
mov eax, dword [esi + 4]
push 0
push ebx
push dword [ebp + 0xc]
push dword [eax + 0x114]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x461d3e
add dword [edi], eax
add dword [ebp + 0xc], eax
sub ebx, eax
test ebx, ebx
jle 0x461d40
fld qword [ebp - 0xc]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x461d3e
push 0
call sub.MSVCR100.dll__time64
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
fild qword [ebp - 0x14]
pop ecx
fcomp qword [ebp - 0xc]
fnstsw ax
test ah, 5
jnp 0x461cf0
test ebx, ebx
pop ebx
je 0x461d58
fld qword [ebp - 0xc]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x461d58
mov dword [ebp - 4], 0x3a
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov edx, dword [ebx + 4]
mov eax, dword [edx + 8]
cmp dword [eax], 0
je 0x461d7b
xor al, al
jmp 0x461e21
call fcn.00461933
test eax, eax
je 0x461d8b
mov al, 1
jmp 0x461e21
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
push 2
push 1
lea eax, [ebp - 1]
push eax
push dword [edx + 0x114]
call esi
cmp eax, 0xffffffff
jne 0x461e09
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x461e16
mov eax, dword [ebx + 4]
push edi
mov edi, dword [eax + 0x21c]
test edi, edi
jg 0x461dc5
push 5
pop edi
imul edi, edi, 0x3e8
mov dword [ebp - 8], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
sub edi, eax
cmp eax, 0x1f4
jge 0x461dec
add eax, eax
mov dword [ebp - 8], eax
push 2
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [ebx + 4]
push dword [eax + 0x114]
call esi
test edi, edi
jle 0x461e08
cmp eax, 0xffffffff
je 0x461dd2
pop edi
test eax, eax
je 0x461e16
cmp eax, 0xffffffff
je 0x461e16
xor al, al
jmp 0x461e20
mov ecx, dword [ebx + 4]
call fcn.00461539
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x461e94
Capabilities:
Resolve dns

Disassembly:
push 0x28
mov eax, 0x4d95d3
call fcn.004c74e0
mov edi, ecx
call fcn.00461910
mov ecx, dword [edi + 4]
add ecx, 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::erase_void_]
mov eax, dword [edi + 4]
mov si, word [ebp + 8]
mov word [eax + 0x220], si
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 0xc
push eax
call dword [sym.imp.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::get_unsigned_short_int_const__]
pop ecx
mov ecx, dword [edi + 4]
mov dword [ecx + 0x110], eax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp dword [eax + 0x110], ebx
jne 0x461ef6
call dword [sym.imp.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getAscii_void_]
mov ecx, dword [edi + 4]
mov dword [ecx + 0x110], eax
push 0x20
lea eax, [ebp - 0x34]
push ebx
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
inc eax
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
movzx eax, si
push eax
lea eax, [ebp - 0x10]
push 0x4f427c
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ScCore.dll_public:_void___cdecl_ScCore::String::print_char_const__]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_char_const____thiscall_ScCore::String::encode_class_ScCore::Encoder_const__const]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x461ff4
mov esi, dword [ebp - 0x14]
jmp 0x461fec
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x461f6d
cmp eax, 0x17
jne 0x461fe9
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
setne byte [ebp + 0xb]
cmp byte [ebp + 0xb], 0
je 0x461fd6
push dword [esi + 0x10]
push dword [esi + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
setne byte [ebp + 0xb]
cmp byte [ebp + 0xb], 0
je 0x461fd6
push 5
push ebx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
setne byte [ebp + 0xb]
cmp byte [ebp + 0xb], 0
je 0x461fd6
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x218]
mov dword [eax + ecx*4 + 0x118], ebx
mov eax, dword [edi + 4]
inc dword [eax + 0x218]
jmp 0x461fe1
test ebx, ebx
je 0x461fe1
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp byte [ebp + 0xb], 0
je 0x461fff
xor ebx, ebx
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x461f5d
mov eax, dword [edi + 4]
cmp dword [eax + 0x218], ebx
jne 0x462009
push 0x34
pop ebx
mov ecx, edi
call fcn.00461910
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, ebx
call fcn.004c757f
ret 8
Function at 0x4622a6
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x54daf4], 0
push esi
mov esi, ecx
jne 0x4622bd
push 0x38
pop eax
jmp 0x462372
push edi
call fcn.00461910
mov ecx, dword [esi + 4]
add ecx, 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::erase_void_]
push dword [ebp + 8]
mov ecx, dword [esi + 4]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_class_ScCore::String_const__]
mov ecx, dword [esi + 4]
call fcn.00461671
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x46236a
push 0
push 1
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x114], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x114], 0xffffffff
jne 0x462315
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4622ec
mov eax, dword [eax + 0x114]
cmp eax, 0xffffffff
je 0x462355
push dword [edi + 0x10]
push dword [edi + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x46234d
mov eax, dword [esi + 4]
push dword [eax + 0x114]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 4]
or dword [eax + 0x114], 0xffffffff
jmp 0x462355
mov ecx, dword [esi + 4]
call fcn.004614fa
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [esi + 4]
cmp dword [eax + 0x114], 0xffffffff
jne 0x46236f
push 0x38
pop eax
jmp 0x462371
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x46388e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x54db28], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x4638d2
call ebx
test eax, eax
jns 0x4638c8
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x54db24], eax
mov dword [0x54db28], 1
mov eax, dword [0x54db24]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4638ee
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x46391e
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x463914
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x463909
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x46390e
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x46391d
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x46397a
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x54db1c], ebx
jne 0x4639c6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push ebx
push 1
push ebx
push ebx
mov edi, 0x54db1c
push edi
call esi
test eax, eax
jne 0x4639c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4639c4
push 8
push 1
push ebx
push ebx
push edi
call esi
test eax, eax
jne 0x4639c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x54db1c], ebx
pop edi
pop esi
mov eax, dword [0x54db1c]
pop ebx
ret

Function at 0x463ad2
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x4d9a5a
call fcn.004c7549
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call fcn.0044fa72
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 1
call fcn.0046397a
cmp eax, esi
jne 0x463b13
push 0xffffffffffffffff
push 0x5083d3
mov ecx, edi
call fcn.0044fae3
jmp 0x463b59
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0xffffffffffffffff
mov ecx, edi
push 0x5083d3
test eax, eax
je 0x463b0c
call fcn.0044fae3
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x4f5fb8
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0044fc69
add esp, 0x14
inc esi
cmp esi, 0x10
jb 0x463b32
mov eax, edi
call fcn.004c7593
ret