joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b2f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616490
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x184], eax
test eax, eax
je 0x41b48d
mov esi, dword [esi]
xor ebx, ebx
cmp esi, 0xffffffff
je 0x41b3a3
test edi, edi
je 0x41b3a0
push 0xfc
lea eax, [ebp - 0x178]
push ebx
push eax
call fcn.005e8c40
add esp, 0xc
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x180], 1
push ebx
push dword [ebp - 0x184]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41b396
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
or ebx, 0xffffffff
test esi, esi
cmovns ebx, esi
jmp 0x41b3a3
or ebx, 0xffffffff
mov esi, dword [ebp - 0x188]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
mov edi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x18]
push 0x64
mov esi, eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.005e8c40
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0043a240
mov eax, dword [ebp - 0x18c]
push dword [ebp - 0x184]
mov ecx, dword [ebp - 0x188]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
push eax
push esi
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x184], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x41b4ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.__s:_s___s::SendData___s____0x_X__dbytes
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x41b437
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x41b443
push 0x29
push str.__s:_s___s::SendData___s____0x_X__dbytes
call fcn.00402df0
push 0
lea eax, [ebp - 0x18c]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x6aa3bc
call fcn.00409fa0
mov esi, dword [ebp - 0x18c]
add esp, 0x28
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b47e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x188]
mov dword [eax + 0x24], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00403270
int3
Function at 0x41cf50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 8], 0xffffffff
push edi
lea edi, [esi + 8]
je 0x41cf70
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
sub esp, 8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.0043a030
mov bl, al
test bl, bl
je 0x41cfcf
push 0
push 0
push esi
push 0x41cfe0
push 0
push 0
call fcn.005f95cb
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x41cfcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
mov ebx, eax
je 0x41cfc6
or esi, 0xffffffff
xchg dword [edi], esi
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x421080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x421166
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x421155
jg 0x4210c0
test edx, edx
je 0x421155
nop dword [eax]
call fcn.00411b10
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x421114
jg 0x4210d7
test esi, esi
je 0x421114
cmp ebx, eax
jg 0x4210e7
jl 0x4210e1
cmp edi, esi
jae 0x4210e7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.005e86c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x421139
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x42114f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x4210c0
jl 0x42114f
test edi, edi
jne 0x4210c0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x421188
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x42118a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x421208
jg 0x42119d
test esi, esi
je 0x421208
test eax, eax
jl 0x4211ec
jg 0x4211a7
test ebx, ebx
je 0x4211ec
cmp edi, eax
jg 0x4211b7
jl 0x4211b1
cmp esi, ebx
jae 0x4211b7
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.005e86c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x421208
jg 0x4211ef
test esi, esi
je 0x421208
jmp 0x4211ef
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x421208
push eax
push esi
push 1
push edx
call fcn.005f2082
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x421790
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4217cc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4217cc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4218b4
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4217f4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x421827
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005fa931
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x421887
sub eax, 1
je 0x421887
sub eax, 2
jne 0x4218b4
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.005fa931
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4218a4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005f2082
add esp, 0x10
cmp edi, eax
jne 0x4218b4
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x4217b7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 4
Function at 0x4226c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x42277a
cmp byte [esi + 0x3d], 0
je 0x42277a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x422768
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x422730
sub eax, 1
je 0x422734
sub eax, 2
jne 0x422768
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x422751
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005f2082
add esp, 0x10
cmp edi, eax
jne 0x422768
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
Function at 0x4315a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6196e1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6acfb0]
cmp eax, dword [ecx + 4]
jle 0x431618
push 0x6acfb0
call fcn.0058f695
add esp, 4
cmp dword [0x6acfb0], 0xffffffff
jne 0x431618
mov dword [ebp - 4], 0
call fcn.0045bdd0
push 0x6acfb0
mov eax, dword [eax + 8]
mov dword [0x6acfb4], eax
call fcn.0058f64b
add esp, 4
push 0x66ef4c
movzx eax, di
push eax
push dword [0x6acfb4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x431785
push edi
push dword [0x6acfb4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x431785
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x431785
push edi
push dword [0x6acfb4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x431785
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43177c
push edi
push ebx
push eax
call fcn.005e86c0
add esp, 0xc
push edi
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
test eax, eax
je 0x431773
push eax
mov ecx, esi
call fcn.004320a0
test eax, eax
jne 0x431773
push 0x66ef4c
push 0x66ef4c
call fcn.005f9fc0
add esp, 8
test eax, eax
jne 0x431773
cmp dword [esi + 0x18], 0x20
jne 0x431773
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0xc], ecx
jle 0x431773
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x14], edi
test eax, eax
jle 0x43176a
nop dword [eax]
mov eax, dword [esi + 0x18]
imul eax, ecx
mov ecx, dword [esi + 0x14]
imul ecx, edi
cdq
and edx, 7
lea ebx, [edx + eax]
mov eax, 0x80808081
sar ebx, 3
add ebx, ecx
add ebx, dword [esi + 8]
movzx edi, byte [ebx + 3]
movzx ecx, byte [ebx]
imul ecx, edi
mul ecx
movzx ecx, byte [ebx + 1]
mov eax, 0x80808081
imul ecx, edi
shr edx, 7
mov byte [ebx], dl
mul ecx
movzx ecx, byte [ebx + 2]
mov eax, 0x80808081
imul ecx, edi
mov edi, dword [ebp - 0x14]
shr edx, 7
inc edi
mov byte [ebx + 1], dl
mov dword [ebp - 0x14], edi
mul ecx
mov ecx, dword [ebp - 0x10]
shr edx, 7
mov byte [ebx + 2], dl
mov eax, dword [esi + 0x10]
cmp edi, eax
jl 0x431700
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [esi + 0xc]
jl 0x4316f4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
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 0x438dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619eed
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
mov ebx, dword [eax - 0xc]
jle 0x438e18
push ebx
lea ecx, [ebp + 8]
call fcn.004030b0
mov eax, dword [ebp + 8]
lea ecx, [ebx*2 + 1]
push ecx
push eax
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sete bl
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x438e54
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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 0x438e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x6aa3c8]
push 2
call dword [sym.imp.WS2_32.dll_InetPtonW]
test eax, eax
je 0x438fcc
mov ecx, dword [0x6aa3c8]
add esi, 4
cmp dword [esi + 8], 0xffffffff
lea edi, [esi + 8]
je 0x438ecd
xor bl, bl
jmp 0x438f32
sub esp, 8
push 0x6728f8
push ecx
push ecx
mov ecx, edi
call fcn.0043a030
mov bl, al
test bl, bl
je 0x438f2c
push 0
push 0
push esi
push 0x439d50
push 0
push 0
call fcn.005f95cb
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x438f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
mov ebx, eax
je 0x438f23
or esi, 0xffffffff
xchg dword [edi], esi
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
mov ecx, dword [0x6aa3c8]
mov edx, str.Fail
test bl, bl
mov eax, 0x6700fc
cmove eax, edx
push eax
push 0x6728f8
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x28], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x438fea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.__s:_s__ComDataClient::Connect____s
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x438f87
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x438f93
push 0x24
push str.__s:_s__ComDataClient::Connect____s
call fcn.00402df0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x6aa3bc
call fcn.00409fa0
mov esi, dword [ebp - 0x24]
add esp, 0x1c
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438fc8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x438fce
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403270
int3
Function at 0x439000
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619f60
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
push eax
push 0x6728f8
push dword [0x6aa3c8]
push ecx
mov esi, esp
mov dword [ebp - 0x120], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x439146
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.__s:_s__ComDataClient::SendData._Prefix:_X
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x439084
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x439090
push 0x2a
push str.__s:_s__ComDataClient::SendData._Prefix:_X
call fcn.00402df0
push 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x6aa3bc
call fcn.00409fa0
mov edx, dword [ebp - 0x11c]
or esi, 0xffffffff
add esp, 0x1c
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4390cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [edi + 0xc]
cmp edi, 0xffffffff
je 0x439123
push 0xfc
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.005e8c40
add esp, 0xc
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], 1
push 0
push dword [ebp + 0xc]
push ebx
push edi
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43911c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
cmovns esi, edi
jmp 0x439126
or esi, 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00403270
int3
Function at 0x439230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xb4], ecx
push 0x672bcc
lea eax, [ebp - 0x70]
mov byte [ebp - 0x90], 0
push 0x14
push eax
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x76], 0
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x72], 0
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x8e], xmm0
movq qword [ebp - 0x7e], xmm0
call fcn.005ef42e
add esp, 0xc
lea eax, [ebp - 0x8e]
push 0x672bcc
push 0xf
push eax
call fcn.005ef42e
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x672bcc
push 6
push eax
call fcn.005ef42e
add esp, 0xc
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x8e]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0xe
push dword [0x6aa3d0]
mov dword [ebp - 0x2c], 0
push 0xf
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0x10], xmm0
call fcn.005ef597
push 0x14
push dword [0x6aa3ec]
lea eax, [ebp - 0x70]
push 0x14
push eax
call fcn.005ef597
add esp, 0x20
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa4]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43939c
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 4
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push ecx
push 0
push 0
push str.InstallDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0xa8]
jmp 0x43939e
xor eax, eax
movq xmm0, qword [str.1.2.0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x66fc68]
mov dword [ebp - 0x38], eax
mov eax, dword [0x6aa3d4]
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x40], xmm0
mov ebx, dword [eax - 0xc]
lea eax, [ebx*2 + 0x9a]
push eax
call fcn.00447f05
add esp, 4
mov dword [ebp - 0xac], eax
mov edi, eax
lea esi, [ebp - 0xa0]
mov ecx, 0x26
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + ebx]
push ecx
push dword [0x6aa3d4]
lea ecx, [eax + 0x98]
push ecx
call fcn.005e86c0
add esp, 0xc
lea ebx, [ebx*2 + 0x98]
lea eax, [ebx + 1]
push eax
call fcn.00447f05
mov edi, dword [ebp - 0xac]
mov esi, eax
add esp, 4
mov byte [esi], 1
test ebx, ebx
je 0x439433
push ebx
lea ecx, [esi + 1]
push edi
push ecx
call fcn.005e86c0
add esp, 0xc
lea eax, [ebx + 1]
mov ecx, 0x69dd00
push eax
push esi
call fcn.00439000
push esi
call fcn.00447f00
add esp, 4
push edi
call fcn.00447f00
add esp, 4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00447f05
mov ecx, dword [ebp - 0xb4]
add esp, 4
mov esi, eax
push 1
push esi
mov byte [esi], 0x17
call fcn.00439000
push esi
call fcn.00447f00
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
Function at 0x43a030
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1b0], eax
cmp dword [edi], 0xffffffff
je 0x43a076
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x1ac]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43a0bd
push str.Failed_to_create_socket_n
call fcn.00408440
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0x14
mov eax, 2
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x14]
push eax
push ebx
push 2
call dword [sym.imp.WS2_32.dll_InetPtonW]
push dword [ebp - 0x1b0]
call fcn.005fc780
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x43a11f
push str.Connection_failed_n
call fcn.00408440
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0x14
push str.Connection_success_n
call fcn.00408440
mov ecx, dword [ebp - 8]
add esp, 4
mov dword [edi], esi
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0x14

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x43a226
test edi, edi
je 0x43a226
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.005e8c40
mov eax, dword [ebp - 0x110]
add esp, 0xc
test eax, eax
jne 0x43a1b1
cmp eax, 0x40
jae 0x43a1b1
inc eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], eax
test ebx, ebx
je 0x43a1d6
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x80
push eax
push ebx
push 0
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
jmp 0x43a1e3
push 0
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jne 0x43a1f9
push 0x2746
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or esi, 0xffffffff
jmp 0x43a1fe
cmp esi, 0xffffffff
jne 0x43a20b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
test esi, esi
cmovns eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret 0x10