joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eaf4
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045ea10
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404114
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, 0x45eb5c
mov eax, ebx
call fcn.0045e2f4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45eb4e
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.00404114
pop esi
pop ebx
ret

Function at 0x45eb80
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.0040520c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.004035fc
cmp dword [esp + 4], 0
je 0x45ebd2
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret

Function at 0x45ecb8
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 0x45ece9
mov ecx, dword [0x53ecac]
mov dl, 1
mov eax, dword [0x45dbb0]
call fcn.0040d2a0
call fcn.004046ac
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 0x45ed16
mov ecx, dword [0x53eb70]
mov dl, 1
mov eax, dword [0x45dbb0]
call fcn.0040d2a0
call fcn.004046ac
xor eax, eax
push ebp
push 0x45ed92
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.00404114
cmp byte [ebp + 8], 0
je 0x45ed6e
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.0045ec20
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.0045eaf4
jmp 0x45ed88
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.0045e5e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45edaf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45ef98
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.0045e8a8
xor eax, eax
push ebp
push 0x45f10a
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 0x45f0f4
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45efe4
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45efee
call fcn.00404758
jmp 0x45f111
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bad8
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 0x45f0e9
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 0x45f09c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45f089
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404114
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.0045ef50
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45f11c]
cmp dl, byte [eax + 0x28]
je 0x45f0f0
call fcn.0040d1b8
jmp 0x45f0f0
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041baf8
jmp 0x45f0f0
cmp edi, ebx
jge 0x45f0b8
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.0041baf8
jmp 0x45efee
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.0041bad8
cmp edx, dword [esp + 4]
jne 0x45f0d8
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45efee
push ebp
call fcn.0045ef50
pop ecx
jmp 0x45f0f0
push ebp
call fcn.0045ef50
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f111
mov eax, dword [ebp - 4]
call fcn.0045e8b4
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f120
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 0x45f242
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045e8a8
xor eax, eax
push ebp
push 0x45f225
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 0x45f170
call fcn.00404758
jmp 0x45f22c
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 0x45f20f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45f20f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404114
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 0x45f20f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c99c
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, 0x45f25c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x53ef58]
mov dl, 1
mov eax, dword [0x45dbb0]
call fcn.0040d2dc
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f22c
mov eax, dword [ebp - 4]
call fcn.0045e8b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f249
lea eax, [ebp - 0x28]
call fcn.00404d3c
ret
Function at 0x45f2a8
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 0x45f3f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045e8a8
xor eax, eax
push ebp
push 0x45f3d5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45f30d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45f30d
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 0x45f3bf
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45f320
call fcn.00404758
jmp 0x45f3dc
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 0x45f3bf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45f3bf
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404114
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 0x45f3bf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c99c
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, 0x45f40c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x53ef58]
mov dl, 1
mov eax, dword [0x45dbb0]
call fcn.0040d2dc
call fcn.004046ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f3dc
mov eax, dword [ebp - 4]
call fcn.0045e8b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f3f9
lea eax, [ebp - 0x28]
call fcn.00404d3c
ret
Function at 0x462bf8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x38]
cmp eax, 0xc8
jbe 0x462c39
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x34]
cmp eax, 0x20
jbe 0x462c39
mov eax, dword [edi + 0x48]
mov ecx, 3
cdq
idiv ecx
cmp eax, dword [edi + 0x40]
jle 0x462c33
cmp dword [edi + 0x34], 0
je 0x462c3d
cmp dword [edi + 0x34], 0
jne 0x462c3d
xor ebx, ebx
jmp 0x462c3f
mov bl, 1
imul eax, esi, 0x64
cdq
idiv dword [edi + 0x48]
mov ebp, eax
cmp ebp, dword [edi + 0x3c]
jne 0x462c51
test bl, bl
je 0x462c9b
mov eax, ebp
push eax
push ebx
mov eax, dword [edi + 0x40]
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, dword [edi + 0x8c]
mov edx, dword [edi + 0x34]
xor eax, eax
call fcn.00417ea4
lea eax, [esp + 8]
push eax
mov eax, dword [edi + 0x30]
push eax
mov cl, 1
mov edx, edi
mov eax, edi
mov si, 0xfffd
call fcn.00404114
test bl, bl
je 0x462c98
mov eax, dword [edi + 0x40]
mov dword [edi + 0x34], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ebp
inc dword [edi + 0x40]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4642c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040520c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x464318
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53f260]
mov dl, 1
mov eax, dword [0x463db4]
call fcn.0040d2dc
call fcn.004046ac
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00463ebc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x464a68
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], edx
mov esi, eax
lea edi, [ebp - 0x94]
xor eax, eax
push ebp
push 0x464cb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x94
call fcn.00407ef0
mov dword [edi], 0x94
push edi
call sub.kernel32.dll_GetVersionExA
mov eax, esi
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404fbc
mov eax, dword [edi + 4]
mov dword [0x541590], eax
mov edx, dword [edi + 8]
mov dword [0x541594], edx
mov edx, dword [edi + 0xc]
mov dword [0x541598], edx
xor ebx, ebx
cmp dword [edi + 0x10], 2
jne 0x464baa
sub eax, 3
je 0x464b0a
dec eax
je 0x464b0e
dec eax
je 0x464b12
jmp 0x464b14
mov bl, 1
jmp 0x464b14
mov bl, 3
jmp 0x464b14
mov bl, 0xa
cmp dword [edi + 4], 5
jne 0x464b22
cmp dword [edi + 8], 1
jne 0x464b22
mov bl, 0xb
cmp dword [edi + 4], 5
jne 0x464b30
cmp dword [edi + 8], 2
jne 0x464b30
mov bl, 0xc
mov eax, dword [esi]
mov edx, 0x464cc8
call fcn.00405158
jne 0x464c92
mov dl, 1
mov eax, dword [0x463e14]
call fcn.00463ee4
mov edi, eax
mov edx, 0x80000002
mov eax, edi
call fcn.00463f84
mov edx, 0x464ce0
mov eax, edi
call fcn.00463fe8
test al, al
je 0x464b9e
mov edx, 0x464d28
mov eax, edi
call fcn.00464334
test al, al
je 0x464b97
mov edx, 0x464d28
mov eax, edi
call fcn.00464290
dec eax
jne 0x464b97
mov eax, esi
mov edx, 0x464d3c
call fcn.00404d90
mov eax, edi
call fcn.00463f54
mov eax, edi
call fcn.00403f0c
jmp 0x464c92
cmp dword [edi + 4], 4
jne 0x464c6a
cmp dword [edi + 8], 0
jne 0x464c6a
mov bl, 2
lea eax, [ebp - 0x9c]
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404fbc
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00409454
mov eax, dword [ebp - 0x98]
mov edx, 0x464d54
call fcn.00405158
jne 0x464bf8
mov bl, 4
lea eax, [ebp - 0xa4]
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404fbc
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00409454
mov eax, dword [ebp - 0xa0]
mov edx, 0x464d60
call fcn.00405158
jne 0x464c30
mov bl, 5
lea eax, [ebp - 0xac]
lea edx, [edi + 0x14]
mov ecx, 0x80
call fcn.00404fbc
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00409454
mov eax, dword [ebp - 0xa8]
mov edx, 0x464d6c
call fcn.00405158
jne 0x464c92
mov bl, 6
jmp 0x464c92
cmp dword [edi + 4], 4
jne 0x464c84
cmp dword [edi + 8], 0xa
jne 0x464c84
mov bl, 7
cmp word [edi + 0xc], 0x8ae
jne 0x464c92
mov bl, 8
jmp 0x464c92
cmp dword [edi + 4], 4
jne 0x464c92
cmp dword [edi + 8], 0x5a
jne 0x464c92
mov bl, 9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464cb7
lea eax, [ebp - 0xac]
mov edx, 6
call fcn.00404d60
ret
Function at 0x46530c
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.0040a138
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
mov edx, dword [esp + 4]
call fcn.00404f44
mov eax, dword [esp + 4]
call fcn.0040a194
mov dl, 1
mov eax, dword [0x463e14]
call fcn.00463ee4
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00463f84
mov edx, 0x4653a8
mov eax, ebx
call fcn.00463fe8
test al, al
je 0x465394
mov edx, 0x4653ec
mov eax, ebx
call fcn.00464334
test al, al
je 0x46538d
mov edx, 0x4653ec
mov ecx, esi
mov eax, ebx
call fcn.00464218
mov eax, ebx
call fcn.00463f54
mov eax, ebx
call fcn.00403f0c
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4653fc
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.0040a138
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x465431
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.0040a124
jmp 0x465438
mov eax, ebx
call fcn.00404d3c
mov eax, ebx
mov edx, dword [esp + 4]
call fcn.00404f44
mov eax, dword [esp + 4]
call fcn.0040a194
pop ecx
pop edx
pop ebx
ret

Function at 0x465450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4654e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405494
mov eax, 0x104
call fcn.0040a138
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4654ac
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004055b4
mov eax, dword [ebp - 8]
call fcn.0040a194
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.004165a4
test al, al
je 0x4654d3
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4654f0
lea eax, [ebp - 0xc]
call fcn.00406ab8
ret
Function at 0x4695a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x64
call sub.kernel32.dll_Sleep
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x469640]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4707fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0xc]
cmp eax, 0x7530
jbe 0x47086b
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x47086b
mov edx, ebx
mov eax, dword [esi + 4]
call fcn.004195b0
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esp]
sub eax, dword [edx + 8]
cmp eax, 0x493e0
jbe 0x470865
mov edx, ebx
mov eax, dword [esi + 4]
call fcn.00419434
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00402b08
mov edx, dword [0x46da10]
mov eax, dword [esp]
call fcn.00405ebc
dec ebx
cmp ebx, 0xffffffff
jne 0x470824
pop edx
pop esi
pop ebx
ret

Function at 0x470870
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x10]
cmp eax, 0x7530
jbe 0x4708df
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x4708df
mov edx, ebx
mov eax, dword [esi + 8]
call fcn.004195b0
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esp]
sub eax, dword [edx + 8]
cmp eax, 0x493e0
jbe 0x4708d9
mov edx, ebx
mov eax, dword [esi + 8]
call fcn.00419434
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00403f0c
mov edx, dword [0x46da3c]
mov eax, dword [esp]
call fcn.00405ebc
dec ebx
cmp ebx, 0xffffffff
jne 0x470898
pop edx
pop esi
pop ebx
ret
Function at 0x479c78
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
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
je 0x479dfc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 4]
cmp eax, 0x2710
jbe 0x479dfc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 8]
cmp eax, 0x493e0
jbe 0x479dfc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x479dfc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.004195b0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x479def
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 0xc]
jle 0x479def
call sub.kernel32.dll_GetTickCount_1
mov ebx, dword [ebp - 0xc]
add ebx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
sub eax, dword [edx + ebx*8 + 0xc]
cmp eax, 0x493e0
jbe 0x479def
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
call fcn.00419434
xor eax, eax
push ebp
push 0x479d69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
cmp dword [eax + ebx*8 + 8], 0
je 0x479d5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
lea eax, [eax + ebx*8 + 8]
call fcn.0040edb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x479d84
xor edx, edx
push ebp
push 0x479dbd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
cmp dword [edx + eax*8 + 4], 0
je 0x479db3
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
lea eax, [edx + eax*8 + 4]
call fcn.0040edb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x479dd8
mov eax, dword [ebp - 0xc]
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 4], ecx
xor ecx, ecx
mov dword [edx + eax*8 + 8], ecx
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x479cde
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x488258
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x4882df
cmp dword [ebx + 0x10], 0
jle 0x4882df
mov ecx, edx
mov eax, dword [0x488020]
mov dl, 1
call fcn.004884b0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4882d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.00402d04
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004886d0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.0041bd3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4882df
mov eax, dword [ebp - 4]
call fcn.00403f0c
ret
pop ebx
pop ecx
pop ebp
ret