joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4796dc
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x47976b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x495c80
push 0x202
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x479755
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040c0fc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x479780
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [0x494dd8]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040ca30
call fcn.00404334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479772
lea eax, [ebp - 0x20]
call fcn.004049a4
ret

Function at 0x479e28
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x479ea4]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x479e5a
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.00479fe0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x479ea4]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x479e9d
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret

Function at 0x479f54
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00479e28
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403d9c
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x479fd8
mov eax, dword [ebp - 4]
call fcn.00479610
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x28], 0x10
jne 0x479fca
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403d9c
pop esi
pop ecx
pop ebp
ret
Function at 0x47a018
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00479c64
xor eax, eax
push ebp
push 0x47a099
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004049a4
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x47a052
call fcn.004043e0
jmp 0x47a0a0
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x47a083
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00404b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a0a0
mov eax, dword [ebp - 4]
call fcn.00479c7c
ret
mov esp, ebp
pop ebp
ret

Function at 0x47a150
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404e64
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.00403444
cmp dword [ebp - 0x10], 0
je 0x47a1bf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x47a2c8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47a2fa
mov ecx, dword [0x494ee4]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040c9f4
call fcn.00404334
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x47a32b
mov ecx, dword [0x494c68]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040c9f4
call fcn.00404334
xor eax, eax
push ebp
push 0x47a3ae
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.00403d9c
cmp byte [ebp + 8], 0
je 0x47a387
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047a21c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
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.00479ea8
jmp 0x47a3a4
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a3cb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47a3d4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47a406
mov ecx, dword [0x494cd4]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040c9f4
call fcn.00404334
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x47a437
mov ecx, dword [0x494c68]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040c9f4
call fcn.00404334
xor eax, eax
push ebp
push 0x47a4b5
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.00403d9c
cmp byte [ebp + 8], 0
je 0x47a490
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047a21c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
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.00479f54
jmp 0x47a4ab
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a4d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47a720
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00479c64
xor eax, eax
push ebp
push 0x47a89e
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 0x47a888
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x47a76b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47a775
call fcn.004043e0
jmp 0x47a8a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041793c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x47a87d
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x47a82b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x47a818
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d9c
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.0047a6d8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x47a8b0]
cmp dl, byte [eax + 0x28]
je 0x47a884
call fcn.0040c918
jmp 0x47a884
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041795c
jmp 0x47a884
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x47a84c
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041795c
jmp 0x47a775
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.0041793c
cmp edx, dword [esp + 4]
jne 0x47a86c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47a775
push ebp
call fcn.0047a6d8
pop ecx
jmp 0x47a884
push ebp
call fcn.0047a6d8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a8a5
mov eax, dword [ebp - 4]
call fcn.00479c7c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a8b4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a9de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479c64
xor eax, eax
push ebp
push 0x47a9c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47a906
call fcn.004043e0
jmp 0x47a9c8
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47a9ab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x47a9ab
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d9c
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 - 0x14], 0
je 0x47a9ab
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040c0fc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x47a9f8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x494dd8]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040ca30
call fcn.00404334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a9c8
mov eax, dword [ebp - 4]
call fcn.00479c7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a9e5
lea eax, [ebp - 0x30]
call fcn.004049a4
ret
Function at 0x47aa70
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47abc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479c64
xor eax, eax
push ebp
push 0x47aba6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x47aad8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47aad8
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
jmp 0x47ab90
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47aaeb
call fcn.004043e0
jmp 0x47abad
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47ab90
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x47ab90
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d9c
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 - 0x14], 0
je 0x47ab90
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040c0fc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x47abdc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x494dd8]
mov dl, 1
mov eax, dword [0x4786b8]
call fcn.0040ca30
call fcn.00404334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47abad
mov eax, dword [ebp - 4]
call fcn.00479c7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47abca
lea eax, [ebp - 0x30]
call fcn.004049a4
ret

Function at 0x4838f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
dec eax
shl eax, 2
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x483972
xor eax, eax
push ebp
push 0x48396b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483972
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4909dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x490a9a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 3
sub eax, edx
lea eax, [eax*8 + 0x49627c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
add eax, 4
call fcn.004049a4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 1
mov eax, dword [ebp - 8]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x20], edx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], 0xffffffff
mov dl, 1
mov eax, dword [0x413420]
call fcn.00403b64
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x2710
jne 0x4909fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490ab3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491adc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404e54
xor eax, eax
push ebp
push 0x491c94
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x491c65
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 8]
call fcn.00404e64
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x18], eax
mov eax, dword [0x494ca4]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x491c1e
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x494ca4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004154a4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jne 0x491c12
mov eax, dword [ebp - 0x14]
inc dword [eax + 4]
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 8]
cmp eax, 0x3e8
jae 0x491b9a
mov eax, dword [ebp - 0x14]
inc dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [0x494e38]
cmp eax, dword [edx]
jl 0x491bad
mov byte [ebp - 0x19], 1
jmp 0x491bad
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 0xc], edx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0x10]
cmp eax, 0xbb8
jae 0x491bdb
mov eax, dword [ebp - 0x14]
inc dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov edx, dword [0x494e6c]
cmp eax, dword [edx]
jl 0x491bee
mov byte [ebp - 0x19], 1
jmp 0x491bee
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov edx, dword [0x494d18]
cmp eax, dword [edx]
jle 0x491c02
mov byte [ebp - 0x19], 1
mov al, byte [ebp - 0x19]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x491c7e
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x491b46
mov eax, 0x20
call fcn.00402a78
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, 0x20
call fcn.00403444
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 1
mov eax, dword [0x494ca4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00415334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x491c7e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491c9b
lea eax, [ebp - 8]
call fcn.004049a4
ret
Function at 0x491d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x491ed2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x491e9e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x348]
cmp eax, 0xc8
jae 0x491d62
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x491eb7
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x348], eax
xor eax, eax
push ebp
push 0x491e8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x34c], 1
xor eax, eax
push ebp
push 0x491e0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x494eac]
mov eax, dword [eax]
call fcn.004288d4
mov eax, dword [0x494bb0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x491de9
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
mov eax, dword [0x494bb0]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x491dbe
mov eax, dword [0x494bb0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491e16
mov eax, dword [0x494eac]
mov eax, dword [eax]
call fcn.004288dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491ed9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004049c8
ret
Function at 0x7912f0
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x7784a6
pushfd
or dword [esp], 0x100
popfd
cpuid
nop
jmp 0x7784bd
pop ebx
ret
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x79133e
mov eax, dword [esp + 4]
lea esp, [esp + 8]
jmp 0x77849a

Function at 0x7a5b34
Capabilities:
Encode data using xor

Disassembly:
mov edx, ebp
lea edx, [edx - 0xc]
mov dword [edx], ecx
pop edx
jmp 0x7a5b03
push edx
jmp 0x7a5b19

Function at 0x7a773e
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc dword [ebp - 8]
bswap edx
jmp 0x7a776b
jmp 0x7a7777
lea esp, [esp + 4]
jmp 0x7a775d
jmp 0x7a7726
test eax, eax
jl 0x7a71f2
jge 0x7a708c
lcall 0x18d7, 0x12e78012
xchg edi, eax
pop es
bound edx, qword [ecx + 0x54258a2d]
call fcn.007909d6
bswap ecx
bts cx, bp
pop ecx
jmp 0x7a7740
mov edx, 0xe3e91c
push edi
push edi
jmp 0x7a7a22
mov eax, dword [ebp - 8]
pushfd
not cl
push word [esp + 1]
lea esp, [esp + 2]
jmp 0x7a7896
sub esi, 4
sub esp, 0x13
pop word [esp + 0xc]
push dword [esp + 9]
jmp 0x7a77e6
mov dword [ecx + edi], eax
pushfd
lea esp, [esp + 4]
sub edi, 4
clc
jmp 0x7a7799
lea esp, [esp + 4]
jge 0x7a7103
jl 0x7a7027
lea esp, [esp + 1]
lea esp, [esp + 0x14]
cmp dword [ebp - 4], 0
push ecx
jmp 0x7a77bd
mov ecx, dword [ebp - 0x10]
lea esp, [esp + 4]
dec dword [ebp - 4]
jmp 0x7a77af
mov ecx, ebx
mov dx, 0x14a8
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
call 0x790a1e
jmp 0x7a7134

Function at 0x877a8f
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
pop bx
rdtsc
setle ch
pop dword [esp + 0x1b]
mov dl, ah
mov bx, 0x74b1
mov bx, dx
jmp 0x877a79

Function at 0x877c71
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, bx
mov edi, 0x29fbfd58
sub edx, 0xb7d8c626
clc
jmp 0x877cd1
mov word [esp], bp
lea esp, [esp]
mov bh, 0xee
cpuid
jmp 0x877c5b
push word [esp + 7]
xchg dh, al
xchg ebp, edx
bswap ecx
xchg dword [esp + 6], esi
jmp 0x877d46
mov al, 0x8e
mov bl, ch
xchg dword [esp + 5], esi
lea edi, [edx + edi]
pop dword [esp]
push dword [esp]
jmp 0x877c97
btc bp, si
bt si, dx
rdtsc
mov word [esp + 1], sp
push dword [esp + 2]
mov byte [esp + 2], ah
jmp 0x877cad
not bl
xchg dword [esp + 3], eax
mov bx, word [esp + 1]
lea esp, [esp + 3]
jmp 0x877d1b
lea edi, [ebx + ebp]
mov edi, dword [esp + 3]
mov eax, 0x3cf2b7a8
bts si, bx
xchg word [esp + 1], dx
mov cx, 0x4193
jmp 0x877cea
mov dword [esp], edi
sub esp, 0x13
sub esp, 0x10
mov byte [esp + 0x1c], ch
sub esp, 0xb
rdtsc
jmp 0x877d70
xchg cx, ax
and eax, 0xa63fa646
setb dl
rol bl, cl
add esp, 0x28
inc eax
call fcn.00877d5a
mov byte [ebx], ch
bswap ecx
pop dx
bsr edx, edi
push word [esp + 6]
pop dword [esp]
setg ah
jmp 0x877d00
mov ebp, dword [esp + 0x1b]
dec cl
xchg edx, edi
pop dword [esp + 0x1d]
xchg esi, ebx
mov dh, 0x92
jmp 0x877d2f