joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476a72
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x10f]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x118], esi
mov byte [ebp - 0x110], 0
call fcn.004b7880
add esp, 0xc
test esi, esi
jne 0x476ab8
xor eax, eax
jmp 0x476b98
push str.eod.tim
lea edi, [ebp - 0x110]
call fcn.00444791
and dword [ebp - 0x114], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
mov edi, 0x226
mov esi, 0x12c
push 0x726
push str..ServerPAULA.c
mov edx, 0x4d57c8
lea ecx, [ebp - 0x110]
call fcn.0041e477
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x476b62
call fcn.004b7d0d
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x476b37
call fcn.004b7d0d
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x476b37
call fcn.004b7d0d
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x476b39
push 0xa
call ebx
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x476ae0
lea eax, [ebp - 0x110]
push eax
push str.:4:SaveEODTimeStampDB___FAILED:_fopen___s___FAILED.
call fcn.00418e96
pop ecx
pop ecx
jmp 0x476ab1
push eax
xor esi, esi
inc esi
push esi
push 0x188
push dword [ebp - 0x118]
call fcn.004b6868
add esp, 0x10
cmp eax, esi
je 0x476b8b
push str.:6:SaveEODTimeStampDB___FAILED:_fwrite___FAILED.
call fcn.00418e96
pop ecx
xor esi, esi
mov ecx, dword [ebp - 0x11c]
call fcn.0041e8bf
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
leave
ret
Function at 0x47cd10
Capabilities:
Terminate process

Disassembly:
push ecx
test esi, esi
push ebx
push edi
jne 0x47cd2e
mov edi, dword [0x6422c4]
test edi, edi
je 0x47cd86
call fcn.004715f4
and dword [0x6422c4], esi
jmp 0x47cd86
mov eax, dword [0x6422c4]
test eax, eax
jne 0x47cd45
call fcn.00471551
test eax, eax
mov dword [0x6422c4], eax
je 0x47cd89
lea edi, [esi + 0x130]
mov ebx, dword [edi]
call fcn.004719b9
test eax, eax
jne 0x47cd63
push dword [edi]
mov eax, dword [0x6422c4]
call fcn.0047163a
pop ecx
xor ebx, ebx
cmp dword [esi], ebx
jle 0x47cd86
lea edi, [esi + 4]
mov eax, dword [edi]
call fcn.0047d5b4
test eax, eax
je 0x47cd7e
mov ecx, dword [edi]
call fcn.0047cf04
inc ebx
add edi, 4
cmp ebx, dword [esi]
jl 0x47cd6c
xor eax, eax
inc eax
pop edi
pop ebx
pop ecx
ret

Function at 0x47d65f
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x248
xor esi, esi
push ebx
inc esi
push esi
call fcn.004b66ca
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x47d68f
push ebx
push esi
push str.:4:CreateSprite__d__FAILED:_calloc__d__FAILED:_could_not_allocate_memory_for_handle:_OUT_OF_MEMORY_
call fcn.00418e96
add esp, 0xc
xor eax, eax
jmp 0x47d77f
push 0x30
push esi
call fcn.004b66ca
test eax, eax
pop ecx
pop ecx
mov dword [edi + 0x70], eax
jne 0x47d6b9
push 0x30
push esi
push esi
push str.:4:CreateSprite__d__FAILED:_calloc__d___d__FAILED:_could_not_allocation_memory_for_the_frames:_OUT_OF_MEMORY_
call fcn.00418e96
push edi
call fcn.004b651e
add esp, 0x14
jmp 0x47d688
cmp dword [0x642510], 0
mov dword [edi + 0x5c], esi
jne 0x47d6f6
call fcn.00471551
test eax, eax
mov dword [0x642510], eax
jne 0x47d6f6
mov eax, dword [edi + 0x70]
test eax, eax
je 0x47d6e1
push eax
call fcn.004b651e
pop ecx
push edi
call fcn.004b651e
mov dword [esp], str.:7:CreateSprite___FAILED:_CreatePtrList___FAILED____
call fcn.00418e96
pop ecx
jmp 0x47d688
fld1
or dword [edi + 0x68], 0xffffffff
and dword [edi + 0x40], 0
fstp dword [edi + 0x44]
mov eax, 0xffff8000
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
call fcn.0040d58e
cmp eax, 0xffffffff
mov dword [edi + 0x7c], eax
je 0x47d71f
test eax, eax
jne 0x47d730
push str._GetLastError_
push str.:7:CreateSprite___encountered_an_exception:_GetStdHandle_STD_OUTPUT_HANDLE__FAILED:__s
call fcn.00418e96
pop ecx
pop ecx
lea ebx, [edi + 0x88]
push str..Sprite.c
push ebx
call fcn.00420a71
test eax, eax
pop ecx
pop ecx
jne 0x47d752
push str.:5:CreateSprite___EAP:_InitializeLock___FAILED.
call fcn.00418e96
pop ecx
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.00420d70
mov eax, 0x7d0
mov ecx, ebx
call fcn.00420dad
mov eax, dword [0x642510]
push edi
call fcn.0047163a
pop ecx
mov eax, edi
call fcn.0047ea1c
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x481832
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
mov esi, ecx
push 1
push 0x1f4
mov dword [ebp - 0x80], esi
call fcn.004b66ca
mov edi, eax
xor ebx, ebx
cmp edi, ebx
pop ecx
pop ecx
jne 0x481872
xor eax, eax
jmp 0x481956
push 5
pop eax
push eax
push 0x10
mov dword [edi + 8], eax
call fcn.004b66ca
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi], eax
jne 0x481891
push edi
call fcn.004b651e
pop ecx
jmp 0x48186b
mov eax, dword [0x646dac]
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
jne 0x4818aa
call fcn.00471551
mov dword [0x646dac], eax
push edi
call fcn.0047163a
cmp dword [0x646dac], ebx
pop ecx
jne 0x4818c9
push dword [edi]
call fcn.004b651e
push edi
call fcn.004b651e
pop ecx
jmp 0x48188e
cmp esi, ebx
je 0x481905
mov esi, 0x103
push esi
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.004b7880
push dword [ebp - 0x80]
mov ecx, esi
lea eax, [ebp - 0x7c]
call fcn.0047ebe1
mov esi, eax
call fcn.0047eede
mov eax, esi
push eax
push 0x18
lea eax, [edi + 0x10]
pop ecx
call fcn.0047ebe1
add esp, 0x14
mov eax, dword [ebp + 0x94]
mov dword [edi + 0x2c], eax
call fcn.004a6bcb
lea ebx, [edi + 0x34]
push str..StringList.c
push ebx
mov dword [edi + 0x30], eax
call fcn.00420a71
test eax, eax
pop ecx
pop ecx
jne 0x481935
push str.:5:CreateStringList___EAP:_InitializeLock___FAILED.
call fcn.00418e96
pop ecx
mov esi, str.A_String_List_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.00420d70
mov eax, 0x7d0
mov ecx, ebx
call fcn.00420dad
mov eax, edi
call fcn.004835f6
mov eax, edi
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
add ebp, 0x8c
leave
ret
Function at 0x483720
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push edi
je 0x483800
cmp dword [ebp + 0xc], 0
jle 0x483800
push str..TelNet.c
mov edi, 0x288
push edi
push 1
mov eax, esi
call fcn.0048419a
add esp, 0xc
test eax, eax
je 0x483800
push edi
mov eax, esi
call fcn.00487a8f
test eax, eax
pop ecx
je 0x483800
inc dword [esi + 0xd28]
cmp dword [esi + 0xd30], 0
jne 0x4837bc
push 4
lea eax, [ebp - 4]
push eax
push 0x1005
push 0xffff
push dword [esi + 0xacc]
mov dword [ebp - 4], 0x1388
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x4837b2
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:4:TelNetSendBinary__s__EAP:_Failed_to_set_the_send_time_out:_WSAGetLastError___d
call fcn.00418e96
add esp, 0xc
mov dword [esi + 0xd30], 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov edi, eax
test edi, edi
jg 0x4837ef
cmp dword [ebp + 0xc], 0x19
jle 0x4837ef
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:5:TelNetSendBinary__s__FAILED:_send___FAILED:_WSAGetLastError___d
call fcn.00418e96
add esp, 0xc
dec dword [esi + 0xd28]
mov eax, esi
call fcn.00487ad3
mov eax, edi
jmp 0x483802
xor eax, eax
pop edi
leave
ret

Function at 0x483805
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea esi, [ebx - 1]
push esi
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.004b7880
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x48394e
cmp byte [eax], 0
je 0x48394e
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edi, [ebp - 0x204]
push esi
mov eax, edi
push eax
jmp 0x4838a0
lea eax, [ebp - 0x204]
cmp edi, eax
je 0x48387b
push edi
call fcn.004b651e
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.004b66ca
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x48394e
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push edi
call fcn.004b87ae
add esp, 0x10
cmp eax, 0xffffffff
je 0x48386a
mov eax, edi
call fcn.0048578f
push edi
call fcn.004b68f0
cmp dword [ebp + 0xc], 0
pop ecx
mov dword [ebp - 0x208], eax
jbe 0x4838dd
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x4838d5
push dword [ebp + 0xc]
jmp 0x4838d7
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x20c]
push str..TelNet.c
mov ebx, 0x2ca
push ebx
push 1
mov eax, esi
call fcn.0048419a
add esp, 0xc
test eax, eax
je 0x48393d
push ebx
mov eax, esi
call fcn.00487a8f
test eax, eax
pop ecx
je 0x48393d
push 0
push dword [ebp - 0x208]
push edi
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov ebx, eax
mov eax, esi
call fcn.00487ad3
lea eax, [ebp - 0x204]
cmp edi, eax
je 0x483939
push edi
call fcn.004b651e
pop ecx
mov eax, ebx
jmp 0x483950
lea eax, [ebp - 0x204]
cmp edi, eax
je 0x48394e
push edi
call fcn.004b651e
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
leave
ret
Function at 0x484273
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push esi
mov ebx, str..TelNet.c
push ebx
push 0x862
push 1
mov eax, edi
call fcn.0048419a
add esp, 0xc
test eax, eax
je 0x484450
mov eax, dword [ebp + 8]
test eax, eax
je 0x484450
cmp byte [eax], 0
je 0x484450
mov eax, dword [edi + 0xa8c]
push 1
push 0x2c
mov dword [esp + 0x14], eax
call fcn.004b66ca
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4842da
push str.TelNetCreateSearchString___FAILED:_Could_not_create_search_string_handle:__OUT_OF_MEMORY__
call fcn.00418e96
jmp 0x48444f
push 0x2c
push 0
push esi
call fcn.004b7880
add esp, 0xc
push 2
push dword [ebp + 8]
call fcn.004b68f0
pop ecx
add eax, 0xa
push eax
call fcn.004b66ca
test eax, eax
pop ecx
pop ecx
mov dword [esi + 4], eax
jne 0x484327
push dword [ebp + 8]
call fcn.004b68f0
add eax, eax
push eax
push str.TelNetCreateSearchString___FAILED:_Could_not_allocate_memory_for_search_string_of_length__ld_
call fcn.00418e96
push esi
call fcn.004b651e
add esp, 0x10
jmp 0x484450
push ebx
mov ebx, 0x881
push ebx
push 1
mov eax, edi
call fcn.0048419a
add esp, 0xc
test eax, eax
je 0x484449
push ebx
mov eax, edi
call fcn.00487a8f
test eax, eax
pop ecx
je 0x484449
mov ecx, dword [edi + 0xa88]
mov eax, dword [esp + 0xc]
xor edx, edx
div ecx
mov eax, dword [edi + 0xa84]
test edx, edx
jne 0x484371
mov ebx, dword [eax + ecx*4 - 4]
jmp 0x484375
mov ebx, dword [eax + edx*4 - 4]
cmp dword [ebp + 0xc], 0
jne 0x48437e
inc ebx
jmp 0x48438f
call fcn.004a6bcb
cmp ebx, eax
jbe 0x48438c
sub ebx, eax
add dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.004b6c20
mov eax, dword [esi + 4]
pop ecx
pop ecx
call fcn.0048578f
push dword [ebp + 8]
push dword [esi + 4]
call fcn.004b68f0
pop ecx
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 1]
push eax
call fcn.004b6c20
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
pop ecx
xor ebx, ebx
pop ecx
mov dword [esi], edi
mov dword [esi + 0x18], ebx
jmp 0x4843d9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xaa8], ebx
jne 0x4843d1
mov dword [edi + 0xaa8], 1
mov dword [esp + 0xc], ebx
lea eax, [edi + 0xad0]
jmp 0x4843fd
inc dword [esp + 0xc]
mov eax, ecx
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
jne 0x4843f7
mov dword [eax + 0x28], esi
mov eax, dword [0x646fcc]
cmp eax, ebx
jne 0x48441a
call fcn.00471551
mov dword [0x646fcc], eax
push esi
call fcn.0047163a
pop ecx
mov eax, edi
mov dword [edi + 0xaa8], ebx
call fcn.00487ad3
cmp dword [esp + 0xc], 0x34
jle 0x484445
push dword [esp + 0xc]
push str.:4:TelNetCreateSearchString___Potential_Memory_Leak:_There_are_too_many_search_strings_for_a_single_TelNet_handle:__d
call fcn.0041936e
pop ecx
pop ecx
mov eax, esi
jmp 0x484452
push esi
call fcn.004b651e
pop ecx
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484af8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
test esi, esi
push edi
je 0x484c82
push 1
push 0x20
call fcn.004b66ca
pop ecx
mov edi, eax
test edi, edi
pop ecx
push 0x20
jne 0x484b2b
push str.TelNetStartConditionRoutine___FAILED:_Could_not_create_new_condition_node_of_size__ld:_OUT_OF_MEMORY_
call fcn.00418e96
pop ecx
jmp 0x484c81
push 0
push edi
call fcn.004b7880
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x10], esi
mov esi, str..TelNet.c
push esi
mov ebx, 0xb2e
push ebx
push 1
mov dword [edi + 4], eax
mov dword [edi + 0x14], ecx
call fcn.0048419a
add esp, 0x18
test eax, eax
je 0x484c7b
mov eax, dword [ebp + 8]
push ebx
call fcn.00487a8f
test eax, eax
pop ecx
je 0x484c7b
cmp dword [0x646fd4], 0
jne 0x484b9b
call fcn.00471551
test eax, eax
mov dword [0x646fd4], eax
jne 0x484b9b
push str.TelNetStartConditionRoutine___FAILED_because_CreatePtrList___FAILED_
call fcn.00418e96
push edi
call fcn.004b651e
jmp 0x484b25
push 0xb3e
push esi
push edi
push 0x485b4c
push 0x3f70
mov ecx, str.TelNetCreateConditionID
call fcn.0041eb89
mov ebx, eax
test ebx, ebx
jne 0x484bfa
push 0xb43
push esi
push edi
push 0x485b4c
push eax
mov ecx, str.TelNetCreateConditionID
call fcn.0041eb89
mov ebx, eax
test ebx, ebx
jne 0x484bfa
mov esi, dword [ebp + 8]
call fcn.00485b6d
push eax
push str.TelNetStartConditionRoutine___FAILED:_Could_not_start_the_given_TelNet_Condition_Routine:__GetLastError_:_Currently__ld_condition_routines_are_active.
call fcn.00418e96
pop ecx
pop ecx
mov eax, esi
call fcn.00487ad3
jmp 0x484c82
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
call fcn.0047f4a5
mov esi, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
push edi
push esi
push str.Called_for__p_HTELNET___p_Condition__from__s___in___s__line_d.
push ebx
call fcn.0041ed85
add esp, 0x1c
mov dword [edi + 8], ebx
mov dword [edi], ebx
lea eax, [esi + 0xaac]
jmp 0x484c2b
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x484c29
lea ebx, [esi + 0xac4]
mov dword [eax + 0x1c], edi
inc dword [ebx]
cmp dword [ebx], 0xc
jle 0x484c64
call fcn.004a6bcb
sub eax, dword [0x6470fc]
cmp eax, 0xea60
jbe 0x484c64
push dword [ebx]
push esi
push str.:8:FYI:_The_number_of_condition_routines_for_a_single_TelNet_session___p__has_reached__d_
call fcn.0041936e
add esp, 0xc
mov eax, dword [0x646fd4]
push edi
call fcn.0047163a
pop ecx
mov eax, esi
call fcn.00487ad3
mov eax, edi
jmp 0x484c84
push edi
call fcn.004b651e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4854d4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, eax
jge 0x4854e5
and dword [ebp + 8], 0
test ebx, ebx
jge 0x4854eb
xor ebx, ebx
cmp dword [ebp + 8], ebx
jg 0x48554f
push str..TelNet.c
mov esi, 0xe15
push esi
push 1
mov eax, edi
call fcn.0048419a
add esp, 0xc
test eax, eax
je 0x48554f
push esi
mov eax, edi
call fcn.00487a8f
test eax, eax
pop ecx
je 0x48554f
mov eax, dword [edi + 0xf4]
cmp dword [ebp + 8], eax
jle 0x485526
mov dword [ebp + 8], eax
cmp ebx, eax
jle 0x48552c
mov ebx, eax
push 1
push 0x10
call fcn.004b66ca
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x485555
mov eax, edi
call fcn.00487ad3
push str.TelNetCreateVirtualFile___FAILED:_Could_not_create_virtual_file_handle:__OUT_OF_MEMORY__
call fcn.00418e96
pop ecx
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x10
push 0
push esi
call fcn.004b7880
lea eax, [edi + 0xdc]
mov dword [esi], edi
mov cx, word [eax]
imul cx, word [ebp + 8]
add esp, 0xc
inc ebx
mov word [esi + 4], cx
imul bx, word [eax]
mov ax, cx
dec bx
and word [esi + 8], 0
mov word [esi + 0xa], ax
mov word [esi + 6], bx
lea eax, [edi + 0xafc]
jmp 0x485597
mov eax, ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x485595
mov dword [eax + 0xc], esi
mov eax, dword [0x646fd0]
test eax, eax
jne 0x4855b4
call fcn.00471551
mov dword [0x646fd0], eax
push esi
call fcn.0047163a
pop ecx
mov eax, edi
call fcn.00487ad3
mov eax, esi
jmp 0x485551
Function at 0x487a1a
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
call fcn.00487a57
test eax, eax
pop ecx
jne 0x487a32
push 2
pop eax
pop ebp
ret
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00487a79
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4a7b94
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x10f]
push esi
push eax
mov byte [ebp - 0x110], 0
call fcn.004b7880
add esp, 0xc
push 0x13c
lea eax, [ebp - 0x24c]
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.004b7880
xor eax, eax
mov word [ebp - 0x278], si
lea edi, [ebp - 0x276]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x268], si
xor eax, eax
lea edi, [ebp - 0x266]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
call fcn.004a6bcb
sub eax, dword [0x64a378]
cmp eax, 0x493e0
jae 0x4a7c24
xor eax, eax
jmp 0x4a7d59
call fcn.004a6bcb
mov dword [0x64a378], eax
call fcn.004a7077
test eax, eax
je 0x4a7c1d
push 0x649b40
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.0047ebe1
pop ecx
call fcn.0047ef21
push str.PAULATempTimeDetectionFile
push 0x4fb1c4
push eax
call fcn.004801ac
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x258], eax
je 0x4a7c1d
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp + 8]
push eax
call ebx
mov dword [ebp - 0x254], esi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x24c]
jg 0x4a7cc8
lea eax, [ebp - 0x23c]
push eax
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x268]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x278]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a62af
add esp, 0x20
cmp eax, 0xdbba0
jle 0x4a7d2c
lea eax, [ebp - 0x110]
call fcn.0047ef21
lea eax, [ebp - 0x224]
push eax
mov eax, 0x104
lea esi, [ebp - 0x110]
call fcn.0047ecb1
pop ecx
mov eax, esi
call fcn.0041bfc0
test eax, eax
je 0x4a7d2c
inc dword [ebp - 0x254]
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4a7c9d
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
leave
ret
Function at 0x4a8759
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and word [ebp - 0x14], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0047ebaf
test eax, eax
je 0x4a8783
xor eax, eax
jmp 0x4a87df
test ebx, ebx
mov esi, str..Time.c
jne 0x4a87a5
push 0xb92
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004a77ec
add esp, 0xc
test eax, eax
je 0x4a877f
lea ebx, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0xb9a
push esi
mov edx, 0x4d57c8
call fcn.0041e477
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4a877f
push edi
push 1
push 0x10
push ebx
call fcn.004b6868
add esp, 0x10
mov esi, eax
dec esi
neg esi
sbb esi, esi
mov ecx, edi
inc esi
call fcn.0041e8bf
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a87e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x10], bx
lea edi, [ebp - 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4a8810
push 0x10
push ebx
push edi
call fcn.004b7880
add esp, 0xc
mov edx, dword [ebp + 0xc]
call fcn.0047ebaf
test eax, eax
je 0x4a8820
xor eax, eax
jmp 0x4a8878
mov ecx, dword [ebp + 0xc]
push 0xbba
push str..Time.c
mov edx, 0x4d520c
call fcn.0041e477
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4a881c
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.004b7880
push esi
push 1
lea eax, [ebp - 0x10]
push 0x10
push eax
call fcn.004b7b96
add esp, 0x1c
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
mov ecx, esi
inc ebx
call fcn.0041e8bf
test edi, edi
je 0x4a8876
lea esi, [ebp - 0x10]
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, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a8c85
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
xor ebx, ebx
xor eax, eax
push esi
push edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebx
stosd dword es:[edi], eax
mov dword [esp + 0x20], ebx
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [0x64a3f8], eax
je 0x4a8d8d
call fcn.004a6bcb
mov dword [0x64a3fc], eax
cmp dword [0x64a3f8], ebx
jne 0x4a8ddf
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4a8dc7
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [esp + 0x14], ebx
jne 0x4a8d10
call fcn.0040b8f5
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4a8dcb
cmp dword [esp + 0x10], ebx
jne 0x4a8dcb
lea eax, [esp + 0x20]
push eax
call fcn.0040b8f5
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
call esi
push 4
mov edi, eax
call esi
add eax, dword [esp + 0x24]
push 0xfffffffffffffffd
lea ecx, [eax + edi + 3]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
pop edi
cdq
idiv edi
mov dword [esp + 0x24], ecx
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jle 0x4a8dbd
cmp eax, dword [esp + 0x28]
jge 0x4a8dbd
cmp dword [esp + 0x1c], ecx
jle 0x4a8dbd
push 0xf
call esi
add eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jge 0x4a8dbd
mov dword [0x64a3dc], 1
call fcn.004a6bcb
mov dword [0x64a3e0], eax
jmp 0x4a8dcb
call fcn.004a6bcb
sub eax, dword [0x64a3fc]
cmp eax, 0xde
jae 0x4a8ccb
call fcn.004a6bcb
sub eax, dword [0x64a3fc]
push eax
push str.:7:CheckForMouseButton___was_called_consecutively_too_quickly:__dms
call fcn.0041936e
pop ecx
pop ecx
jmp 0x4a8ddf
mov dword [esp + 0x10], 1
jmp 0x4a8dcb
mov dword [esp + 0x10], ebx
push 0x16
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x64a3f8], ebx
je 0x4a8cdd
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4