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

Disassembly:
push 0xffffffffffffffff
push 0x11dcbc50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
xor eax, eax
push ebp
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
push 0x3a
mov ebp, ecx
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.11d78fcc
mov esi, eax
add esp, 8
test esi, esi
jne 0x11d32f78
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, ebp
call fcn.11d330a0
or ebp, 0xffffffff
jmp 0x11d33015
mov eax, esi
lea ecx, [esp + 0xc]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.11d66a50
add esi, 2
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x2c], 0
call fcn.11d666a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.11d6ab70
lea ecx, [esp + 0xc]
call fcn.11d6a850
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x11d32fcd
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
push eax
call fcn.11d330a0
lea ecx, [esp + 0x30]
call fcn.11d6ab70
lea ecx, [esp + 0x30]
call fcn.11d6a850
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x11d32ff7
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.11d331f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.11d66e40
or ebp, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebp
call fcn.11d66e40
cmp dword [esp + 0x10], ebp
jne 0x11d33021
cmp dword [esp + 0x14], ebp
je 0x11d3308a
mov edi, dword [esp + 0x34]
push ebp
mov ecx, edi
mov esi, dword [edi + 4]
lea edx, [esi + 1]
push edx
call fcn.11d334e0
mov ecx, dword [edi]
mov eax, esi
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
mov eax, dword [0x11dfc760]
test eax, eax
je 0x11d3308a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
push 0x11de07ec
push str.IPG_16656
push 4
call fcn.11d355b0
add esp, 0x20
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x11d34a30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov ecx, dword [0x11df6608]
sub esp, 0x14
xor eax, eax
push ebx
push ebp
push esi
cmp ecx, eax
push edi
jbe 0x11d34afc
mov word [esp + 0x14], ax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1e], eax
lea edx, [esp + 0x14]
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
mov ebp, dword [sym.imp.WS2_32.dll_ntohs]
cmp eax, 0xffffffff
je 0x11d34ab0
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov edx, dword [esp + 0x16]
mov esi, eax
push edx
call ebp
push edi
push esi
push eax
mov ecx, 0x11df6600
call fcn.11d349a0
test eax, eax
jne 0x11d34aeb
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x11d34afa
mov eax, dword [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x16]
mov esi, eax
push ecx
call ebp
push edi
push esi
push eax
mov ecx, 0x11df6600
call fcn.11d349a0
test eax, eax
je 0x11d34afa
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x11d38ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11dcc098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.11d750e0
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 8]
mov eax, edi
xor edx, edx
shr eax, 4
div ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], 0
test ecx, ecx
mov ebx, edx
je 0x11d38b3e
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x11d38b3a
cmp dword [eax + 8], edi
je 0x11d38b32
mov eax, dword [eax]
test eax, eax
jne 0x11d38b25
jmp 0x11d38b3a
test eax, eax
jne 0x11d38bd7
test ecx, ecx
jne 0x11d38b6e
lea edi, [ebp*4]
push edi
call fcn.11d788e0
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x2c]
mov dword [esi + 8], ebp
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x11d38ba2
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.11d74230
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x10]
jl 0x11d38ba2
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x11d38b94
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0xc]
inc ecx
xor edx, edx
mov dword [esi + 0xc], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [ecx + ebx*4], eax
mov edx, dword [esp + 0x30]
add eax, 0xc
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x10]
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
call fcn.11d75140
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x11d391c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11dcc0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.11d750e0
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 4]
mov eax, edi
xor edx, edx
shr eax, 4
div ebp
mov ecx, dword [esi]
mov dword [esp + 0x24], 0
test ecx, ecx
mov ebx, edx
je 0x11d3922d
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x11d39229
cmp dword [eax + 8], edi
je 0x11d39221
mov eax, dword [eax]
test eax, eax
jne 0x11d39214
jmp 0x11d39229
test eax, eax
jne 0x11d392cc
test ecx, ecx
jne 0x11d3925c
lea edi, [ebp*4]
push edi
call fcn.11d788e0
mov edx, eax
mov ecx, edi
mov dword [esi], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x2c]
mov dword [esi + 4], ebp
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x11d39296
mov eax, dword [esi + 0x14]
push 0x1c
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.11d74230
mov ecx, dword [esi + 0x14]
lea edx, [ecx*8]
sub edx, ecx
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x14]
jl 0x11d39296
inc ecx
mov edx, dword [esi + 0xc]
mov dword [eax], edx
mov dword [esi + 0xc], eax
sub eax, 0x1c
dec ecx
jne 0x11d39288
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
inc ecx
xor edx, edx
mov dword [esi + 8], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ecx, dword [esi]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
mov edx, dword [esp + 0x30]
add eax, 0xc
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x10]
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
call fcn.11d75140
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x11d42dd0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x11dccf57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea esi, [ecx + 8]
push edi
mov dword [ecx], 0x11dd3524
mov dword [esp + 8], esi
lea ecx, [esi + 0x60]
mov dword [esp + 0x18], 0xc
call fcn.11d61ac0
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xd
call fcn.11d61ac0
mov ecx, edi
mov byte [esp + 0x18], 0xb
call fcn.11d61ac0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 0xa
call fcn.11d61ac0
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 9
call fcn.11d61ac0
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 8
call fcn.11d61ac0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 7
call fcn.11d61ac0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 6
call fcn.11d61ac0
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 5
call fcn.11d61ac0
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 4
call fcn.11d61ac0
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 3
call fcn.11d61ac0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.11d61ac0
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 1
call fcn.11d61ac0
lea edi, [esi + 0xc]
mov dword [esp + 0xc], edi
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xe
call fcn.11d61ac0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.11d61ac0
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0xf
call fcn.11d61ac0
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.11d61ac0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x11d449d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x11dcd233
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x11dd37d8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov dword [esi], 0x11dd3528
mov eax, dword [0x11dd37d8]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 4
test eax, eax
je 0x11d44a42
call fcn.11da0170
push eax
lea ecx, [esp + 0x18]
push str.__lu
push ecx
call fcn.11d69dc0
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x11d44a63
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x14]
push str.__lu
push edx
call fcn.11d69dc0
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x11d44a84
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x10]
push str.__lu
push eax
call fcn.11d69dc0
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11d44aa5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x11de43fc
push ecx
call fcn.11d69dc0
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.11d666a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push str._s_s_s_s_s
push edi
mov byte [esp + 0x40], 5
call fcn.11d69dc0
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.11d66e40
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.11d66e40
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.11d66e40
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.11d66e40
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.11d66e40
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x11d44b8d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11dcd268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11dd37d8]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 3
cmp eax, 0xffffffff
je 0x11d44bc9
push eax
lea eax, [esp + 0x14]
push str.__lu
push eax
call fcn.11d69dc0
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x11d44be5
push eax
lea ecx, [esp + 0x10]
push str.__lu
push ecx
call fcn.11d69dc0
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x11d44c01
push eax
lea edx, [esp + 0xc]
push str.__lu
push edx
call fcn.11d69dc0
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x11d44c1d
push eax
lea eax, [esp + 8]
push 0x11de43fc
push eax
call fcn.11d69dc0
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.11d666a0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
add esi, 4
push str._s_s_s_s_s
push esi
mov byte [esp + 0x38], 4
call fcn.11d69dc0
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.11d66e40
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call fcn.11d66e40
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.11d66e40
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.11d66e40
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d66e40
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x11d44d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11dcd2c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x11dd37d8]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x18], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
test eax, eax
je 0x11d44d9c
push 0x11de4440
jmp 0x11d44da1
push 0x11de4430
lea ecx, [esp + 8]
call fcn.11d670c0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x11de4424
push edx
call fcn.11d69dc0
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.11d66440
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.11d66e40
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.11d66e40
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x11d4c6d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x11dcde58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
lea ecx, [esp + 0xc]
call fcn.11d60ad0
push str.127.0.0.1
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
xor eax, eax
mov dword [esp + 0x12], eax
lea ecx, [esp + 8]
mov dword [esp + 0x16], eax
lea edx, [esp + 0x10]
mov dword [esp + 0x1a], eax
push ecx
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x34]
push edx
push eax
mov word [esp + 0x1c], 0
mov dword [esp + 0x14], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0xffffffff
mov eax, dword [0x11dfc760]
je 0x11d4c788
test eax, eax
je 0x11d4c774
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push eax
push 0x12c
push str.TMAILHOOK32::getsockname_succeed__line__lu__ip_0x_x_
push 0x11de0380
push 4
call fcn.11d355b0
add esp, 0x14
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x11d4c7ac
mov esi, ecx
jmp 0x11d4c7ac
test eax, eax
je 0x11d4c7ac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x136
push str.TMAILHOOK32::getsockname_failed__line__lu__errno:__d
push 0x11de0380
push 4
call fcn.11d355b0
add esp, 0x14
push edi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x11d4c7bc
call fcn.11d4c5b0
mov dword [edi], eax
mov eax, dword [0x11dfc760]
pop edi
test eax, eax
je 0x11d4c7de
push esi
call ebp
push eax
push str.TMAILHOOK32::dwTMGWIP_0x_x_
push 0x11de0380
push 4
call fcn.11d355b0
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.11d60af0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x11d52210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11dce028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.11d5fc60
push 1
push edi
push ecx
mov dword [esp + 0x44], edi
mov ecx, esp
mov dword [esp + 0x14], esp
push str.disable_middle_man
call fcn.11d666a0
lea ecx, [esp + 0x18]
call fcn.11d5fe50
lea ecx, [esp + 0xc]
call fcn.11d5fec0
test eax, eax
je 0x11d5227b
lea ecx, [esp + 0xc]
call fcn.11d60280
mov edi, eax
test edi, edi
je 0x11d5227b
cmp edi, 1
jne 0x11d5227b
mov esi, eax
jmp 0x11d5227d
xor esi, esi
mov eax, dword [0x11dfc760]
test eax, eax
je 0x11d5229c
push esi
push edi
push str.CSSLMailMgr::IsCfgDisable__dwNum:_d__bDis:_d_
push str.SSLMail
push 4
call fcn.11d355b0
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.11d5fdb0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret

Function at 0x11d5a0d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
xor eax, eax
lea ecx, [esp]
mov dword [esp + 6], eax
push esi
mov dword [esp + 0xe], eax
lea edx, [esp + 8]
mov dword [esp + 0x12], eax
push ecx
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x20]
push edx
push eax
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x11d5a141
mov esi, dword [esp + 0xc]
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, esi
je 0x11d5a137
push esi
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
call fcn.11d55ef0
add esp, 4
test eax, eax
je 0x11d5a141
mov eax, 1
pop esi
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x11d76300
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x11dcf31f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11dd37d8]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x11d7636b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11d7636d
mov esi, edi
test esi, esi
je 0x11d76437
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11d7642c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x11d763af
cmp eax, 2
je 0x11d763af
cmp eax, 6
je 0x11d763af
cmp eax, 7
jne 0x11d7642c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.11d788e0
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x11d76412
lea ecx, [esp + 0x14]
call fcn.11d670c0
cmp esi, dword [esp + 0x14]
je 0x11d76407
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.11d788ee
add esp, 4
jmp 0x11d76449
call fcn.11d788ee
add esp, 4
lea ecx, [esp + 0x10]
push 0x11df65f8
call fcn.11d670c0
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x11d76437
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11d76449
push eax
lea ecx, [esp + 0x14]
call fcn.11d670c0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.11d66440
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.11d66e40
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x11d77130
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [ecx]
test esi, esi
je 0x11d77169
push edi
mov edi, dword [esp + 0x10]
push edi
call fcn.11d79070
mov ecx, dword [esp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
jne 0x11d77169
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x11d771a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11dcf3e8
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x11d771f6
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11d771f9
mov esi, dword [ebp + 8]
test esi, esi
je 0x11d772ec
call fcn.11d8c970
test eax, eax
je 0x11d77249
mov edi, dword [ebp + 0x18]
push edi
call fcn.11d79070
mov ecx, dword [ebp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x11d772e0
cmp esi, dword [ebp + 8]
je 0x11d7723f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x11d772ee
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x11d77288
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.11d7a850
mov edi, esp
test edi, edi
je 0x11d77288
mov edx, dword [ebp + 0x10]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x11d7728a
xor edi, edi
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push eax
call fcn.11d61360
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x11d772d1
cmp esi, dword [ebp + 8]
je 0x11d772bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.11d61ac0
mov eax, 1
jmp 0x11d772ee
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.11d61ac0
cmp esi, dword [ebp + 8]
je 0x11d772ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret