joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a80c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x526bf4]
cmp dword [eax + 0x30], 0
je 0x47a8b6
cmp dword [ebx + 0x94], 0
jne 0x47a8b0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47a79c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47a8b0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47a876
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47a8b0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d5a0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47a885
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47b418
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47b44d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404980
jmp 0x47b45a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47c564
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47c5a5
mov eax, esi
call fcn.00462a04
test al, al
je 0x47c5a5
mov eax, dword [ebx + 0x84]
call fcn.00462700
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47c5a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00462700
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47d264
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419e88]
call fcn.00405248
xor eax, eax
push ebp
push 0x47d3a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5202b8], 0
jne 0x47d2b7
mov ecx, dword [0x5254f8]
mov dl, 1
mov eax, dword [0x408050]
call fcn.0040d2e8
call fcn.00404248
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403344
mov eax, ebx
call fcn.004050f8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47d3b8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406428
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405108
test eax, eax
jle 0x47d34f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47d348
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b18
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b00
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f20
test eax, eax
jne 0x47d348
mov ebx, 0x15
jmp 0x47d354
mov ebx, 0x10
jmp 0x47d354
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5202b8]
call fcn.0047d1bc
mov eax, dword [ebp - 8]
call fcn.0047d1bc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d3af
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004048b4
lea eax, [ebp - 0x10]
mov edx, dword [0x419e88]
call fcn.00405318
ret

Function at 0x487994
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4879c2
mov eax, ebx
call fcn.00488448
cmp dword [ebx + 0x40], 0
je 0x4879bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x487a33
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x487a25
cmp dword [ebx + 8], 0
je 0x4879e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4879f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x487a25
cmp dword [ebx + 8], 0
je 0x4879d7
cmp eax, 3
je 0x487a09
dec eax
jne 0x4879d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4879d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4879d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x487a51
cmp dword [ebx + 0x14], 0xcc
je 0x487a51
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00487a5c
pop ebx
ret
Function at 0x4984d8
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4984e8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4984fd
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x498600
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.0049856c
mov esi, eax
mov eax, ebx
call fcn.00403a7c
mov eax, esi
pop esi
pop ebx
ret

Function at 0x49a5d0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d40
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x49a757
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x49a774
call fcn.00404e94
test eax, eax
jne 0x49a61b
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x49a780
call fcn.00404b9c
mov eax, esi
mov edx, 0x3c
call fcn.0049a0f0
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402848
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402848
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402848
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402848
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402848
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402848
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404b50
push eax
mov eax, dword [ebp - 4]
call fcn.00404d50
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x49a711
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404a88
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404a88
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404a88
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404a88
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404a88
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404a88
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402868
mov eax, dword [esi + 0x2c]
call fcn.00402868
mov eax, dword [esi + 0x24]
call fcn.00402868
mov eax, dword [esi + 0x1c]
call fcn.00402868
mov eax, dword [esi + 0x10]
call fcn.00402868
mov eax, dword [esi + 4]
call fcn.00402868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a75e
lea eax, [ebp - 4]
call fcn.00404890
ret
Function at 0x49a788
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x49a7a1
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x49a7ae
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x49a7cc
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49bb34
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x49bc51
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.0049b9fc
pop ecx
test al, al
je 0x49bc2c
mov eax, dword [ebp + 8]
push eax
call fcn.0049b840
pop ecx
test al, al
jne 0x49bc2c
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x49bc2c
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.0049b880
pop ecx
test al, al
je 0x49bc2c
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404b00
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004094d8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x178], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x178]
cmp esi, 0xc8
je 0x49bbf7
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x49bc2c
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.0049b880
pop ecx
test al, al
je 0x49bc2c
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404b00
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004094d8
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049b840
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bc58
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048b4
ret
Function at 0x49dc24
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x49dcad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x526ca8
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x49dc97
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c9f4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x49dcc4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x525be4]
mov dl, 1
mov eax, dword [0x49d424]
call fcn.0040d324
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dcb4
lea eax, [ebp - 0x1c]
call fcn.00404890
ret

Function at 0x49e368
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0049e284
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c78
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x49e3d0
mov eax, ebx
call fcn.0049db68
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x49e3c2
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c78
pop esi
pop ebx
ret

Function at 0x49e3f4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404d50
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403344
test ebx, ebx
je 0x49e43f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x49e51c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49e54d
mov ecx, dword [0x525a20]
mov dl, 1
mov eax, dword [0x49d424]
call fcn.0040d2e8
call fcn.00404248
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x49e57a
mov ecx, dword [0x525954]
mov dl, 1
mov eax, dword [0x49d424]
call fcn.0040d2e8
call fcn.00404248
xor eax, eax
push ebp
push 0x49e5f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c78
cmp byte [ebp + 8], 0
je 0x49e5d2
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0049e484
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0049e368
jmp 0x49e5ec
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0049de58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e613
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49e7fc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049e11c
xor eax, eax
push ebp
push 0x49e96d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x49e957
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x49e847
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49e851
call fcn.004042f4
jmp 0x49e974
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041fd7c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x49e94c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x49e8ff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x49e8ec
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c78
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0049e7b4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x49e980]
cmp dl, byte [eax + 0x28]
je 0x49e953
call fcn.0040d200
jmp 0x49e953
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041fd9c
jmp 0x49e953
cmp ecx, ebx
jge 0x49e91b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041fd9c
jmp 0x49e851
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041fd7c
cmp edx, dword [esp + 4]
jne 0x49e93b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49e851
push ebp
call fcn.0049e7b4
pop ecx
jmp 0x49e953
push ebp
call fcn.0049e7b4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e974
mov eax, dword [ebp - 4]
call fcn.0049e128
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e984
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49eaa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e11c
xor eax, eax
push ebp
push 0x49ea89
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49e9d4
call fcn.004042f4
jmp 0x49ea90
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49ea73
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49ea73
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c78
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49ea73
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c9f4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49eac0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x525be4]
mov dl, 1
mov eax, dword [0x49d424]
call fcn.0040d324
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ea90
mov eax, dword [ebp - 4]
call fcn.0049e128
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eaad
lea eax, [ebp - 0x28]
call fcn.00404890
ret
Function at 0x49eb0c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ec56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e11c
xor eax, eax
push ebp
push 0x49ec39
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x49eb71
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x49eb71
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x49ec23
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x49eb84
call fcn.004042f4
jmp 0x49ec40
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49ec23
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49ec23
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c78
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49ec23
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c9f4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49ec70
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x525be4]
mov dl, 1
mov eax, dword [0x49d424]
call fcn.0040d324
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ec40
mov eax, dword [ebp - 4]
call fcn.0049e128
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ec5d
lea eax, [ebp - 0x28]
call fcn.00404890
ret

Function at 0x49f588
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x520ed8]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x49f5c4
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x49f5dc
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49f5d5
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403344
xor edx, edx
mov eax, 0x5210d8
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x49f646
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x49f5fa
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x49f884
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x49f89d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x49f896
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x49f8af
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49f8a8
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0049f478
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49f8c9
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0049f588
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x49f94e
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x49f96b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0049f508
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49f994
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc