joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432930
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x160
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x164]
push esi
mov esi, dword [esp + 0x16c]
push edi
push eax
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.0046182e
add esp, 0xc
test esi, esi
je 0x432985
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4946a0
lea ecx, [esp + 0x64]
push ecx
call edi
push esi
lea edx, [esp + 0x64]
push edx
call edi
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0045eb50
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x80]
push eax
push 0
mov dword [esp + 0x70], 0x101
mov word [esp + 0x74], 0
mov dword [esp + 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x432a62
cmp dword [esp + 0xc], 0
je 0x432a62
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor esi, esi
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], 0
call ebx
test eax, eax
je 0x432a31
cmp dword [esp + 0xc], 0x103
jne 0x432a31
push 0x3e8
call edi
add esi, 1
cmp esi, 5
jl 0x432a00
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.0045e17e
add esp, 0x160
ret
mov ecx, dword [esp + 0x164]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0045e17e
add esp, 0x160
ret
Function at 0x432a80
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
mov dword [ebp - 0xc], edi
je 0x432ab3
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e17e
mov esp, ebp
pop ebp
ret
xor esi, esi
push esi
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x49b7a8
push 1
push esi
push 0x49b7b8
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x432ae1
mov dword [ebp - 8], esi
jmp 0x432ae4
mov esi, dword [ebp - 8]
push 0x208
add edi, 2
push 0
push edi
call fcn.0045eb50
xor eax, eax
add esp, 0xc
test esi, esi
mov dword [0x4badf0], eax
mov dword [0x4badf4], eax
mov dword [0x4bade4], eax
mov dword [0x4bade8], eax
mov dword [0x4badec], eax
je 0x432c1c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push eax
push 0x104
push edi
push esi
call edx
test eax, eax
jge 0x432b34
and eax, 0xffff
mov ebx, eax
mov eax, dword [ebp - 8]
push 0
mov dword [0x4bade4], 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 0x4bade4
push eax
call edx
test eax, eax
jge 0x432b6c
mov ecx, 1
and eax, 0xffff
mov dword [0x4badec], ecx
mov dword [0x4bade8], ecx
mov ebx, eax
mov eax, dword [ebp - 8]
push 0
mov dword [0x4badf0], 8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 0x4badf0
push eax
call edx
test eax, eax
jge 0x432b9d
and eax, 0xffff
mov dword [0x4badf4], 2
mov ebx, eax
call dword [0x4b5b14]
push 0x48a0f8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x432bc1
xor eax, eax
jmp 0x432bd8
lea eax, [esi + esi]
call fcn.0045e8d0
mov eax, esp
push edi
push esi
push 0x48a0f8
push eax
call fcn.00401090
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
test eax, eax
jge 0x432bf1
and eax, 0xffff
mov ebx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 7
push eax
call edx
test eax, eax
jge 0x432c09
and eax, 0xffff
mov ebx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x432c36
push 3
push 0
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
jne 0x432c3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x432c40
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
mov eax, ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e17e
mov esp, ebp
pop ebp
ret
Function at 0x432c60
Capabilities:
Change the wallpaper

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp + 0x194], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi], 0
mov dword [ebp - 0x80], edi
je 0x432d37
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x78]
push eax
push 0x49b7a8
push 1
push ebx
push 0x49b7b8
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x432cd1
mov dword [ebp - 0x78], ebx
call dword [0x4b5b14]
add edi, 2
mov ebx, eax
jne 0x432ddc
xor eax, eax
jmp 0x432e06
mov esi, dword [ebp - 0x78]
cmp esi, ebx
je 0x432cb9
push 0x208
lea ecx, [ebp - 0x74]
push ebx
push ecx
call fcn.0045eb50
mov edx, dword [esi]
mov ecx, dword [edx + 0x10]
add esp, 0xc
push ebx
push 0x208
lea eax, [ebp - 0x74]
push eax
push esi
call ecx
cmp eax, ebx
jl 0x432d3e
lea eax, [ebp - 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432d06
sub eax, edx
sar eax, 1
je 0x432d46
mov eax, dword [ebp - 0x78]
mov byte [edi], bl
mov edx, dword [eax]
push 7
push eax
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x432e35
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
push ebx
mov dword [0x4bade4], 0xc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0x4bade4
push eax
call edx
cmp eax, ebx
jge 0x432d6d
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
push ebx
mov dword [0x4badf0], 8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x4badf0
push eax
call edx
cmp eax, ebx
jge 0x432d94
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push ebx
lea edx, [edi + 2]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jge 0x432db0
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 7
push eax
call edx
cmp eax, ebx
jge 0x432dc9
and eax, 0xffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x432e25
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x432df1
xor eax, eax
jmp 0x432e06
lea esi, [eax + eax]
mov eax, esi
call fcn.0045e8d0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.004010d0
push 3
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
jne 0x432e2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
xor ebx, ebx
cmp dword [ebp - 0x7c], ebx
jne 0x432e32
jmp 0x432e2f
mov edi, dword [ebp - 0x80]
mov byte [edi], 0
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.0045e17e
add ebp, 0x198
mov esp, ebp
pop ebp
ret
Function at 0x433210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485440
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov eax, dword [ecx]
cmp eax, edi
je 0x43325a
push str.AudioInterface::HasInstallGsm610DeCoder_begin.
push eax
call fcn.00430fd0
add esp, 8
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionDrivers32
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
je 0x43328c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1f4
call fcn.00449db2
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], 0x1f4
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x18]
push ecx
push esi
lea edx, [ebp - 0x1c]
push edx
push edi
push str.msacm.msgsm610
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x4332ce
mov edi, 1
mov dword [ebp - 0x14], edi
push esi
call fcn.00449db7
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435590
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov esi, ecx
push 0x1e8
xor edi, edi
lea eax, [esi + 0x54]
push edi
push eax
call fcn.0045eb50
push 0x90
lea ecx, [esp + 0x1c]
push edi
push ecx
mov dword [esi + 0x23c], edi
mov dword [esi + 0x240], 1
mov dword [esi + 0x244], 1
mov dword [esi + 0x284], edi
mov dword [esi + 0x288], 1
mov dword [esi + 0x248], edi
mov dword [esi + 0x268], edi
mov dword [esi + 0x280], edi
mov dword [esi + 0x250], edi
mov dword [esi + 0x28c], edi
mov dword [esp + 0x20], 0x94
call fcn.0045eb50
add esp, 0x18
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x18], 2
jne 0x435657
cmp dword [esp + 0xc], 5
jb 0x435657
mov eax, 1
pop edi
mov dword [esi + 0x24c], eax
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x24c], edi
pop edi
pop esi
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret

Function at 0x4381d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x485b88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
push 0x48f368
push eax
mov dword [esp + 0x20], edi
call fcn.00460eef
mov esi, eax
xor eax, eax
add esp, 8
cmp esi, eax
jne 0x438265
cmp ebx, eax
je 0x43825e
lea eax, [esp + 0x14]
push eax
call fcn.00438010
add esp, 4
mov dword [esp + 0x3c], 0
push eax
mov ecx, ebx
call fcn.00409680
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401ab0
xor al, al
jmp 0x438324
cmp edi, eax
je 0x438271
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x438275
mov dword [esp + 0x14], eax
mov ecx, ebp
mov byte [esp + 0x1c], al
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
call fcn.004020d0
push 2
push 0
push esi
call fcn.00460aef
push esi
call fcn.00464a56
push 0
push 0
push esi
mov edi, eax
call fcn.00460aef
add esp, 0x1c
test edi, edi
je 0x4382f3
mov eax, dword [ebp]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or edx, eax
jge 0x4382db
push edi
mov ecx, ebp
call fcn.004022a0
mov ecx, dword [ebp]
push esi
push 1
push edi
push ecx
call fcn.00460e10
add esp, 0x10
push edi
mov ecx, ebp
call fcn.0041ea70
test ebx, ebx
je 0x43830b
push edi
lea edx, [esp + 0x20]
push edx
push str._s_d_bytes
push ebx
call fcn.004037d0
add esp, 0x10
push esi
call fcn.004609ec
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x438322
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0045e17e
add esp, 0x2c
ret
Function at 0x438410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485c09
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
mov edx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov edx, eax
mov edi, eax
sar edx, 0x10
mov edx, dword [ecx + edx*4]
and edi, 0xffff
shl edi, 5
mov ecx, dword [edx + edi]
add ecx, 1
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x4384a1
lea edx, [esp + 0x10]
push edx
call fcn.00436bc0
add esp, 4
test al, al
je 0x4384a1
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00438350
add esp, 8
jmp 0x4384b1
mov edi, dword [esp + 0x3c]
push 0x48a0f8
mov ecx, edi
call fcn.00407010
mov dword [esp + 0x34], esi
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret 8

Function at 0x43a090
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov edi, dword [esp + 0x28]
push edi
mov esi, ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x43a0c9
push edi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x43a0e5
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x43a0e5
cmp eax, 0xffffffff
mov edi, eax
jne 0x43a0e7
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0045e17e
add esp, 0x1c
ret 0xc
xor edi, edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
je 0x43a0d0
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x3c]
mov word [esp + 0x12], ax
push 0x10
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x43a0d0
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [esp + 0x10]
push edx
push 8
push 0xffff
push eax
mov dword [esp + 0x20], 1
call edi
mov edx, dword [esi + 0x3c]
push 4
lea ecx, [esp + 0xc]
push ecx
push 0x80
push 0xffff
push edx
mov word [esp + 0x1c], 1
mov word [esp + 0x1e], 1
call edi
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045e17e
add esp, 0x1c
ret 0xc
Function at 0x43a310
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x485ef9
mov eax, dword fs:[0]
push eax
sub esp, 0x454
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
push eax
push 4
push esi
xor ebx, ebx
push 0x4181c0
push ebx
push ebx
mov dword [esi], vtable.extension::thread.0
mov byte [esi + 4], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x43a395
push 0x51
push str..._commonmylib__process.h
push str.Failed_to_create_thread
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x2c]
call fcn.00416ba0
push 0x4a2bd8
lea ecx, [esp + 0x20]
push ecx
call fcn.0045f257
mov dword [esp + 0x470], ebx
mov edi, dword [esp + 0x478]
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CTcpConnectionConstructor.0
mov dword [esi + 0xc], ebx
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x43a3c1
sub eax, ebp
push eax
push edi
call fcn.004097e0
mov byte [esp + 0x470], 1
mov edx, dword [esp + 0x47c]
mov eax, dword [esp + 0x484]
mov ecx, dword [esp + 0x488]
mov dword [esi + 0x2c], edx
mov dl, byte [esp + 0x480]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov byte [esi + 0x34], dl
mov dword [esi + 0x30], ebx
mov dword [esp + 0x470], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x460
ret 0x14
Function at 0x43a440
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x485f39
mov eax, dword fs:[0]
push eax
sub esp, 0x454
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
push eax
push 4
push esi
xor ebx, ebx
push 0x4181c0
push ebx
push ebx
mov dword [esi], vtable.extension::thread.0
mov byte [esi + 4], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x43a4c5
push 0x51
push str..._commonmylib__process.h
push str.Failed_to_create_thread
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x2c]
call fcn.00416ba0
push 0x4a2bd8
lea ecx, [esp + 0x20]
push ecx
call fcn.0045f257
mov dword [esp + 0x470], ebx
mov edi, dword [esp + 0x478]
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CTcpConnectionConstructor.0
mov dword [esi + 0xc], ebx
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x43a4f1
sub eax, ebp
push eax
push edi
call fcn.004097e0
mov byte [esp + 0x470], 1
mov edx, dword [esp + 0x488]
mov eax, dword [esp + 0x48c]
mov ecx, dword [esp + 0x47c]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x480]
mov dword [esi + 0x40], eax
mov al, byte [esp + 0x484]
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov byte [esi + 0x34], al
mov dword [esp + 0x470], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x460
ret 0x18

Function at 0x43a700
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x43a732
mov ecx, dword [0x4bae60]
test ecx, ecx
je 0x43a729
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x3c]
push edx
push str.CTcpConnectionConstructor::Close___socket:_d
push ecx
call fcn.00430fd0
add esp, 0xc
mov ecx, dword [esi + 0xc]
pop esi
jmp fcn.0041e440
pop esi
ret

Function at 0x43a850
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.0043a700
mov eax, dword [0x4bae60]
test eax, eax
je 0x43a874
push str.CTcpConnectionConstructor::stop__begin
push eax
call fcn.00430fd0
mov eax, dword [0x4bae60]
add esp, 8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a8b8
push 0x7d0
push ecx
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43a89e
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov byte [esi + 4], 0
mov eax, dword [0x4bae60]
test eax, eax
pop esi
je 0x43a8cb
push str.CTcpConnectionConstructor::stop__begin
push eax
call fcn.00430fd0
add esp, 8
ret
Function at 0x43c110
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
sub esp, 0x38
push esi
mov esi, dword [esp + 0x40]
test esi, esi
push edi
mov edi, ecx
jne 0x43c172
push str.NTLM
push 0x400
push 0x4bae68
call fcn.0046182e
add esp, 0xc
cmp byte [edi + 0x18], 0
je 0x43c144
lea eax, [edi + 0xdc]
jmp 0x43c146
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [edi + 0xc]
push edx
push 0
push 0
push eax
push 0
push 2
push 0x4bae68
push 0
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
jge 0x43c172
pop edi
xor eax, eax
pop esi
add esp, 0x38
ret 0x10
test esi, esi
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x4c]
mov eax, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edx
je 0x43c1fa
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3c], esi
lea esi, [edi + 4]
push esi
push 0
lea edx, [esp + 0x48]
push edx
push 0x10
push 0
push 0x10
push 0
push esi
lea eax, [edi + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 2
push eax
jmp 0x43c21f
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x18]
push eax
lea esi, [edi + 4]
push esi
push 0
push 0
push 0x10
push 0
push 0x10
push 0
push 0
lea ecx, [edi + 0xc]
push ecx
call sub.Secur32.dll_InitializeSecurityContextA
test eax, eax
jl 0x43c168
cmp eax, 0x90313
je 0x43c23a
cmp eax, 0x90314
jne 0x43c24d
lea edx, [esp + 0x10]
push edx
push esi
call sub.Secur32.dll_CompleteAuthToken
test eax, eax
jl 0x43c168
cmp eax, 0x90312
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov dword [edx], ecx
je 0x43c275
cmp eax, 0x90314
je 0x43c275
mov eax, 1
mov dword [edi + 0x14], eax
pop edi
pop esi
add esp, 0x38
ret 0x10
xor eax, eax
mov dword [edi + 0x14], eax
pop edi
mov eax, 1
pop esi
add esp, 0x38
ret 0x10