joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465a3c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
xor ecx, ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465b2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x40709c]
call fcn.004061fc
add esp, 4
push 0x40
lea eax, [ebp - 0x54]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x54]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x465b12
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x465af7
mov eax, dword [ebp - 0x14]
cmp eax, 0xa
jbe 0x465ac4
call fcn.00403e80
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1e8]
call fcn.004050ac
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 8]
call fcn.004658c4
add dword [ebp - 0x14], 1
jno 0x465af7
call fcn.00403e88
mov eax, dword [ebp - 0x14]
cmp eax, 0xa
jbe 0x465b04
call fcn.00403e80
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], 0
jne 0x465ab7
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465b32
lea eax, [ebp - 0x1e8]
call fcn.00404eb4
ret

Function at 0x466d2c
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 0x466db5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x495748
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x466d9f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c6f4
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, 0x466dcc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4912ac]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040d024
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466dbc
lea eax, [ebp - 0x1c]
call fcn.00404eb4
ret

Function at 0x4673a8
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor esi, esi
xor edi, edi
movzx eax, byte [0x467404]
cmp al, byte [ebx + 0x28]
je 0x4673cc
mov esi, 0x401
mov eax, ebx
call fcn.004674f4
mov edi, eax
movzx eax, byte [ebx + 0x28]
push eax
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
movzx eax, byte [0x467404]
cmp al, byte [ebx + 0x28]
jne 0x4673fc
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_ioctlsocket
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x467488
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004673a8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004041b4
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4674ec
call fcn.00466c74
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4674de
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.004041b4
pop esi
pop ebx
ret

Function at 0x46766c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405378
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403760
test ebx, ebx
je 0x4676bb
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, 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 0x467798
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 0x4677c9
mov ecx, dword [0x491410]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040cfe8
call fcn.0040482c
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 0x4677f6
mov ecx, dword [0x4910bc]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040cfe8
call fcn.0040482c
xor eax, eax
push ebp
push 0x467877
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.004041b4
cmp byte [ebp + 8], 0
je 0x467851
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00467700
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00467408
jmp 0x46786d
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00466f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467894
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4678a0
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 0x4678d1
mov ecx, dword [0x491158]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040cfe8
call fcn.0040482c
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 0x4678fe
mov ecx, dword [0x4910bc]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040cfe8
call fcn.0040482c
xor eax, eax
push ebp
push 0x46797a
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.004041b4
cmp byte [ebp + 8], 0
je 0x467956
mov eax, dword [ebp + 0x10]
push eax
movzx eax, 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.00467700
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.00467488
jmp 0x467970
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00466f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467997
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x467b5c
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
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046722c
xor eax, eax
push ebp
push 0x467ccf
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 0x467cb9
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x467ba8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x467bb2
call fcn.004048d8
jmp 0x467cd6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d430
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 0x467cae
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 edi, eax
cmp edi, 0xffffffff
jne 0x467c61
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x467c4e
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004041b4
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.00467b14
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x467ce4]
cmp dl, byte [eax + 0x28]
je 0x467cb5
call fcn.0040cf0c
jmp 0x467cb5
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d450
jmp 0x467cb5
cmp edi, ebx
jge 0x467c7d
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041d450
jmp 0x467bb2
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.0041d430
cmp edx, dword [esp + 4]
jne 0x467c9d
cmp eax, dword [esp]
pop edx
pop eax
jne 0x467bb2
push ebp
call fcn.00467b14
pop ecx
jmp 0x467cb5
push ebp
call fcn.00467b14
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467cd6
mov eax, dword [ebp - 4]
call fcn.00467238
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467ce8
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 0x467e0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046722c
xor eax, eax
push ebp
push 0x467ded
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 0x467d38
call fcn.004048d8
jmp 0x467df4
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 0x467dd7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x467dd7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004041b4
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 0x467dd7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c6f4
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, 0x467e24
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4912ac]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040d024
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467df4
mov eax, dword [ebp - 4]
call fcn.00467238
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467e11
lea eax, [ebp - 0x28]
call fcn.00404eb4
ret
Function at 0x467e70
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467fe1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046722c
xor eax, eax
push ebp
push 0x467fc4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x467ed5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x467ed5
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 0x467fae
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x467ee8
call fcn.004048d8
jmp 0x467fcb
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x467f0f
cmp dword [ebp - 0x10], 0
jle 0x467f0f
cmp ebx, dword [ebp - 0x10]
jle 0x467f0f
mov ebx, dword [ebp - 0x10]
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 0x467fae
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x467fae
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004041b4
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 0x467fae
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040c6f4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x467ffc
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x4912ac]
mov dl, 1
mov eax, dword [0x465d58]
call fcn.0040d024
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467fcb
mov eax, dword [ebp - 4]
call fcn.00467238
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467fe8
lea eax, [ebp - 0x2c]
call fcn.00404eb4
ret
Function at 0x469960
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00469b34
mov dword [ebp - 0x18], eax
movsx eax, word [ebp - 0x18]
mov dword [ebp - 0x14], eax
movsx eax, word [ebp - 0x16]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
xor edx, edx
xor eax, eax
call fcn.00469910
push eax
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
jno 0x4699a2
call fcn.00403e88
test eax, eax
jns 0x4699ab
call fcn.00403e80
push eax
push 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_FillConsoleOutputCharacterA
lea eax, [ebp - 0xc]
push eax
xor edx, edx
xor eax, eax
call fcn.00469910
push eax
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
jno 0x4699d6
call fcn.00403e88
test eax, eax
jns 0x4699df
call fcn.00403e80
push eax
mov ax, word [ebp - 6]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_FillConsoleOutputAttribute
xor edx, edx
xor eax, eax
call fcn.00469910
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
mov esp, ebp
pop ebp
ret

