joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c5e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x84]
sub esp, 0xc
push edi
mov edi, dword [eax + 0x80]
test ecx, ecx
je 0x46c6ad
push ebx
push esi
mov esi, dword [ebp + 8]
dec ecx
shr ecx, 3
add esi, 2
inc ecx
mov dword [ebp - 4], ecx
mov edi, edi
movzx ecx, byte [esi + 2]
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 4]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 5]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi - 1]
xor ecx, edx
movzx edx, byte [esi - 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi + 1]
shl edx, 8
or edx, ebx
xor edx, edi
lea edi, [ebp - 0xc]
push edi
call fcn.0046b390
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ebx, eax
shr ebx, 0x18
mov byte [esi - 2], bl
mov ebx, eax
mov byte [esi + 1], al
mov edi, eax
shr ebx, 0x10
mov byte [esi - 1], bl
mov ebx, eax
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
shr ebx, 8
mov byte [esi + 4], al
mov eax, dword [ebp + 0xc]
mov byte [esi], bl
mov byte [esi + 5], cl
add esp, 4
add esi, 8
dec dword [ebp - 4]
mov edx, ecx
jne 0x46c610
pop esi
pop ebx
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], edx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x46c6c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x80]
push esi
mov esi, dword [eax + 0x84]
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
test ecx, ecx
je 0x46c7ae
mov esi, dword [ebp + 8]
dec ecx
shr ecx, 3
add esi, 2
push ebx
inc ecx
push edi
mov dword [ebp - 0xc], ecx
movzx edi, byte [esi - 2]
movzx ecx, byte [esi - 1]
movzx edx, byte [esi]
movzx ebx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
shl edi, 8
or edi, edx
movzx edx, byte [esi + 3]
shl ebx, 8
or ebx, edx
movzx edx, byte [esi + 5]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 4]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
mov edx, edi
call fcn.0046bcc0
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x10]
mov edx, eax
shr edx, 0x18
mov byte [esi - 2], dl
mov edx, eax
shr edx, 0x10
mov byte [esi - 1], dl
mov edx, eax
mov byte [esi + 1], al
shr edx, 8
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov byte [esi], dl
mov edx, ecx
mov eax, ecx
shr eax, 8
shr edx, 0x10
mov byte [esi + 4], al
mov eax, dword [ebp + 0xc]
mov byte [esi + 3], dl
mov byte [esi + 5], cl
add esp, 4
add esi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
jne 0x46c6f4
mov ecx, edi
pop edi
mov edx, ebx
pop ebx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x84], esi
mov dword [eax + 0x80], edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46c950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x80]
push esi
mov esi, dword [eax + 0x84]
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
test ecx, ecx
je 0x46ca6c
mov esi, dword [ebp + 8]
dec ecx
shr ecx, 3
add esi, 2
push ebx
inc ecx
push edi
mov dword [ebp - 0xc], ecx
movzx edi, byte [esi - 2]
movzx ecx, byte [esi - 1]
movzx edx, byte [esi]
movzx ebx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
shl edi, 8
or edi, edx
movzx edx, byte [esi + 3]
shl ebx, 8
or ebx, edx
movzx edx, byte [esi + 5]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 4]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
lea ecx, [ebp - 0x14]
push ecx
add eax, 0x110
mov ecx, ebx
mov edx, edi
call fcn.0046bcc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x14]
add eax, 0x88
call fcn.0046b390
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0046bcc0
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x10]
mov edx, eax
shr edx, 0x18
mov byte [esi - 2], dl
mov edx, eax
shr edx, 0x10
mov byte [esi - 1], dl
mov edx, eax
mov byte [esi + 1], al
shr edx, 8
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov byte [esi], dl
mov edx, ecx
mov eax, ecx
shr eax, 8
shr edx, 0x10
mov byte [esi + 4], al
mov eax, dword [ebp + 0xc]
mov byte [esi + 3], dl
mov byte [esi + 5], cl
add esp, 0xc
add esi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
jne 0x46c984
mov ecx, edi
pop edi
mov edx, ebx
pop ebx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x84], esi
mov dword [eax + 0x80], edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46e750
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x46f490
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
lea eax, [ebp - 0x44]
push 0x36
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [ebp + 0x10]
add esp, 0xc
xor ecx, ecx
test esi, esi
jle 0x46f4da
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x44]
sub edi, edx
cmp ecx, 0x40
jge 0x46f4da
lea eax, [ebp + ecx - 0x44]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, esi
jl 0x46f4c7
push ebx
call fcn.0046f150
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0046f170
push 0x40
lea ecx, [ebp - 0x44]
push 0x5c
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x1c
xor ecx, ecx
test esi, esi
jle 0x46f523
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x44]
sub edi, edx
lea ebx, [ebx]
cmp ecx, 0x40
jge 0x46f523
lea eax, [ebp + ecx - 0x44]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, esi
jl 0x46f510
lea edx, [ebx + 0x5c]
push edx
call fcn.0046f150
push 0x40
lea eax, [ebp - 0x44]
push eax
push edx
call fcn.0046f170
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x46ff70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [ecx + esi]
lea edx, [eax - 0x41]
cmp dl, 0x19
ja 0x46ffa3
movsx eax, al
sub eax, 0x41
jmp 0x46ffe0
lea edx, [eax - 0x61]
cmp dl, 0x19
ja 0x46ffb3
movsx eax, al
sub eax, 0x47
jmp 0x46ffe0
lea edx, [eax - 0x30]
cmp dl, 9
ja 0x46ffc3
movsx eax, al
add eax, 4
jmp 0x46ffe0
cmp al, 0x2b
jne 0x46ffce
mov eax, 0x3e
jmp 0x46ffe0
cmp al, 0x2f
jne 0x46ffd9
mov eax, 0x3f
jmp 0x46ffe0
cmp al, 0x3d
jne 0x47001d
or eax, 0xffffffff
mov dword [ebp + ecx*4 - 0x14], eax
inc ecx
cmp ecx, 4
jl 0x46ff90
mov ecx, dword [ebp - 0x14]
push edi
cmp ecx, 0xffffffff
je 0x47000a
mov edi, dword [ebp - 0x10]
cmp edi, 0xffffffff
je 0x47000a
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp esi, 0xffffffff
jne 0x47002f
cmp edx, esi
je 0x47003c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edx, 0xffffffff
setne al
add eax, 2
jmp 0x470041
mov eax, 1
shl ecx, 6
or ecx, edi
shl ecx, 6
and esi, 0x3f
or ecx, esi
and edx, 0x3f
shl ecx, 6
or ecx, edx
mov edx, ecx
shr edx, 0x10
mov byte [ebx], dl
cmp eax, 1
jle 0x47006a
mov edx, ecx
shr edx, 8
mov byte [ebx + 1], dl
cmp eax, 2
jle 0x47000c
mov byte [ebx + 2], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x4711a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [str.PuTTY_User_Key_File_]
mov edx, dword [0x4e3010]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x4e3014]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x4e301c]
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ecx, 8
mov esi, str._____BEGIN_SSH2_ENCRYPTED_PRIVAT
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str._____BEGIN]
mov dword [ebp - 0x18], edx
mov edx, dword [0x4e3018]
mov dword [ebp - 0x10], edx
mov dl, byte [0x4e3020]
mov byte [ebp - 8], dl
mov edx, dword [0x4e2fe0]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x4e2fe4]
push 0x4cce30
push eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x47123d
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
push esi
push 0x20
lea edx, [ebp - 0x48]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
push esi
mov edi, eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x14
test edi, edi
js 0x47122b
cmp edi, 0x20
jge 0x471276
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, 0x20
xor ecx, ecx
lea ecx, [ecx]
mov edx, dword [ebp + ecx - 0x48]
cmp edx, dword [ecx + str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n]
jne 0x4712ac
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x471280
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, 0x14
xor ecx, ecx
mov edx, dword [ebp + ecx - 0x48]
cmp edx, dword [ebp + ecx - 0x1c]
jne 0x4712dd
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x4712b3
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov edx, 0xb
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov esi, dword [ecx]
cmp esi, dword [eax]
jne 0x471327
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x4712e8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x471327
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x471327
mov al, byte [eax + 2]
cmp al, byte [ecx + 2]
jne 0x471327
pop edi
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, 0x20
xor ecx, ecx
mov edi, edi
mov edx, dword [ebp + ecx - 0x48]
cmp edx, dword [ebp + ecx - 0x6c]
jne 0x471261
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x471330
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 5
pop esi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret

Function at 0x471820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push 0x258
call fcn.00454380
add esp, 8
mov ebx, eax
call fcn.00471590
mov esi, dword [0x50c920]
mov eax, dword [ebp + 0xc]
lea esi, [esi + 0x50c470]
mov edi, ebx
mov ecx, 0x96
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
pop edi
mov dword [eax], 0x258
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
jmp fcn.00471590
Function at 0x473050
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret
Function at 0x4738e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 0x78
cmp eax, 0x38
jge 0x47390b
mov ecx, 0x38
mov ebx, dword [esi + 0x64]
sub ecx, eax
mov eax, dword [esi + 0x68]
mov edx, eax
add ebx, ebx
add eax, eax
push ecx
mov dword [ebp - 0x48], ecx
add ebx, ebx
add eax, eax
lea ecx, [ebp - 0x44]
shr edx, 0x1d
add eax, eax
push 0
add ebx, ebx
push ecx
or ebx, edx
mov dword [ebp - 0x4c], eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push esi
mov byte [ebp - 0x44], 0x80
call fcn.00473750
mov eax, ebx
shr eax, 8
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 0x18
mov byte [ebp - 0x44], cl
mov byte [ebp - 0x43], dl
mov byte [ebp - 0x42], al
mov eax, dword [ebp - 0x4c]
mov edx, eax
mov ecx, eax
shr ecx, 0x18
shr edx, 0x10
mov byte [ebp - 0x40], cl
mov byte [ebp - 0x3f], dl
push 8
lea edx, [ebp - 0x44]
mov ecx, eax
push edx
shr ecx, 8
push esi
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x3e], cl
mov byte [ebp - 0x3d], al
call fcn.00473750
movzx eax, byte [esi + 3]
mov byte [edi], al
movzx ecx, byte [esi + 2]
mov byte [edi + 1], cl
movzx edx, byte [esi + 1]
mov byte [edi + 2], dl
movzx eax, byte [esi]
mov byte [edi + 3], al
movzx ecx, byte [esi + 7]
mov byte [edi + 4], cl
movzx edx, byte [esi + 6]
mov byte [edi + 5], dl
movzx eax, byte [esi + 5]
mov byte [edi + 6], al
movzx ecx, byte [esi + 4]
mov byte [edi + 7], cl
movzx edx, byte [esi + 0xb]
mov byte [edi + 8], dl
movzx eax, byte [esi + 0xa]
mov byte [edi + 9], al
movzx ecx, byte [esi + 9]
mov byte [edi + 0xa], cl
movzx edx, byte [esi + 8]
mov byte [edi + 0xb], dl
movzx eax, byte [esi + 0xf]
mov byte [edi + 0xc], al
movzx ecx, byte [esi + 0xe]
add esp, 0x24
mov byte [edi + 0xd], cl
movzx edx, byte [esi + 0xd]
mov byte [edi + 0xe], dl
movzx eax, byte [esi + 0xc]
mov byte [edi + 0xf], al
movzx ecx, byte [esi + 0x13]
mov byte [edi + 0x10], cl
movzx edx, byte [esi + 0x12]
mov byte [edi + 0x11], dl
movzx eax, byte [esi + 0x11]
mov byte [edi + 0x12], al
movzx ecx, byte [esi + 0x10]
mov byte [edi + 0x13], cl
movzx edx, byte [esi + 0x17]
mov byte [edi + 0x14], dl
movzx eax, byte [esi + 0x16]
mov byte [edi + 0x15], al
movzx ecx, byte [esi + 0x15]
mov byte [edi + 0x16], cl
movzx edx, byte [esi + 0x14]
mov byte [edi + 0x17], dl
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x18], al
movzx ecx, byte [esi + 0x1a]
mov byte [edi + 0x19], cl
movzx edx, byte [esi + 0x19]
mov byte [edi + 0x1a], dl
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x1b], al
movzx ecx, byte [esi + 0x1f]
mov byte [edi + 0x1c], cl
movzx edx, byte [esi + 0x1e]
mov byte [edi + 0x1d], dl
movzx eax, byte [esi + 0x1d]
mov byte [edi + 0x1e], al
movzx ecx, byte [esi + 0x1c]
mov byte [edi + 0x1f], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x476020
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x476ac0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x40
lea eax, [ebp - 0x44]
push 0x36
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
test esi, esi
jle 0x476b03
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
sub edi, ecx
nop
cmp eax, 0x40
jge 0x476b03
lea ecx, [ebp + eax - 0x44]
mov dl, byte [edi + ecx]
xor byte [ecx], dl
inc eax
cmp eax, esi
jl 0x476af0
push ebx
call fcn.00476710
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00476730
push 0x40
lea ecx, [ebp - 0x44]
push 0x5c
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x1c
xor ecx, ecx
test esi, esi
jle 0x476b46
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x44]
sub edi, edx
cmp ecx, 0x40
jge 0x476b46
lea eax, [ebp + ecx - 0x44]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, esi
jl 0x476b33
lea edx, [ebx + 0x60]
push edx
call fcn.00476710
push 0x40
lea eax, [ebp - 0x44]
push eax
push edx
call fcn.00476730
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x478730
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
test eax, eax
je 0x478895
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x478895
push edi
mov edi, dword [eax]
test edi, edi
je 0x478761
mov eax, dword [ecx]
cmp eax, 7
jl 0x478786
add eax, edi
mov dword [ebp - 0x10], eax
jmp 0x47876f
mov edi, 0x50cb10
mov dword [eax], edi
mov dword [ebp - 0x10], 0x50cb3c
mov eax, dword [ebp + 8]
cmp byte [eax], 0x21
jne 0x47877d
inc eax
mov byte [edi], 0x89
jmp 0x478780
mov byte [edi], 0x83
inc edi
cmp byte [eax], 0x40
je 0x47878e
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 1], 4
add edi, 2
push ebx
inc eax
lea ecx, [edi + 4]
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
xor bl, bl
mov dword [ebp - 0xc], ecx
jmp 0x4787b3
mov eax, dword [ebp - 4]
cmp bl, 0x3a
je 0x4787d7
mov bl, byte [eax]
mov esi, eax
test bl, bl
je 0x4787d7
cmp bl, 0x2c
je 0x4787e9
cmp bl, 0x40
je 0x4787f5
cmp bl, 0x3a
je 0x4787f5
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x4787c0
xor esi, esi
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
je 0x4787fb
mov dword [ebp - 8], eax
jmp 0x478822
mov byte [esi], 0
inc esi
cmp byte [esi], 0x40
jne 0x4787d9
inc esi
jmp 0x4787d9
mov byte [esi], 0
inc esi
jmp 0x4787d9
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x478884
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 8]
push ecx
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [ebp - 0xc], 4
mov dword [edi], eax
add edi, 4
test esi, esi
je 0x478848
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], esi
cmp edx, dword [ebp - 0x10]
jbe 0x4787b0
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
mov byte [edx + 1], cl
cmp cl, 7
jg 0x478872
mov eax, dword [ebp + 0x10]
mov dword [esi], 0
pop esi
pop ebx
mov dword [eax], 0
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [edi], 1
sub edi, dword [esi]
pop esi
inc edi
pop ebx
mov dword [ecx], edi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
pop esi
pop ebx
mov dword [eax], edx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x479de0
Capabilities:
Terminate process

Disassembly:
push 0x5000
push 0x51f140
push 0x51a120
call fcn.00479270
add esp, 0xc
cmp eax, 1
je 0x479e04
push 1
call dword [sym.imp.MSVCR100.dll_exit]
push 0x2800
push 0x515080
push 0x5178e0
call fcn.00479270
add esp, 0xc
cmp eax, 1
je 0x479e28
push 1
call dword [sym.imp.MSVCR100.dll_exit]
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
mov dword [0x50d024], eax
ret

Function at 0x479ef0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0x51a120
call fcn.00479430
mov esi, eax
add esp, 4
mov edi, esi
test esi, esi
jle 0x479f98
cmp esi, 0x200
jle 0x479f1a
mov esi, 0x200
mov edi, esi
push 0x51a120
call fcn.004792a0
add esp, 4
test eax, eax
jne 0x479f5d
cmp dword [0x50ccd4], eax
je 0x479f4b
mov eax, dword [0x51a120]
mov ecx, dword [0x524140]
push esi
push eax
push ecx
call fcn.004a6cc0
add esp, 0xc
jmp 0x479f94
mov edx, dword [0x51a120]
mov eax, dword [0x517900]
push 0
push esi
push edx
push eax
jmp 0x479f8f
cmp dword [0x50ccd4], 0
push 1
je 0x479f80
mov ecx, dword [0x51a120]
mov edx, dword [0x524140]
push ecx
push edx
call fcn.004a6cc0
add esp, 0xc
jmp 0x479f94
mov eax, dword [0x51a120]
mov ecx, dword [0x517900]
push 1
push eax
push ecx
call sub.WSOCK32.dll_send
mov esi, eax
test esi, esi
jns 0x479fd3
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2747
je 0x479fd1
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x479fd1
mov edx, dword [0x517900]
push edx
call fcn.00479d70
push 0x51a120
call fcn.004792c0
add esp, 8
pop edi
or eax, 0xffffffff
pop esi
ret
xor esi, esi
cmp dword [0x514d7c], 0
je 0x479ff1
test esi, esi
je 0x47a025
mov eax, dword [0x51a120]
push esi
push eax
push 0x3e
call fcn.0047a2b0
add esp, 0xc
test esi, esi
je 0x47a025
push esi
push 0x51a120
call fcn.00479320
add esp, 8
cmp edi, esi
jne 0x47a01d
push 0x51a120
call fcn.00479430
add esp, 4
test eax, eax
je 0x47a01d
call fcn.00479ef0
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x47a030
Capabilities:
Terminate process

Disassembly:
push 0x5000
push 0x51a140
push 0x5178c0
call fcn.00479270
add esp, 0xc
cmp eax, 1
je 0x47a054
push 1
call dword [sym.imp.MSVCR100.dll_exit]
push 0x2800
push 0x517920
push 0x517880
call fcn.00479270
add esp, 0xc
cmp eax, 1
je 0x47a078
push 1
call dword [sym.imp.MSVCR100.dll_exit]
call fcn.00433030
mov dword [0x50d15c], eax
ret
Function at 0x47a190
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x47a227
push 0x5178e0
call fcn.004793c0
add esp, 4
cmp dword [0x50ccd4], esi
je 0x47a1cc
mov ecx, dword [0x524140]
push eax
mov eax, dword [0x5178e4]
push eax
push ecx
call fcn.004a6ca0
add esp, 0xc
jmp 0x47a1e1
mov edx, dword [0x5178e4]
push 0
push eax
mov eax, dword [0x517900]
push edx
push eax
call sub.WSOCK32.dll_recv
mov esi, eax
test esi, esi
jns 0x47a23b
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x47a239
xor esi, esi
cmp dword [0x514d7c], 0
je 0x47a210
mov ecx, dword [0x5178e4]
push esi
push ecx
push 0x3c
call fcn.0047a2b0
add esp, 0xc
test esi, esi
je 0x47a222
push esi
push 0x5178e0
call fcn.004792d0
add esp, 8
mov esi, 1
cmp dword [ebp + 0xc], 0
je 0x47a234
call fcn.00479ef0
or esi, eax
mov eax, esi
pop esi
pop ebp
ret
test esi, esi
jg 0x47a1f5
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x47b3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x50d028], 0
mov eax, dword [ebp + 8]
jne 0x47b42c
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0xffffffffffffffff
push eax
call fcn.0040d5c0
mov eax, dword [0x50f02c]
add esp, 0x10
push 0x30
push str.PRONTO_TELNET
lea edx, [ebp - 0x404]
push edx
push eax
mov byte [0x50d028], 1
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.0047b390
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_exit]
int3