joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4759ac
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 0x475ace
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475138
xor eax, eax
push ebp
push 0x475ab1
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 0x4759fc
call fcn.004048d8
jmp 0x475ab8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.004743b0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x475a9b
call fcn.004743f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x475a9b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404294
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 0x475a9b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040df7c
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, 0x475ae8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x531dd4]
mov dl, 1
mov eax, dword [0x474440]
call fcn.0040e8bc
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ab8
mov eax, dword [ebp - 4]
call fcn.00475144
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ad5
lea eax, [ebp - 0x28]
call fcn.00404e18
ret
Function at 0x475b34
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 0x475c7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00475138
xor eax, eax
push ebp
push 0x475c61
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x475b99
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x475b99
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.00474390
jmp 0x475c4b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x475bac
call fcn.004048d8
jmp 0x475c68
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.004743a8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x475c4b
call fcn.004743f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x475c4b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404294
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 0x475c4b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040df7c
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, 0x475c98
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x531dd4]
mov dl, 1
mov eax, dword [0x474440]
call fcn.0040e8bc
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c68
mov eax, dword [ebp - 4]
call fcn.00475144
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c85
lea eax, [ebp - 0x28]
call fcn.00404e18
ret

Function at 0x47a68c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
test dl, dl
je 0x47a69a
add esp, 0xfffffff0
call fcn.004043c4
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.0040405c
push 0x40
push 0x1000
push 0x800
push 0
call fcn.00407574
mov dword [esi + 4], eax
mov eax, esi
test bl, bl
je 0x47a6d2
call fcn.0040441c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x48b950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48bbb0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48b9b3
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048b418
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f188
cmp al, 1
jne 0x48b9b3
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048b730
test al, al
je 0x48bb3f
cmp dword [ebp - 8], 0
jge 0x48b9d1
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048b418
mov eax, dword [ebp - 0x210]
call fcn.004050d8
cmp ebx, eax
jge 0x48ba1b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048b418
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5320d8]
and eax, 0xff
bt dword [edx], eax
jae 0x48ba1b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48ba2f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048b92c
cmp ebx, dword [ebp - 8]
je 0x48bb31
lea eax, [ebp - 0x108]
push eax
call fcn.00407a5c
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48ba5b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404294
and eax, 0x7f
movzx eax, word [eax*2 + 0x52df64]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call fcn.00407cec
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48bb1e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404294
and eax, 0x7f
movzx eax, word [eax*2 + 0x52df64]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00459794
push eax
call fcn.00407ca4
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404294
and eax, 0x7f
movzx eax, word [eax*2 + 0x52df64]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00459794
push eax
call fcn.00407ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bb25
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48bb92
cmp dword [ebp - 8], 0
jge 0x48bb4a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048b418
mov eax, dword [ebp - 0x218]
call fcn.004050d8
cmp eax, dword [ebp - 8]
jg 0x48bb84
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048b418
mov eax, dword [ebp - 0x21c]
call fcn.004050d8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048b92c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bbb7
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404e3c
ret
Function at 0x496dd4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
push esi
mov byte [ebp - 7], cl
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
xor esi, esi
lea eax, [ebp - 0x107]
mov edx, esi
mov byte [eax], dl
inc esi
inc eax
cmp esi, 0x100
jne 0x496df1
mov esi, 0x7f
lea ecx, [ebp - 0x88]
movzx eax, word [ebp - 6]
mov edx, esi
dec edx
mov ebx, edx
cdq
idiv ebx
mov eax, edx
inc eax
mov dl, byte [ecx]
xor ebx, ebx
mov bl, al
mov bl, byte [ebp + ebx - 0x107]
mov byte [ecx], bl
and eax, 0xff
mov byte [ebp + eax - 0x107], dl
movzx eax, word [ebp - 6]
mov edx, esi
dec edx
mov ebx, edx
cdq
idiv ebx
mov eax, edx
add al, 0x80
mov dl, byte [ecx + 0x7f]
xor ebx, ebx
mov bl, al
mov bl, byte [ebp + ebx - 0x107]
mov byte [ecx + 0x7f], bl
and eax, 0xff
mov byte [ebp + eax - 0x107], dl
dec esi
dec ecx
cmp esi, 1
jne 0x496e0a
cmp byte [ebp - 7], 0
jne 0x496ea3
lea edx, [ebp - 0x207]
lea eax, [ebp - 0x107]
mov ecx, pe_nt_image_headers32
call fcn.00403098
xor esi, esi
lea eax, [ebp - 0x207]
mov edx, esi
xor ecx, ecx
mov cl, byte [eax]
mov byte [ebp + ecx - 0x107], dl
inc esi
inc eax
cmp esi, 0x100
jne 0x496e8c
mov eax, dword [ebp - 4]
call fcn.004050d8
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00405464
mov eax, dword [ebp - 4]
call fcn.004050d8
mov ebx, eax
test ebx, ebx
jle 0x496ee7
mov esi, 1
mov eax, dword [ebp + 8]
call fcn.00405330
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
mov dl, byte [ebp + edx - 0x107]
mov byte [eax + esi - 1], dl
inc esi
dec ebx
jne 0x496ec8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebx, eax
xor ebp, ebp
test esi, esi
jl 0x4993d5
cmp esi, dword [ebx + 0x34]
jge 0x4993d5
cmp byte [ebx + 0x88c], 0
jne 0x49937e
call fcn.00407464
sub eax, dword [ebx + 0x70]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x58]
cdq
cmp edx, dword [esp + 4]
jne 0x49936b
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49937e
jmp 0x49936f
pop edx
pop eax
jge 0x49937e
call fcn.00407464
mov dword [ebx + 0x70], eax
mov eax, ebx
call fcn.00499554
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0x74]
cmp dword [eax + edi*4 + 4], 0
jne 0x4993c2
mov eax, dword [ebx + 0x7c]
cmp esi, dword [eax + 8]
jge 0x4993d5
mov edx, esi
mov eax, dword [ebx + 0x7c]
call fcn.0041f6dc
push esi
mov edx, dword [ebx + 0x74]
lea ecx, [edx + edi*4]
mov edx, eax
mov eax, ebx
call fcn.00498b5c
call fcn.00407464
mov edx, dword [ebx + 0x74]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x74]
mov ebp, dword [eax + edi*4 + 4]
jmp 0x4993d5
call fcn.00407464
mov edx, dword [ebx + 0x74]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x74]
mov ebp, dword [eax + edi*4 + 4]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4993dc
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
cmp dword [ebx + 0x34], 0
je 0x4994b9
test esi, esi
jl 0x4994b9
cmp esi, dword [ebx + 0x34]
jge 0x4994b9
call fcn.00407464
sub eax, dword [ebx + 0x70]
cmp eax, 0x2710
jbe 0x49942a
call fcn.00407464
mov dword [ebx + 0x70], eax
mov eax, ebx
call fcn.00499554
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0x74]
cmp dword [eax + edi*4 + 4], 0
jne 0x49948a
mov eax, dword [ebx + 0x7c]
cmp esi, dword [eax + 8]
jge 0x4994b9
mov edx, esi
mov eax, dword [ebx + 0x7c]
call fcn.0041f6dc
push esi
mov edx, dword [ebx + 0x74]
lea ecx, [edx + edi*4]
mov edx, eax
mov eax, ebx
call fcn.00498b5c
call fcn.00407464
mov edx, dword [ebx + 0x74]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x74]
movsx eax, word [eax + edi*4]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebx + 0x74]
movsx eax, word [eax + edi*4 + 2]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 8], eax
jmp 0x4994b9
call fcn.00407464
mov edx, dword [ebx + 0x74]
mov dword [edx + edi*4 + 8], eax
mov eax, dword [ebx + 0x74]
movsx eax, word [eax + edi*4]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebx + 0x74]
movsx eax, word [eax + edi*4 + 2]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + edi*4 + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
call fcn.00407464
mov dword [esp], eax
mov ebx, dword [esi + 0x54]
mov edi, dword [esi + 0x34]
dec edi
sub edi, ebx
jl 0x49953e
inc edi
lea ebp, [ebx + ebx*2]
mov eax, dword [esi + 0x74]
cmp dword [eax + ebp*4 + 4], 0
je 0x499528
call fcn.00407464
mov edx, dword [esi + 0x74]
sub eax, dword [edx + ebp*4 + 8]
cmp eax, 0x493e0
jbe 0x499528
mov eax, dword [esi + 0x74]
mov eax, dword [eax + ebp*4 + 4]
call fcn.0040408c
mov eax, dword [esi + 0x74]
xor edx, edx
mov dword [eax + ebp*4 + 4], edx
call fcn.00407464
sub eax, dword [esp]
cmp eax, 5
jb 0x49953a
mov dword [esi + 0x54], ebx
jmp 0x49954d
inc ebx
dec edi
jne 0x4994f3
cmp ebx, dword [esi + 0x34]
jl 0x49954a
xor eax, eax
mov dword [esi + 0x54], eax
jmp 0x49954d
mov dword [esi + 0x54], ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x499554
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
call fcn.00407464
mov dword [esp], eax
mov ebx, dword [esi + 0x54]
mov edi, dword [esi + 0x34]
dec edi
sub edi, ebx
jl 0x4995ba
inc edi
lea ebp, [ebx + ebx*2]
mov eax, dword [esi + 0x74]
cmp dword [eax + ebp*4 + 4], 0
je 0x4995a4
call fcn.00407464
mov edx, dword [esi + 0x74]
sub eax, dword [edx + ebp*4 + 8]
cmp eax, 0x493e0
jb 0x4995a4
mov eax, dword [esi + 0x74]
mov eax, dword [eax + ebp*4 + 4]
call fcn.0040408c
mov eax, dword [esi + 0x74]
xor edx, edx
mov dword [eax + ebp*4 + 4], edx
call fcn.00407464
sub eax, dword [esp]
cmp eax, 5
jb 0x4995b6
mov dword [esi + 0x54], ebx
jmp 0x4995c9
inc ebx
dec edi
jne 0x49956f
cmp ebx, dword [esi + 0x34]
jl 0x4995c6
xor eax, eax
mov dword [esi + 0x54], eax
jmp 0x4995c9
mov dword [esi + 0x54], ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49a59c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jle 0x49a623
cmp dword [ebx + 0x10], 0
jle 0x49a623
mov ecx, edx
mov eax, dword [0x49a364]
mov dl, 1
call fcn.0049a7f4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49a61c
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.00403098
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0049aa14
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 4]
call fcn.00421de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a623
mov eax, dword [ebp - 4]
call fcn.0040408c
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov al, byte [ebx + 0x10]
sub al, 8
jae 0x4aaf4d
call fcn.00407464
sub eax, dword [ebx + 0x328]
cmp eax, 0xea60
jbe 0x4aaecf
call fcn.00407464
mov dword [ebx + 0x328], eax
mov eax, ebx
mov si, 0xfff3
call fcn.00404294
mov eax, ebx
call fcn.004c4360
mov edx, dword [ebx + 0x220]
test edx, edx
je 0x4aaf11
mov ecx, dword [ebp - 8]
add ecx, dword [ebx + 0xdc]
add ecx, dword [ebx + 0xd4]
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xec]
add ecx, dword [ebx + 0xd8]
push ecx
mov cl, byte [ebp + 0xc]
push ecx
push eax
mov ecx, edx
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004c41c0
cmp byte [ebx + 0x14c], 0
je 0x4aaf4d
mov eax, dword [ebx + 0x368]
test eax, eax
je 0x4aaf4d
push eax
push 1
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0x370]
add ecx, dword [ebx + 0xd8]
mov edx, dword [ebp - 8]
add edx, dword [ebx + 0x36c]
add edx, dword [ebx + 0xd4]
mov eax, dword [ebp - 4]
call fcn.004d10d4
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x4c43bc
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
mov al, byte [ebx + 0x10]
sub al, 8
jae 0x4c44e7
call fcn.00407464
sub eax, dword [ebx + 0x328]
cmp eax, 0xea60
jbe 0x4c4402
call fcn.00407464
mov dword [ebx + 0x328], eax
mov eax, ebx
mov si, 0xfff3
call fcn.00404294
mov eax, ebx
call fcn.004c4360
mov edx, dword [ebx + 0x220]
test edx, edx
je 0x4c4444
mov ecx, dword [ebp - 8]
add ecx, dword [ebx + 0xdc]
add ecx, dword [ebx + 0xd4]
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xec]
add ecx, dword [ebx + 0xd8]
push ecx
mov cl, byte [ebp + 0xc]
push ecx
push eax
mov ecx, edx
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004c41c0
cmp byte [ebx + 0x144], 0
je 0x4c44e7
xchg esi, eax
add byte [eax], al
invalid
cmp dword [ebx + 0x1d0], 0

Function at 0x4c53f0
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 [0x531548]
cmp eax, dword [edx]
jne 0x4c541e
call fcn.00407464
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x154]
cmp eax, 0xbb8
seta al
jmp 0x4c5437
call fcn.00407464
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x154]
cmp eax, 0x7d0
seta al
test al, al
je 0x4c5449
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xor ecx, ecx
mov dword [edx + 0x1c0], ecx
pop ebp
ret
Function at 0x4c7c80
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 [0x531548]
cmp eax, dword [edx]
jne 0x4c7cae
call fcn.00407464
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x154]
cmp eax, 0xbb8
seta al
jmp 0x4c7cc7
call fcn.00407464
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x154]
cmp eax, 0x7d0
seta al
test al, al
je 0x4c7cd9
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xor ecx, ecx
mov dword [edx + 0x1c0], ecx
pop ebp
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
call fcn.00407464
sub eax, dword [0x546194]
cmp eax, 0xbb8
jbe 0x4c9dc5
mov ebp, 6
mov ebx, 0x540d50
mov esi, 0x545f0c
cmp byte [ebx], 0
je 0x4c9db2
mov eax, esi
mov edx, ebx
mov cl, 0x14
call fcn.004037b0
add esi, 0x15
add ebx, 0x7c
dec ebp
jne 0x4c9da2
call fcn.00407464
mov dword [0x546194], eax
mov dword [esp], 6
mov esi, 0x545f0c
mov edi, 0x540d50
cmp byte [esi], 0
je 0x4c9e27
cmp byte [edi], 0
jne 0x4c9e27
mov ebp, 0x2e
mov ebx, 0x541047
cmp byte [ebx], 2
jne 0x4c9df6
cmp word [ebx + 1], 6
je 0x4c9e21
cmp byte [ebx - 0xf], 0
je 0x4c9e21
lea eax, [ebx - 0xf]
mov edx, esi
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403850
jne 0x4c9e21
push esi
push edi
lea esi, [ebx - 0xf]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov byte [ebx - 0xf], 0
jmp 0x4c9e27
add ebx, 0x7c
dec ebp
jne 0x4c9dea
add edi, 0x7c
add esi, 0x15
dec dword [esp]
jne 0x4c9dd6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cee94
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.004038c0
lea eax, [esp + 1]
push eax
call fcn.00407a5c
test eax, eax
je 0x4ceecc
xor eax, eax
mov al, byte [esp]
test byte [esp + eax + 1], 0x80
je 0x4ceecc
mov bl, 1
mov eax, ebx
add esp, 0x104
pop ebx
ret

Function at 0x4de7dc
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 + 0x930], 1
jne 0x4de8a8
mov eax, dword [edi]
cmp dword [eax + 0x948], 0x14
jge 0x4de86c
call fcn.00407464
mov edx, dword [edi]
sub eax, dword [edx + 0x950]
cmp eax, 0x78
jbe 0x4de9ac
mov eax, dword [edi]
mov eax, dword [eax + 0x948]
mov ecx, 5
cdq
idiv ecx
mov ecx, edx
cmp ecx, 4
jne 0x4de847
mov eax, 6
call fcn.004038e0
inc eax
mov edx, dword [edi]
mov dword [edx + 0x93c], eax
jmp 0x4de852
add ecx, 8
mov eax, dword [edi]
mov dword [eax + 0x93c], ecx
call fcn.00407464
mov edx, dword [edi]
mov dword [edx + 0x950], eax
mov eax, dword [edi]
inc dword [eax + 0x948]
jmp 0x4de9ac
mov eax, dword [edi]
mov eax, dword [eax + 0x938]
mov edx, dword [edi]
mov dword [edx + 0x93c], eax
call fcn.00407464
mov edx, dword [edi]
sub eax, dword [edx + 0x950]
cmp eax, 0x5dc
jbe 0x4de9ac
mov eax, dword [edi]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004d41cc
jmp 0x4de9ac
mov byte [ebp - 1], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x930]
dec eax
test eax, eax
jl 0x4de997
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov esi, ebx
shl esi, 3
sub esi, ebx
mov eax, dword [edi]
mov eax, dword [eax + esi*4 + 0x948]
mov edx, dword [edi]
cmp eax, dword [edx + esi*4 + 0x94c]
jge 0x4de962
call fcn.00407464
mov edx, dword [edi]
sub eax, dword [edx + esi*4 + 0x950]
cmp eax, 0x78
jbe 0x4de95c
mov eax, dword [edi]
mov eax, dword [eax + esi*4 + 0x948]
mov ecx, 5
cdq
idiv ecx
cmp edx, 4
jne 0x4de921
mov eax, 6
call fcn.004038e0
inc eax
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x93c], eax
jmp 0x4de945
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [edi]
mov eax, dword [edx + eax*4 + 0x948]
mov ecx, 5
cdq
idiv ecx
add edx, 8
mov eax, dword [edi]
mov dword [eax + esi*4 + 0x93c], edx
call fcn.00407464
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x950], eax
mov eax, dword [edi]
inc dword [eax + esi*4 + 0x948]
mov byte [ebp - 1], 0
jmp 0x4de98d
mov eax, dword [edi]
mov eax, dword [eax + esi*4 + 0x938]
mov edx, dword [edi]
mov dword [edx + esi*4 + 0x93c], eax
call fcn.00407464
mov edx, dword [edi]
sub eax, dword [edx + esi*4 + 0x950]
cmp eax, 0x7d0
jae 0x4de98d
mov byte [ebp - 1], 0
inc ebx
dec dword [ebp - 8]
jne 0x4de8c3
cmp byte [ebp - 1], 0
je 0x4de9ac
mov eax, dword [edi]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004d41cc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x50e3f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call fcn.00407464
mov ebx, eax
jmp 0x50e409
mov eax, dword [0x531b98]
mov eax, dword [eax]
call fcn.00472bd0
call fcn.00407464
sub eax, ebx
cmp esi, eax
ja 0x50e3fd
pop esi
pop ebx
ret
Function at 0x518480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov eax, dword [0x531548]
cmp dword [eax], 0
je 0x51851d
mov eax, dword [0x531548]
mov eax, dword [eax]
call fcn.004c38dc
test al, al
je 0x5184c7
mov eax, dword [0x531548]
mov eax, dword [eax]
test byte [eax + 0x2b], 4
jne 0x5184c7
call fcn.00407464
mov edx, dword [0x531cc4]
sub eax, dword [edx]
mov edx, dword [0x5312f4]
cmp eax, dword [edx]
jbe 0x5184c7
mov bl, 1
jmp 0x5184c9
xor ebx, ebx
mov eax, dword [0x53144c]
cmp byte [eax], 0
jne 0x5184dd
mov eax, dword [0x532090]
cmp byte [eax], 0
je 0x51851d
mov eax, dword [0x531548]
mov eax, dword [eax]
call fcn.004c38dc
test al, al
je 0x51851d
mov eax, dword [0x531be4]
cmp byte [eax], 0
jne 0x51851d
mov eax, dword [0x531548]
mov eax, dword [eax]
test byte [eax + 0x2b], 4
je 0x51851d
call fcn.00407464
mov edx, dword [0x531cc4]
sub eax, dword [edx]
mov edx, dword [0x5312f4]
cmp eax, dword [edx]
jbe 0x51851d
mov bl, 1
mov eax, ebx
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x531548]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
imul edx, eax, 0xe
mov eax, 0x172
call fcn.004977d0
mov edx, dword [0x531548]
mov edx, dword [edx]
movsx edx, byte [edx + 0x84]
mov ecx, dword [0x5314d8]
imul edx, dword [ecx]
add edx, eax
mov eax, 0x320
call fcn.004977d0
mov edx, dword [0x531544]
cmp byte [edx], 0
je 0x518581
mov ebx, dword [0x531d84]
mov ebx, dword [ebx]
sub ebx, eax
add ebx, 0x5dc
jmp 0x51858b
mov ebx, dword [0x531d84]
mov ebx, dword [ebx]
sub ebx, eax
test ebx, ebx
jge 0x518591
xor ebx, ebx
call fcn.00407464
sub eax, dword [esi + 0x41c]
cmp eax, ebx
jbe 0x5185b0
call fcn.00407464
mov dword [esi + 0x41c], eax
mov al, 1
pop esi
pop ebx
ret
xor eax, eax
pop esi
pop ebx
ret