Function at 0x469c40
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
pop ecx
pop ecx
pop ebp
ret

Function at 0x469ce0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405378
push eax
call sub.kernel32.dll_SetConsoleTitleA
pop ecx
pop ecx
pop ebp
ret
Function at 0x4728f4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472a74
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403760
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4902e8], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4902ec], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4902f0], eax
mov eax, dword [0x491428]
cmp dword [eax], 2
sete byte [0x48fec8]
push 0x472a80
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00472c80
cmp byte [0x48fec8], 0
jne 0x472980
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00472cb0
test al, al
je 0x472980
mov eax, dword [ebp - 0x4c]
mov dword [0x495e60], eax
jmp 0x472987
xor eax, eax
mov dword [0x495e60], eax
call fcn.0047278c
and eax, 0x7f
cmp eax, 0xc
ja case.0x472998.0
jmp dword [eax*4 + 0x47299f]
mov byte [0x48feb4], 1
jmp case.0x472998.0
mov byte [0x48feb8], 1
jmp case.0x472998.0
mov byte [0x48febc], 1
jmp case.0x472998.0
mov byte [0x48fec0], 1
jmp case.0x472998.0
mov byte [0x48fec4], 1
jmp case.0x472998.0
mov byte [0x48fecc], 1
mov byte [0x48fed0], 1
jmp case.0x472998.0
mov byte [0x48fecc], 1
mov byte [0x48fed4], 1
jmp case.0x472998.0
mov byte [0x48fecc], 1
mov byte [0x48fed4], 1
mov byte [0x48fed8], 1
jmp case.0x472998.0
mov byte [0x48fedc], 1
jmp case.0x472998.0
mov byte [0x48fee0], 1
jmp case.0x472998.0
mov byte [0x48fee4], 1
jmp case.0x472998.0
mov byte [0x48fee8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472a7b
lea eax, [ebp - 4]
call fcn.00404eb4
ret

Function at 0x472cb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x472d57
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405378
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x472d41
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405600
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405378
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x472d41
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x472d68
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472d41
cmp dword [ebp - 0xc], 0x34
jne 0x472d41
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d5e
lea eax, [ebp - 4]
call fcn.00404eb4
ret
Function at 0x478c40
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x478c6e
mov eax, ebx
call fcn.004796f4
cmp dword [ebx + 0x40], 0
je 0x478c67
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x478cdf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x478cd1
cmp dword [ebx + 8], 0
je 0x478c90
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 0x478ca2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x478cd1
cmp dword [ebx + 8], 0
je 0x478c83
cmp eax, 3
je 0x478cb5
dec eax
jne 0x478c83
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 0x478c83
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x478c83
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x478cfd
cmp dword [ebx + 0x14], 0xcc
je 0x478cfd
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.00478d08
pop ebx
ret
Function at 0x635800
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b5690]
xor edx, edx
cmp eax, edx
jne 0x635826
xor eax, eax
mov byte [eax + 0x5b5590], al
inc eax
cmp eax, 0x100
jl 0x63580e
mov dword [0x5b5690], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b5590
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x6358b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x63588a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x635858
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x635930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x635983
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x63596a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x64a330
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46df28
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x64a369
inc eax
mov dword [esi + 0x10], eax
jmp 0x64a47c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x64a37d
mov eax, 0xffffffc7
jmp 0x64a47e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x64a38e
cmp dword [esi + 8], eax
jne 0x64a37d
cmp dword [esi + 8], eax
jne 0x64a3a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x64a3a7
mov eax, 0xffffffc7
jmp 0x64a47e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x64a3bb
push eax
mov ecx, ebx
call fcn.00649b60
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0061cd10
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x64a3ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0061cd30
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.006492d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x64a41f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x58a860
call fcn.0061cf10
mov eax, dword [esp + 0x38]
jmp 0x64a47e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0064a190
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x64a463
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0064a1b0
mov esi, eax
test esi, esi
jne 0x64a493
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0064a190
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x64a435
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x58a860
call fcn.0061cf10
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x58a860
call fcn.0061cf10
mov eax, esi
jmp 0x64a47e