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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0bde
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x61df80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 9
mov ecx, dword [ebp - 0x10]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::StanzaExtension::constructor_int_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::DiscoNodeHandler::constructor_void_
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.gloox::Capabilities.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], vtable.gloox::Capabilities.1.0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x10], eax
push sym.GNTKProProxy.exe_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_gloox::GLOOX_CAPS_NODE
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00403140
mov byte [ebp - 4], 2
push str.sha_1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00403100
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004030d0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x68], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
je 0x4b24f8
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x68], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b27f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6204
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x61df80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.gloox::Capabilities.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], vtable.gloox::Capabilities.1.0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
je 0x4b2862
cmp dword [ebp - 0x10], 0
je 0x4b284c
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 0x14], eax
jmp 0x4b2853
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x10]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::Disco::removeNodeHandlers_class_gloox::DiscoNodeHandler__
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00403180
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00403180
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00403180
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sym.GNTKProProxy.exe_public_virtual:_void___thiscall_gloox::DiscoNodeHandler::destructor_void_
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call sym.GNTKProProxy.exe_public_virtual:_void___thiscall_gloox::StanzaExtension::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4bc4c0
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x7c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 4], 0
jne 0x4bc504
xor al, al
jmp 0x4bc6e3
mov dword [ebp - 0x5c], 0x9c11c
push 0x38
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004ce490
add esp, 0xc
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x38], 0xc0
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp - 0xa0]
add eax, 0x138
push eax
push 0
push 0
lea ecx, [ebp - 0x58]
push ecx
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
call sub.Secur32.dll_AcquireCredentialsHandleA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4bc5a5
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0xa0]
add eax, 0x78
push eax
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
xor al, al
jmp 0x4bc6e3
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x5c
call fcn.00403210
mov dword [ebp - 0x78], eax
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x140
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x78]
push eax
push 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x138
push ecx
call sub.Secur32.dll_InitializeSecurityContextA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x90312
jne 0x4bc6a0
mov edx, dword [ebp - 0xa0]
mov byte [edx + 0x184], 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0040fd20
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
push edx
call sub.Secur32.dll_FreeContextBuffer
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 0x99], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00403180
mov al, byte [ebp - 0x99]
jmp 0x4bc6e3
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x7c]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret
Function at 0x4bcb60
Capabilities:
Get remote cert context via schannel

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x4d], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x6c]
add ecx, 0x5c
call fcn.00403210
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], str.1.3.6.1.5.5.7.3.1
mov dword [ebp - 0x60], str.1.3.6.1.4.1.311.10.3.3
mov dword [ebp - 0x5c], str.2.16.840.1.113730.4.1
mov dword [ebp - 0x58], 3
lea eax, [ebp - 0x18]
push eax
push 0x53
mov ecx, dword [ebp - 0x6c]
add ecx, 0x140
push ecx
call sub.Secur32.dll_QueryContextAttributesA
test eax, eax
je 0x4bcbca
jmp 0x4bccfc
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x40]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
shl eax, 1
push eax
call fcn.004c814e
add esp, 4
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4bcbfd
jmp 0x4bccfc
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x4bcc23
jmp 0x4bccfc
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x38], 1
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.CRYPT32.dll_CertGetCertificateChain]
test eax, eax
jne 0x4bcc75
jmp 0x4bccfc
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0x14
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 4
call dword [sym.imp.CRYPT32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
jne 0x4bcce8
jmp 0x4bccfc
cmp dword [ebp - 0x10], 0
je 0x4bccf0
jmp 0x4bccfc
mov byte [ebp - 0x4d], 1
xor edx, edx
jne 0x4bcbac
cmp dword [ebp - 0x2c], 0
je 0x4bcd0c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateChain]
cmp dword [ebp - 0x54], 0
je 0x4bcd1e
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004c7fad
add esp, 4
mov edx, dword [ebp - 0x6c]
mov al, byte [ebp - 0x4d]
mov byte [edx + 0x7c], al
mov esp, ebp
pop ebp
ret
Function at 0x4bcf00
Capabilities:
Get remote cert context via schannel

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x3f4], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x53
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x140
push ecx
call sub.Secur32.dll_QueryContextAttributesA
test eax, eax
je 0x4bcf41
jmp 0x4bd015
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [eax + 0x20]
push edx
mov ecx, dword [ebp - 0x3f4]
call fcn.004bcae0
mov ecx, dword [ebp - 0x3f4]
mov dword [ecx + 0xb8], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [eax + 0x28]
push edx
mov ecx, dword [ebp - 0x3f4]
call fcn.004bcae0
mov ecx, dword [ebp - 0x3f4]
mov dword [ecx + 0xbc], eax
push 0x3e8
lea edx, [ebp - 0x3f0]
push edx
push 0x20000003
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, 0x30
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.CRYPT32.dll_CertNameToStrA]
test eax, eax
jne 0x4bcfb8
jmp 0x4bd015
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x9c
call fcn.004031c0
push 0x3e8
lea edx, [ebp - 0x3f0]
push edx
push 0x20000003
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.CRYPT32.dll_CertNameToStrA]
test eax, eax
jne 0x4bcffd
jmp 0x4bd015
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0x80
call fcn.004031c0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret

Function at 0x4c7d13
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x61df80]
jne 0x4c7d1d
repz ret
jmp fcn.004cf40b
Function at 0x4dc9a0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004d1196
and dword [ebp - 4], 0
cmp dword [0x6282a0], 0
mov ebx, eax
jne 0x4dca51
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4dcb02
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5b3d58
push edi
call esi
test eax, eax
je 0x4dcb02
push eax
call fcn.004d1124
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6282a0], eax
call esi
push eax
call fcn.004d1124
mov dword [esp], 0x5b3d34
push edi
mov dword [0x6282a4], eax
call esi
push eax
call fcn.004d1124
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6282a8], eax
call esi
push eax
call fcn.004d1124
pop ecx
mov dword [0x6282b0], eax
test eax, eax
je 0x4dca51
push 0x5b3d00
push edi
call esi
push eax
call fcn.004d1124
pop ecx
mov dword [0x6282ac], eax
mov eax, dword [0x6282ac]
cmp eax, ebx
je 0x4dcaa9
cmp dword [0x6282b0], ebx
je 0x4dcaa9
push eax
call fcn.004d119f
push dword [0x6282b0]
mov esi, eax
call fcn.004d119f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4dcaa9
test edi, edi
je 0x4dcaa9
call esi
test eax, eax
je 0x4dcaa0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4dcaa0
test byte [ebp - 0xc], 1
jne 0x4dcaa9
or dword [ebp + 0x10], 0x200000
jmp 0x4dcae2
mov eax, dword [0x6282a4]
cmp eax, ebx
je 0x4dcae2
push eax
call fcn.004d119f
pop ecx
test eax, eax
je 0x4dcae2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4dcae2
mov eax, dword [0x6282a8]
cmp eax, ebx
je 0x4dcae2
push eax
call fcn.004d119f
pop ecx
test eax, eax
je 0x4dcae2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6282a0]
call fcn.004d119f
pop ecx
test eax, eax
je 0x4dcb02
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4dcb04
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4e3950
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.004cf3e0
mov eax, dword [0x61df80]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x9c]
test ebx, ebx
je 0x4e39c5
cmp ebx, dword [esi]
je 0x4e39bc
test edi, edi
je 0x4e39a2
cmp dword [esp + 0xa0], eax
jge 0x4e39bc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004c7d13
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x4e39cb
mov ebx, dword [esi]
test ebx, ebx
je 0x4e39a2
push ebp
test edi, edi
je 0x4e3a9d
push ebx
call fcn.004e7a90
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x4e39fb
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.004e7030
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x4e3a55
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.004e74c0
add esp, 0xc
test eax, eax
je 0x4e3b4a
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.004e7670
add esp, 0xc
test eax, eax
je 0x4e3b4a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.004e7680
add esp, 0xc
test eax, eax
je 0x4e3b4a
jmp 0x4e3a7a
cmp eax, 0x80
ja 0x4e3b4a
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.004d34f0
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x4e3aa5
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.004ce490
add esp, 0xc
jmp 0x4e3aa5
test eax, eax
je 0x4e3b36
xor eax, eax
jmp 0x4e3ab0
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x4e3ab0
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.004e74c0
add esp, 0xc
test eax, eax
je 0x4e3b4a
push ebx
call fcn.004e7a90
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.004e7670
add esp, 0x10
test eax, eax
je 0x4e3b4a
xor eax, eax
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x4e3af4
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.004e74c0
add esp, 0xc
test eax, eax
je 0x4e3b4a
push ebx
call fcn.004e7a90
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.004e7670
add esp, 0x10
test eax, eax
je 0x4e3b4a
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.004e7810
add esp, 8
test eax, eax
jne 0x4e3b4e
xor eax, eax
jmp 0x4e3b53
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c7d13
add esp, 0x88
ret

Function at 0x4e3fe0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.004ce490
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x4e44d0
Capabilities:
Set socket configuration

Disassembly:
mov eax, 4
call fcn.004cf3e0
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 0x28], 0
jg 0x4e44e9
cmp dword [ecx + 0x2c], 0
jle 0x4e4538
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push 4
lea edx, [esp + 4]
push edx
add eax, ecx
push 0x1006
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1c]
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x4e4538
push str.setsockopt
call fcn.004cbd79
add esp, 4
pop ecx
ret

Function at 0x4e4a20
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x10
call fcn.004cf3e0
push edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 8], 0
cmp dword [edi + 0x28], 0
jg 0x4e4a46
cmp dword [edi + 0x2c], 0
jle 0x4e4b40
mov edx, dword [ebx + 0x1c]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jge 0x4e4a7f
push str.getsockopt
call fcn.004cbd79
add esp, 4
jmp 0x4e4aa8
mov ecx, dword [esp + 4]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x30], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [edi + 0x34], ecx
push esi
lea esi, [esp + 0x10]
call fcn.0056eee0
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x14]
cmp edx, eax
mov ecx, dword [edi + 0x28]
jge 0x4e4acc
mov esi, 0xf4240
sub esi, eax
add edx, esi
dec ecx
jmp 0x4e4ace
sub edx, eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
pop esi
jge 0x4e4ade
xor ecx, ecx
lea edx, [ecx + 1]
jmp 0x4e4ae0
sub ecx, eax
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4e4aec
cmp dword [edi + 0x34], eax
je 0x4e4af7
cmp eax, ecx
jg 0x4e4af7
jne 0x4e4b40
cmp dword [edi + 0x34], edx
jl 0x4e4b40
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
add ecx, edx
mov edx, dword [ebx + 0x1c]
shr eax, 0x1f
push 4
add eax, ecx
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x4e4b40
push str.setsockopt
call fcn.004cbd79
add esp, 4
pop edi
add esp, 0x10
ret
Function at 0x4e6ee0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.004cf3e0
mov eax, dword [0x61df80]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x4e6f67
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4e6f67
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x100
push edx
call fcn.004d5282
add esp, 0x10
test eax, eax
jge 0x4e6f3d
mov eax, 0x100
push 0
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c7d13
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0xff
push edx
call fcn.004d5282
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4e6ff9
call fcn.004e6da0
test eax, eax
jle 0x4e6ff9
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x4e700d
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c7d13
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.004c7d13
add esp, 0x108
ret

Function at 0x4e7060
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x4e7088
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
sub edi, 1
jne 0x4e7077
pop esi
pop ebx
movzx eax, cl
pop edi
ret
Function at 0x53ae90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x53aea9
mov esi, edi
mov edi, eax
jmp 0x53aeab
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x53aebb
mov eax, ebx
jmp 0x53aec5
push eax
push ebx
call fcn.004ff460
add esp, 8
test eax, eax
jne 0x53aecd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x53aee9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x53aed4
cmp eax, dword [esi + 4]
jge 0x53af00
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x53aef0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x53af21
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x53af1e
dec eax
test eax, eax
jg 0x53af10
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret