joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11d64b90
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov ecx, dword [0x11e45588]
sub esp, 0x14
xor eax, eax
push ebx
push ebp
push esi
cmp ecx, eax
push edi
jbe 0x11d64c5c
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 0x11d64c10
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, 0x11e45580
call fcn.11d64b00
test eax, eax
jne 0x11d64c4b
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 0x11d64c5a
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, 0x11e45580
call fcn.11d64b00
test eax, eax
je 0x11d64c5a
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 0x11d69420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11e13ee8
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.11daa230
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 0x11d6948e
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x11d6948a
cmp dword [eax + 8], edi
je 0x11d69482
mov eax, dword [eax]
test eax, eax
jne 0x11d69475
jmp 0x11d6948a
test eax, eax
jne 0x11d69527
test ecx, ecx
jne 0x11d694be
lea edi, [ebp*4]
push edi
call fcn.11db0150
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 0x11d694f2
mov eax, dword [esi + 0x18]
push 0x18
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.11da9380
mov ecx, dword [esi + 0x18]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x10]
jl 0x11d694f2
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x18
dec ecx
jne 0x11d694e4
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.11daa290
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 0x11d69d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11e13f88
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.11daa230
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 0x11d69dfd
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x11d69df9
cmp dword [eax + 8], edi
je 0x11d69df1
mov eax, dword [eax]
test eax, eax
jne 0x11d69de4
jmp 0x11d69df9
test eax, eax
jne 0x11d69e9c
test ecx, ecx
jne 0x11d69e2c
lea edi, [ebp*4]
push edi
call fcn.11db0150
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 0x11d69e66
mov eax, dword [esi + 0x14]
push 0x1c
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.11da9380
mov ecx, dword [esi + 0x14]
lea edx, [ecx*8]
sub edx, ecx
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x14]
jl 0x11d69e66
inc ecx
mov edx, dword [esi + 0xc]
mov dword [eax], edx
mov dword [esi + 0xc], eax
sub eax, 0x1c
dec ecx
jne 0x11d69e58
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.11daa290
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 0x11d70520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x11e45b00
jmp 0x11d70550
push 0xffffffffffffffff
push 0x11e14989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x11e1da04]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 0xc], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.11da1480
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.11da1480
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 3
call fcn.11da1480
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 4
call fcn.11da1480
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 5
call fcn.11da9d00
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 6
call fcn.11da9d00
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 7
call fcn.11da9d00
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 8
call fcn.11da9d00
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], 0x11e1d668
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x11d74bb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x11e15037
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], 0x11e1d670
mov dword [esp + 8], esi
lea ecx, [esi + 0x60]
mov dword [esp + 0x18], 0xc
call fcn.11d967e0
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xd
call fcn.11d967e0
mov ecx, edi
mov byte [esp + 0x18], 0xb
call fcn.11d967e0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 0xa
call fcn.11d967e0
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 9
call fcn.11d967e0
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 8
call fcn.11d967e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 7
call fcn.11d967e0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 6
call fcn.11d967e0
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 5
call fcn.11d967e0
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 4
call fcn.11d967e0
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 3
call fcn.11d967e0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.11d967e0
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 1
call fcn.11d967e0
lea edi, [esi + 0xc]
mov dword [esp + 0xc], edi
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xe
call fcn.11d967e0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.11d967e0
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0xf
call fcn.11d967e0
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.11d967e0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x11d767b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x11e15313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x11e1da04]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov dword [esi], 0x11e1d674
mov eax, dword [0x11e1da04]
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 0x11d76822
call fcn.11dd8590
push eax
lea ecx, [esp + 0x18]
push str.__lu
push ecx
call fcn.11d9eae0
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x11d76843
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x14]
push str.__lu
push edx
call fcn.11d9eae0
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x11d76864
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x10]
push str.__lu
push eax
call fcn.11d9eae0
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11d76885
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x11e319bc
push ecx
call fcn.11d9eae0
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.11d9b3c0
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.11d9eae0
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.11d9bb60
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.11d9bb60
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.11d9bb60
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.11d9bb60
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.11d9bb60
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x11d7696d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11e15348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11e1da04]
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 0x11d769a9
push eax
lea eax, [esp + 0x14]
push str.__lu
push eax
call fcn.11d9eae0
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x11d769c5
push eax
lea ecx, [esp + 0x10]
push str.__lu
push ecx
call fcn.11d9eae0
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x11d769e1
push eax
lea edx, [esp + 0xc]
push str.__lu
push edx
call fcn.11d9eae0
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x11d769fd
push eax
lea eax, [esp + 8]
push 0x11e319bc
push eax
call fcn.11d9eae0
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.11d9b3c0
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.11d9eae0
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.11d9bb60
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call fcn.11d9bb60
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.11d9bb60
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.11d9bb60
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d9bb60
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x11d76b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11e153a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x11e1da04]
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 0x11d76b7c
push 0x11e31a00
jmp 0x11d76b81
push 0x11e319f0
lea ecx, [esp + 8]
call fcn.11d9bde0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x11e319e4
push edx
call fcn.11d9eae0
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.11d9b160
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.11d9bb60
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.11d9bb60
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x11d7e4c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x11e15f38
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.11d957f0
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 [0x11e4b918]
je 0x11d7e578
test eax, eax
je 0x11d7e564
mov ecx, dword [esp + 0x14]
push ecx
call ebp
push eax
push 0x12e
push str.TMAILHOOK32::getsockname_succeed__line__lu__ip_0x_x_
push 0x11e2d404
push 4
call fcn.11d65710
add esp, 0x14
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x11d7e59c
mov esi, ecx
jmp 0x11d7e59c
test eax, eax
je 0x11d7e59c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x138
push str.TMAILHOOK32::getsockname_failed__line__lu__errno:__d
push 0x11e2d404
push 4
call fcn.11d65710
add esp, 0x14
push edi
mov edi, dword [esp + 0x38]
test edi, edi
je 0x11d7e5ac
call fcn.11d7e3a0
mov dword [edi], eax
mov eax, dword [0x11e4b918]
pop edi
test eax, eax
je 0x11d7e5ce
push esi
call ebp
push eax
push str.TMAILHOOK32::dwTMGWIP_0x_x_
push 0x11e2d404
push 4
call fcn.11d65710
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.11d95810
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x11d84570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11e16198
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.11d94100
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.11d9b3c0
lea ecx, [esp + 0x18]
call fcn.11d942f0
lea ecx, [esp + 0xc]
call fcn.11d94360
test eax, eax
je 0x11d845db
lea ecx, [esp + 0xc]
call fcn.11d94720
mov edi, eax
test edi, edi
je 0x11d845db
cmp edi, 1
jne 0x11d845db
mov esi, eax
jmp 0x11d845dd
xor esi, esi
mov eax, dword [0x11e4b918]
test eax, eax
je 0x11d845fc
push esi
push edi
push str.CSSLMailMgr::IsCfgDisable__dwNum:_d__bDis:_d_
push str.SSLMail
push 4
call fcn.11d65710
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.11d94250
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret

Function at 0x11d8c3c0
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 0x11d8c431
mov esi, dword [esp + 0xc]
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, esi
je 0x11d8c427
push esi
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
call fcn.11d881e0
add esp, 4
test eax, eax
je 0x11d8c431
mov eax, 1
pop esi
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x11d8ddb0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x11e49324]
test eax, eax
jne 0x11d8ddfe
mov dword [0x11e49324], 1
call fcn.11dc64a0
test eax, eax
push 0x104
push 0x11e49328
je 0x11d8ddf8
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x11d8ddfe
push str.SysWow64
push 0x11e49328
call fcn.11db1170
add esp, 8
mov eax, 0x11e49328
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x11e49328
ret

Function at 0x11d91670
Capabilities:
Get graphical window text

Disassembly:
call fcn.11dc4de0
test eax, eax
je 0x11d9168f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x11d91710
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x11d91710
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.11db0150
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x11d91710
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x11d91710
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.11d8e4d0
add esp, 0x10
test eax, eax
je 0x11d91710
push esi
call fcn.11db08e0
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x11d92620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11e16d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push 0
mov esi, ecx
push 0
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, 0x11e4a6d8
call fcn.11d94830
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.11dada60
lea eax, [esp + 0xc]
push 0x11e3bc0c
push eax
lea ecx, [esp + 0x20]
call fcn.11daeb30
mov ecx, dword [0x11e1da04]
mov dword [esp + 0x30], 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 1
test eax, eax
jne 0x11d9269c
push 0x11e3bc04
jmp 0x11d926b2
cmp eax, 1
jne 0x11d926a8
push str.Smart
jmp 0x11d926b2
cmp eax, 2
jne 0x11d926bb
push str.Forced
lea ecx, [esp + 8]
call fcn.11d9bde0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x11e1da04]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x30], 2
test ecx, ecx
mov edx, str.Connect
jne 0x11d926e2
mov edx, str.Disconnect
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov ecx, 0x11e3bbb8
jne 0x11d926f4
mov ecx, 0x11e3bc04
push edx
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
push str.security_proc_log
push ecx
lea edx, [esp + 0x28]
push str._s__s_r_nProcess:_s_r_nSecurity_Process:_s_r_nPID:_d_r_nServerIP:_s_r_nProtected_Server:_s_r_nStatus:_s_r_n
push edx
call fcn.11d9eae0
mov eax, dword [esp + 0x30]
add esp, 0x28
mov ecx, esi
push 0
push eax
call fcn.11d92bf0
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.11d9bb60
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call fcn.11d9bb60
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.11d9bb60
mov ecx, dword [esp + 0x28]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14
Function at 0x11d9a230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11d9a27e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x11d9a27e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x11d9a283
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x11d9a269
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x11d9a293
test esi, esi
jne 0x11d9a2b1
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x11d9a2af
mov byte [eax + esi - 1], 0
jne 0x11d9a2b8
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x11d9f9a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11d9f9f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x11d9f9f0
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x11d9f9f5
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x11d9f9db
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x11d9fa02
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret