joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cedfc
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 0x4cef46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004ce408
xor eax, eax
push ebp
push 0x4cef29
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4cee61
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4cee61
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 0x4cef13
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4cee74
call fcn.00404dfc
jmp 0x4cef30
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 0x4cef13
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4cef13
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004045d4
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 0x4cef13
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d948
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, 0x4cef60
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5537cc]
mov dl, 1
mov eax, dword [0x4cd708]
call fcn.0040e284
call fcn.00404d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cef30
mov eax, dword [ebp - 4]
call fcn.004ce414
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cef4d
lea eax, [ebp - 0x28]
call fcn.004053dc
ret
Function at 0x4d0678
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405878
xor eax, eax
push ebp
push 0x4d0751
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.0040a27c
test al, al
je 0x4d073b
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.0040a104
mov ebx, eax
test ebx, ebx
je 0x4d073b
mov ecx, 2
xor edx, edx
mov eax, ebx
call fcn.0040a1d8
test eax, eax
jns 0x4d06d4
add eax, 3
sar eax, 2
mov esi, eax
add esi, esi
add esi, esi
mov eax, esi
call fcn.00402f18
mov dword [ebp - 8], eax
mov edi, dword [ebp - 8]
mov eax, edi
xor ecx, ecx
mov edx, esi
call fcn.00403b4c
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0040a1d8
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.0040a180
mov eax, ebx
call fcn.0040a234
mov eax, dword [ebp - 8]
xor ebx, ebx
mov edx, esi
test edx, edx
jns 0x4d0720
add edx, 3
sar edx, 2
dec edx
test edx, edx
jl 0x4d0731
inc edx
xor ebx, dword [eax]
add eax, 4
dec edx
jne 0x4d0729
mov eax, dword [ebp - 8]
call fcn.00402f34
mov esi, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0758
lea eax, [ebp - 4]
call fcn.004053dc
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov edi, dword [esi + 0x34]
dec edi
test edi, edi
jl 0x4db9fb
inc edi
xor ebx, ebx
lea ebp, [ebx + ebx*2]
mov eax, dword [esi + 0x58]
cmp dword [eax + ebp*4 + 4], 0
je 0x4db9f7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi + 0x58]
sub eax, dword [edx + ebp*4 + 8]
cmp eax, 0x493e0
jbe 0x4db9f7
mov eax, dword [esi + 0x58]
mov eax, dword [eax + ebp*4 + 4]
call fcn.004043d8
mov eax, dword [esi + 0x58]
xor edx, edx
mov dword [eax + ebp*4 + 4], edx
inc ebx
dec edi
jne 0x4db9c2
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4dba00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4dbab8
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
jl 0x4dba27
cmp esi, dword [ebx + 0x34]
jl 0x4dba34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dbac2
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x54]
cmp eax, 0x2710
jbe 0x4dba52
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x54], eax
mov eax, ebx
call fcn.004db9ac
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0x58]
cmp dword [eax + edi*4 + 4], 0
jne 0x4dba98
mov eax, dword [ebx + 0x60]
cmp esi, dword [eax + 8]
jge 0x4dbaae
mov eax, dword [ebx + 0x60]
mov edx, esi
call fcn.0041b4d4
mov edx, dword [ebx + 0x58]
lea ecx, [edx + edi*4]
mov edx, eax
mov eax, ebx
call fcn.004db7fc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x58]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 4], eax
jmp 0x4dbaae
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x58]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dbac2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4dbacc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4dbbbb
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
jl 0x4dbaf8
cmp esi, dword [ebx + 0x34]
jl 0x4dbb05
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dbbc5
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x54]
cmp eax, 0x2710
jbe 0x4dbb23
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x54], eax
mov eax, ebx
call fcn.004db9ac
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0x58]
cmp dword [eax + edi*4 + 4], 0
jne 0x4dbb82
mov eax, dword [ebx + 0x60]
cmp esi, dword [eax + 8]
jge 0x4dbbb1
mov eax, dword [ebx + 0x60]
mov edx, esi
call fcn.0041b4d4
mov edx, dword [ebx + 0x58]
lea ecx, [edx + edi*4]
mov edx, eax
mov eax, ebx
call fcn.004db7fc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x58]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x58]
movsx eax, word [eax + edi*4]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebx + 0x58]
movsx eax, word [eax + edi*4 + 2]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 8], eax
jmp 0x4dbbb1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx + 0x58]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x58]
movsx eax, word [eax + edi*4]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebx + 0x58]
movsx eax, word [eax + edi*4 + 2]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dbbc5
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4fc55c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x17c]
cmp eax, 0xb
je 0x4fc703
cmp eax, 9
je 0x4fc703
cmp eax, 0xd
je 0x4fc703
cmp eax, 0x1392
je 0x4fc703
mov byte [ebx + 0x220], 0
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 8], 2
jl 0x4fc5aa
mov byte [ebx + 0x220], 1
mov edx, dword [ebx + 0x1f4]
sub edx, dword [ebx + 0x1ec]
mov eax, ebx
mov si, 0xfff8
call fcn.004045d4
mov edx, dword [ebx + 0x1f4]
sub edx, dword [ebx + 0x1ec]
mov eax, ebx
mov si, 0xfff7
call fcn.004045d4
mov edi, dword [ebx + 0x1f4]
cmp dword [ebx + 0x17c], 0
je 0x4fc68f
mov edx, dword [ebx + 0x1ec]
mov eax, dword [ebx + 0x1f4]
cmp edx, eax
jg 0x4fc603
cmp eax, dword [ebx + 0x1f0]
jle 0x4fc609
mov dword [ebx + 0x1f4], edx
cmp byte [ebx + 0x220], 0
je 0x4fc635
mov eax, dword [ebx + 0x20c]
add eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fdiv dword [0x4fc70c]
call fcn.004035cc
mov esi, eax
jmp 0x4fc63b
mov esi, dword [ebx + 0x20c]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x210]
cmp esi, eax
jae 0x4fc67a
mov eax, dword [ebx + 0x1f4]
cmp eax, dword [ebx + 0x1f0]
jge 0x4fc66b
inc dword [ebx + 0x1f4]
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x210], eax
jmp 0x4fc67a
xor eax, eax
mov dword [ebx + 0x17c], eax
mov byte [ebx + 0x122], 0
xor eax, eax
mov dword [ebx + 0x228], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x22c], eax
jmp 0x4fc6e5
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x238]
cmp eax, 0xc8
jbe 0x4fc6e5
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x22c]
cmp eax, 0x1f4
jbe 0x4fc6da
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x22c], eax
inc dword [ebx + 0x228]
mov eax, dword [ebx + 0x228]
cmp eax, dword [ebx + 0x230]
jl 0x4fc6da
xor eax, eax
mov dword [ebx + 0x228], eax
mov eax, ebx
mov si, 0xfffe
call fcn.004045d4
cmp edi, dword [ebx + 0x1f4]
je 0x4fc703
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x240], eax
mov eax, ebx
mov si, 0xfff3
call fcn.004045d4
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4fcb0c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x17c]
cmp eax, 0xb
je 0x4fcd1d
cmp eax, 9
je 0x4fcd1d
cmp eax, 0xd
je 0x4fcd1d
cmp eax, 0x1392
je 0x4fcd1d
mov byte [ebx + 0x220], 0
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 8], 2
jl 0x4fcb5a
mov byte [ebx + 0x220], 1
mov edx, dword [ebx + 0x1f4]
sub edx, dword [ebx + 0x1ec]
mov eax, ebx
mov si, 0xfff8
call fcn.004045d4
mov edx, dword [ebx + 0x1f4]
sub edx, dword [ebx + 0x1ec]
mov eax, ebx
mov si, 0xfff7
call fcn.004045d4
mov edi, dword [ebx + 0x1f4]
cmp dword [ebx + 0x17c], 0
je 0x4fcca9
mov edx, dword [ebx + 0x1ec]
mov eax, dword [ebx + 0x1f4]
cmp edx, eax
jg 0x4fcbb3
cmp eax, dword [ebx + 0x1f0]
jle 0x4fcbb9
mov dword [ebx + 0x1f4], edx
cmp byte [ebx + 0x220], 0
je 0x4fcbe5
mov eax, dword [ebx + 0x20c]
add eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fdiv dword [0x4fcd24]
call fcn.004035cc
mov esi, eax
jmp 0x4fcbeb
mov esi, dword [ebx + 0x20c]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x210]
cmp esi, eax
jae 0x4fcc94
mov eax, dword [ebx + 0x1f4]
cmp eax, dword [ebx + 0x1f0]
jge 0x4fcc1f
inc dword [ebx + 0x1f4]
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x210], eax
jmp 0x4fcc2e
xor eax, eax
mov dword [ebx + 0x17c], eax
mov byte [ebx + 0x122], 0
cmp dword [ebx + 0x17c], 0x16
jne 0x4fcc94
mov eax, dword [ebx + 0x1f4]
sub eax, dword [ebx + 0x1ec]
cmp eax, 4
jne 0x4fcc94
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0xf4]
push eax
mov eax, dword [ebx + 0xf8]
push eax
mov eax, dword [ebx + 0xfc]
push eax
push 0xb
mov eax, dword [0x5530d0]
mov eax, dword [eax]
mov ecx, dword [ebx + 8]
mov edx, ebx
call fcn.00524b3c
test eax, eax
je 0x4fcc94
mov edx, dword [0x553924]
mov edx, dword [edx]
mov dword [eax + 0x14], edx
mov dword [eax + 0x78], 0x1e
mov dword [eax + 0xd0], 0x110
xor eax, eax
mov dword [ebx + 0x228], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x22c], eax
jmp 0x4fccff
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x238]
cmp eax, 0xc8
jbe 0x4fccff
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x22c]
cmp eax, 0x1f4
jbe 0x4fccf4
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x22c], eax
inc dword [ebx + 0x228]
mov eax, dword [ebx + 0x228]
cmp eax, dword [ebx + 0x230]
jl 0x4fccf4
xor eax, eax
mov dword [ebx + 0x228], eax
mov eax, ebx
mov si, 0xfffe
call fcn.004045d4
cmp edi, dword [ebx + 0x1f4]
je 0x4fcd1d
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x240], eax
mov eax, ebx
mov si, 0xfff3
call fcn.004045d4
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x507e3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
mov eax, dword [edi]
cmp dword [eax + 0x764], 1
jne 0x507f08
mov eax, dword [edi]
cmp dword [eax + 0x77c], 0x14
jge 0x507ecc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [edi]
sub eax, dword [edx + 0x784]
cmp eax, 0x64
jbe 0x508012
mov eax, dword [edi]
mov eax, dword [eax + 0x77c]
mov ecx, 5
cdq
idiv ecx
mov ecx, eax
cmp ecx, 4
jne 0x507ea7
mov eax, 6
call fcn.00403540
inc eax
mov edx, dword [edi]
mov dword [edx + 0x770], eax
jmp 0x507eb2
add ecx, 8
mov eax, dword [edi]
mov dword [eax + 0x770], ecx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [edi]
mov dword [edx + 0x784], eax
mov eax, dword [edi]
inc dword [eax + 0x77c]
jmp 0x508012
mov eax, dword [edi]
mov eax, dword [eax + 0x76c]
mov edx, dword [edi]
mov dword [edx + 0x770], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [edi]
sub eax, dword [edx + 0x784]
cmp eax, 0x5dc
jbe 0x508012
mov eax, dword [edi]
mov eax, dword [eax + 0x404]
xor edx, edx
call fcn.004de224
jmp 0x508012
mov byte [ebp - 1], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x764]
dec eax
test eax, eax
jl 0x507ffd
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov esi, ebx
add esi, esi
add esi, esi
add esi, esi
sub esi, ebx
mov eax, dword [edi]
mov eax, dword [eax + esi*4 + 0x77c]
mov edx, dword [edi]
cmp eax, dword [edx + esi*4 + 0x780]
jge 0x507fc8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [edi]
sub eax, dword [edx + esi*4 + 0x784]
cmp eax, 0x64
jbe 0x507fc2
mov eax, dword [edi]
mov eax, dword [eax + esi*4 + 0x77c]
mov ecx, 5
cdq
idiv ecx
cmp eax, 4
jne 0x507f84
mov eax, 6
call fcn.00403540
inc eax
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x770], eax
jmp 0x507fab
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [edi]
mov eax, dword [edx + eax*4 + 0x77c]
mov ecx, 5
cdq
idiv ecx
add eax, 8
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x770], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x784], eax
mov eax, dword [edi]
inc dword [eax + esi*4 + 0x77c]
mov byte [ebp - 1], 0
jmp 0x507ff3
mov eax, dword [edi]
mov eax, dword [eax + esi*4 + 0x76c]
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x770], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [edi]
sub eax, dword [edx + esi*4 + 0x784]
cmp eax, 0x7d0
jae 0x507ff3
mov byte [ebp - 1], 0
inc ebx
dec dword [ebp - 8]
jne 0x507f23
cmp byte [ebp - 1], 0
je 0x508012
mov eax, dword [edi]
mov eax, dword [eax + 0x404]
xor edx, edx
call fcn.004de224
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x51a8d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x51a8dc
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x51aa41
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x190], dl
mov dl, 2
mov eax, ebx
call fcn.0051a628
lea eax, [ebp - 4]
lea edx, [ebx + 0x5a]
call fcn.00405640
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
call fcn.004a8204
lea eax, [ebp - 8]
lea edx, [ebx + 0x65]
call fcn.00405640
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
call fcn.004a8204
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x70]
call fcn.00405640
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x14]
call fcn.004a8204
lea eax, [ebp - 0x10]
lea edx, [ebx + 0x85]
call fcn.00405640
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
call fcn.004a8204
lea eax, [ebp - 0x14]
lea edx, [ebx + 0xa3]
call fcn.00405640
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x20]
call fcn.004a8204
lea eax, [ebp - 0x18]
lea edx, [ebx + 0xb8]
call fcn.00405640
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x24]
call fcn.004a8204
lea eax, [ebp - 0x1c]
lea edx, [ebx + 0x94]
call fcn.00405640
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x30]
call fcn.004a8204
lea eax, [ebp - 0x20]
lea edx, [ebx + 0xc5]
call fcn.00405640
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x38]
call fcn.004a8204
lea eax, [ebp - 0x24]
lea edx, [ebx + 0xee]
call fcn.00405640
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x28]
call fcn.004a8204
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x103]
call fcn.00405640
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x2c]
call fcn.004a8204
lea eax, [ebp - 0x2c]
lea edx, [ebx + 0x11b]
call fcn.00405640
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x34]
call fcn.004a8204
lea eax, [ebp - 0x30]
lea edx, [ebx + 0x110]
call fcn.00405640
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x1c]
call fcn.004a8204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51aa48
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00405400
ret
Function at 0x52ae70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0xa0]
cmp eax, dword [esi + 0x78]
jbe 0x52aed1
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xa0], eax
inc dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
add eax, dword [esi + 0x90]
dec eax
cmp eax, dword [esi + 0x8c]
jge 0x52aed1
mov dword [esi + 0x8c], eax
cmp dword [esi + 0xd0], 0
jle 0x52aecf
dec dword [esi + 0xd0]
mov eax, dword [esi + 0x88]
mov dword [esi + 0x8c], eax
jmp 0x52aed1
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x52cedc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xfffffefc
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 1]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403b4c
lea eax, [esp + 1]
push eax
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x52cf13
movzx eax, byte [esp]
test byte [esp + eax + 1], 0x80
je 0x52cf13
mov bl, 1
mov eax, ebx
add esp, 0x104
pop ebx
ret
Function at 0x52f7ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor edi, edi
movzx eax, byte [ebx + 0x10]
sub al, 8
jae 0x52f8d5
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x240]
cmp eax, 0xea60
jbe 0x52f7f3
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x240], eax
mov eax, ebx
mov si, 0xfff3
call fcn.004045d4
mov eax, ebx
call fcn.0052f724
mov edx, dword [ebx + 0x174]
test edx, edx
je 0x52f836
mov ecx, dword [ebp - 8]
add ecx, dword [ebx + 0xc8]
add ecx, dword [ebx + 0xc0]
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xd8]
add ecx, dword [ebx + 0xc4]
push ecx
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
mov ecx, edx
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0052f5dc
cmp byte [ebx + 0x120], 0
je 0x52f8d5
cmp dword [ebx + 0x150], 0
jle 0x52f8d5
xor eax, eax
mov edx, dword [ebx + 0x13c]
dec edx
lea ecx, [ebp - 0x38]
mov ah, 0x20
call fcn.00403e48
mov eax, dword [ebx + 0x138]
cmp eax, 0xff
ja 0x52f874
bt dword [ebp - 0x38], eax
jae 0x52f8d5
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x150]
dec eax
xor edx, edx
call fcn.005298f8
mov eax, dword [ebx + 0x138]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x52f8ae
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004dbacc
mov edi, eax
test edi, edi
je 0x52f8d5
push edi
push 1
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebx + 0xc4]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
add edx, dword [ebx + 0xc0]
mov eax, dword [ebp - 4]
call fcn.005269ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x55359c]
cmp eax, dword [edx]
jne 0x5307ea
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x128]
cmp eax, 0xbb8
seta al
jmp 0x530803
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x128]
cmp eax, 0x7d0
seta al
test al, al
je 0x530815
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xor ecx, ecx
mov dword [edx + 0x140], ecx
pop ebp
ret
Function at 0x532a14
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x55359c]
cmp eax, dword [edx]
jne 0x532a42
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x128]
cmp eax, 0xbb8
seta al
jmp 0x532a5b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x128]
cmp eax, 0x7d0
seta al
test al, al
je 0x532a6d
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xor ecx, ecx
mov dword [edx + 0x140], ecx
pop ebp
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x5357c5
mov eax, dword [0x55366c]
mov eax, dword [eax]
call fcn.004c7380
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x5357b9
pop esi
pop ebx
ret
Function at 0x53d400
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x55359c]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
imul edx, eax, 0xe
mov eax, 0x172
call fcn.004d0668
mov edx, dword [0x55359c]
mov edx, dword [edx]
movsx edx, byte [edx + 0x7c]
mov ecx, dword [0x55355c]
imul edx, dword [ecx]
add edx, eax
mov eax, 0x320
call fcn.004d0668
mov edx, dword [0x553598]
cmp byte [edx], 0
je 0x53d45a
mov ebx, dword [0x553118]
mov ebx, dword [ebx]
sub ebx, eax
add ebx, 0x5dc
jmp 0x53d464
mov ebx, dword [0x553118]
mov ebx, dword [ebx]
sub ebx, eax
test ebx, ebx
jge 0x53d46a
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0x3d0]
cmp eax, ebx
jbe 0x53d489
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0x3d0], eax
mov al, 1
pop esi
pop ebx
ret
xor eax, eax
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
xor eax, eax
push ebp
push 0x53dba9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x553078]
cmp dword [eax], 0
jbe 0x53db7a
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x55349c]
sub eax, dword [edx]
cmp eax, 0x36ee80
jbe 0x53daa2
mov eax, dword [0x553078]
mov dword [eax], esi
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x55349c]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x55349c]
sub ebx, dword [eax]
mov eax, dword [0x553078]
sub esi, dword [eax]
add esi, 0xbb8
cmp esi, ebx
jge 0x53db03
mov eax, dword [0x5537b4]
inc dword [eax]
mov eax, dword [0x5537b4]
cmp dword [eax], 6
jle 0x53db19
lea eax, [ebp - 4]
mov edx, 0x53dbc0
call fcn.00405474
mov eax, dword [0x5539d0]
mov eax, dword [eax]
movzx ecx, word [0x53dbc4]
mov edx, 0x53dbd0
call fcn.0050801c
mov eax, dword [0x6ce480]
call fcn.004c362c
jmp 0x53db19
lea eax, [ebp - 4]
mov edx, 0x53dc40
call fcn.00405474
mov eax, dword [0x5537b4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5535bc]
cmp byte [eax], 0
je 0x53db8e
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409cc4
push dword [ebp - 0xc]
push 0x53dc50
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00409cc4
push dword [ebp - 0x10]
push 0x53dc5c
lea edx, [ebp - 0x14]
mov eax, esi
sub eax, ebx
call fcn.00409cc4
push dword [ebp - 0x14]
push 0x53dc68
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 7
call fcn.0040578c
mov edx, dword [ebp - 8]
mov eax, dword [0x6ce484]
call fcn.0051c790
jmp 0x53db8e
mov eax, dword [0x553078]
mov dword [eax], esi
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x55349c]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53dbb0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405400
ret