joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d50ea
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea esi, [ebx - 1]
push esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.005306b0
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x4d5232
cmp byte [eax], 0
je 0x4d5232
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edi, [ebp - 0x20c]
push esi
mov eax, edi
push eax
jmp 0x4d5185
lea eax, [ebp - 0x20c]
cmp edi, eax
je 0x4d5160
push edi
call fcn.0053061e
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00530848
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4d5232
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push edi
call fcn.00533027
add esp, 0x10
cmp eax, 0xffffffff
je 0x4d514f
mov eax, edi
call fcn.004d8520
push edi
call fcn.00530f70
cmp dword [ebp + 0xc], 0
pop ecx
mov dword [ebp - 0x210], eax
jbe 0x4d51c2
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x4d51ba
push dword [ebp + 0xc]
jmp 0x4d51bc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x214]
push str..TelNet.c
mov ebx, 0x2ca
push ebx
push 1
push esi
call fcn.004d6ae6
add esp, 0x10
test eax, eax
je 0x4d5221
push ebx
mov eax, esi
call fcn.004da8c5
test eax, eax
pop ecx
je 0x4d5221
push 0
push dword [ebp - 0x210]
push edi
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov ebx, eax
mov eax, esi
call fcn.004da909
lea eax, [ebp - 0x20c]
cmp edi, eax
je 0x4d521d
push edi
call fcn.0053061e
pop ecx
mov eax, ebx
jmp 0x4d5234
lea eax, [ebp - 0x20c]
cmp edi, eax
je 0x4d5232
push edi
call fcn.0053061e
pop ecx
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x4d589f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push edi
xor ebx, ebx
push 0x3e
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x58], ebx
call fcn.005306b0
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 8], ebx
call fcn.004ccc0d
test eax, eax
jne 0x4d5a64
mov ecx, dword [ebp + 8]
push 0x3df
mov edi, str..TelNet.c
push edi
mov edx, 0x54f4b4
call fcn.00434df1
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x4d5903
push dword [ebp + 8]
push str.TelNetSavePrinterConfig___FAILED:_Could_not_open_the_given_file___s__for_writing.
call fcn.0042bd38
pop ecx
pop ecx
jmp 0x4d5a64
push edi
mov edi, 0x3e5
push edi
push 1
push esi
call fcn.004d6ae6
add esp, 0x10
test eax, eax
je 0x4d5a5c
push edi
mov eax, esi
call fcn.004da8c5
test eax, eax
pop ecx
je 0x4d5a5c
push 0x42
lea eax, [esi + 0xce4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00531bb0
push dword [ebp - 4]
lea eax, [ebp - 0x58]
push 0x42
push 1
push eax
call fcn.00531aad
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
add esp, 0x1c
cmp dword [ebp - 0x50], ebx
je 0x4d59d2
push dword [esi + 0xcec]
call edi
cmp eax, ebx
push dword [esi + 0xcec]
mov dword [ebp - 0xc], eax
je 0x4d59c3
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, ebx
mov dword [ebp - 8], eax
jle 0x4d59a5
push dword [ebp - 4]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00531aad
push dword [ebp - 4]
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call fcn.00531aad
add esp, 0x20
jmp 0x4d59b5
push eax
push str.TelNetSavePrinterConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevMode:__GetLastError_
call fcn.0042bd38
pop ecx
pop ecx
mov dword [ebp - 0x50], ebx
push dword [esi + 0xcec]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4d59d2
push str.TelNetSavePrinterConfig___encountered_a_problem:_Could_not_GlobalLock___hDevMode_during_save___ld_:__GetLastError_
call fcn.0042bd38
pop ecx
pop ecx
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x4c], ebx
je 0x4d5a48
push dword [esi + 0xcf0]
call edi
push dword [esi + 0xcf0]
mov edi, eax
cmp edi, ebx
je 0x4d5a39
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, ebx
mov dword [ebp - 8], eax
jle 0x4d5a1b
push dword [ebp - 4]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00531aad
push dword [ebp - 4]
push dword [ebp - 8]
push 1
push edi
call fcn.00531aad
add esp, 0x20
jmp 0x4d5a2b
push eax
push str.TelNetSavePrinterConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevNames:__GetLastError_
call fcn.0042bd38
pop ecx
pop ecx
mov dword [ebp - 0x4c], ebx
push dword [esi + 0xcf0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4d5a48
push str.TelNetSavePrinterConfig___encountered_a_problem:_Could_not_GlobalLock___hDevNames_during_save___ld_:__GetLastError_
call fcn.0042bd38
pop ecx
pop ecx
mov dword [ebp - 0x4c], ebx
mov eax, esi
call fcn.004da909
mov ecx, dword [ebp - 4]
call fcn.00435239
xor eax, eax
inc eax
jmp 0x4d5a66
mov ecx, dword [ebp - 4]
call fcn.00435239
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x4d6bc7
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
push edi
call fcn.004d6ae6
add esp, 0x10
test eax, eax
je 0x4d6d9b
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d6d9b
cmp byte [eax], 0
je 0x4d6d9b
mov eax, dword [edi + 0xa8c]
push 1
push 0x2c
mov dword [esp + 0x14], eax
call fcn.00530848
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4d6c2d
push str.TelNetCreateSearchString___FAILED:_Could_not_create_search_string_handle:__OUT_OF_MEMORY__
call fcn.0042b70b
jmp 0x4d6d9a
push 0x2c
push 0
push esi
call fcn.005306b0
add esp, 0xc
push 2
push dword [ebp + 8]
call fcn.00530f70
pop ecx
add eax, 0xa
push eax
call fcn.00530848
test eax, eax
pop ecx
pop ecx
mov dword [esi + 4], eax
jne 0x4d6c7a
push dword [ebp + 8]
call fcn.00530f70
add eax, eax
push eax
push str.TelNetCreateSearchString___FAILED:_Could_not_allocate_memory_for_search_string_of_length__ld_
call fcn.0042b70b
push esi
call fcn.0053061e
add esp, 0x10
jmp 0x4d6d9b
push ebx
mov ebx, 0x881
push ebx
push 1
push edi
call fcn.004d6ae6
add esp, 0x10
test eax, eax
je 0x4d6d94
push ebx
mov eax, edi
call fcn.004da8c5
test eax, eax
pop ecx
je 0x4d6d94
mov ecx, dword [edi + 0xa88]
mov eax, dword [esp + 0xc]
xor edx, edx
div ecx
mov eax, dword [edi + 0xa84]
test edx, edx
jne 0x4d6cc3
mov ebx, dword [eax + ecx*4 - 4]
jmp 0x4d6cc7
mov ebx, dword [eax + edx*4 - 4]
cmp dword [ebp + 0x10], 0
jne 0x4d6cd0
inc ebx
jmp 0x4d6ce1
call fcn.004fa8e4
cmp ebx, eax
jbe 0x4d6cde
sub ebx, eax
add dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 0x10]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.005312a0
mov eax, dword [esi + 4]
pop ecx
pop ecx
call fcn.004d8520
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00530f70
pop ecx
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 1]
push eax
call fcn.005312a0
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [esi], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
jmp 0x4d6d2c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xaa8], 0
jne 0x4d6d24
mov dword [edi + 0xaa8], 1
xor ebx, ebx
lea eax, [edi + 0xad0]
jmp 0x4d6d4c
inc ebx
mov eax, ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x4d6d49
mov dword [eax + 0x28], esi
mov eax, dword [0x7093b8]
test eax, eax
jne 0x4d6d69
call fcn.004b2094
mov dword [0x7093b8], eax
push esi
call fcn.004b218d
and dword [edi + 0xaa8], 0
pop ecx
mov eax, edi
call fcn.004da909
cmp ebx, 0x34
jle 0x4d6d90
push ebx
push str.:4:TelNetCreateSearchString___Potential_Memory_Leak:_There_are_too_many_search_strings_for_a_single_TelNet_handle:__d
call fcn.0042bd38
pop ecx
pop ecx
mov eax, esi
jmp 0x4d6d9d
push esi
call fcn.0053061e
pop ecx
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d7583
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
test esi, esi
push edi
je 0x4d761f
push 1
push 0x20
call fcn.00530848
pop ecx
mov edi, eax
test edi, edi
pop ecx
push 0x20
jne 0x4d75b3
push str.TelNetStartConditionRoutine___FAILED:_Could_not_create_new_condition_node_of_size__ld:_OUT_OF_MEMORY_
call fcn.0042b70b
pop ecx
jmp 0x4d761e
push 0
push edi
call fcn.005306b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [edi + 0x10], esi
mov esi, str..TelNet.c
push esi
mov ebx, 0xb2e
push ebx
push 1
push eax
mov dword [edi + 4], eax
mov dword [edi + 0x14], ecx
call fcn.004d6ae6
add esp, 0x10
test eax, eax
je 0x4d7618
mov eax, dword [ebp + 8]
push ebx
call fcn.004da8c5
test eax, eax
pop ecx
je 0x4d7618
cmp dword [0x7093c0], 0
jne 0x4d7626
call fcn.004b2094
test eax, eax
mov dword [0x7093c0], eax
jne 0x4d7626
push str.TelNetStartConditionRoutine___FAILED_because_CreatePtrList___FAILED_
call fcn.0042b70b
pop ecx
push edi
call fcn.0053061e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xb3e
push esi
push edi
push 0x4d88dc
push 0x3f70
mov ecx, str.TelNetCreateConditionID
call fcn.0043556e
mov ebx, eax
test ebx, ebx
jne 0x4d7682
push 0xb43
push esi
push edi
push 0x4d88dc
push eax
mov ecx, str.TelNetCreateConditionID
call fcn.0043556e
mov ebx, eax
test ebx, ebx
jne 0x4d7682
mov esi, dword [ebp + 8]
call fcn.004d88fd
push eax
push str.TelNetStartConditionRoutine___FAILED:_Could_not_start_the_given_TelNet_Condition_Routine:__GetLastError_:_Currently__ld_condition_routines_are_active.
call fcn.0042b70b
pop ecx
pop ecx
mov eax, esi
call fcn.004da909
jmp 0x4d761f
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
call fcn.004cd5ac
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.00435911
add esp, 0x1c
mov dword [edi + 8], ebx
mov dword [edi], ebx
lea eax, [esi + 0xaac]
jmp 0x4d76b3
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4d76b1
lea ebx, [esi + 0xac4]
mov dword [eax + 0x1c], edi
inc dword [ebx]
cmp dword [ebx], 0xc
jle 0x4d76ec
call fcn.004fa8e4
sub eax, dword [0x709528]
cmp eax, 0xea60
jbe 0x4d76ec
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.0042bd38
add esp, 0xc
mov eax, dword [0x7093c0]
push edi
call fcn.004b218d
pop ecx
mov eax, esi
call fcn.004da909
mov eax, edi
jmp 0x4d7621
Function at 0x4d815c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, eax
jge 0x4d816d
and dword [ebp + 8], 0
test ebx, ebx
jge 0x4d8173
xor ebx, ebx
cmp dword [ebp + 8], ebx
jg 0x4d81d6
push str..TelNet.c
mov esi, 0xe15
push esi
push 1
push edi
call fcn.004d6ae6
add esp, 0x10
test eax, eax
je 0x4d81d6
push esi
mov eax, edi
call fcn.004da8c5
test eax, eax
pop ecx
je 0x4d81d6
mov eax, dword [edi + 0xf4]
cmp dword [ebp + 8], eax
jle 0x4d81ad
mov dword [ebp + 8], eax
cmp ebx, eax
jle 0x4d81b3
mov ebx, eax
push 1
push 0x10
call fcn.00530848
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4d81dc
mov eax, edi
call fcn.004da909
push str.TelNetCreateVirtualFile___FAILED:_Could_not_create_virtual_file_handle:__OUT_OF_MEMORY__
call fcn.0042b70b
pop ecx
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x10
push 0
push esi
call fcn.005306b0
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 0x4d821e
mov eax, ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4d821c
mov dword [eax + 0xc], esi
mov eax, dword [0x7093bc]
test eax, eax
jne 0x4d823b
call fcn.004b2094
mov dword [0x7093bc], eax
push esi
call fcn.004b218d
pop ecx
mov eax, edi
call fcn.004da909
mov eax, esi
jmp 0x4d81d8
Function at 0x4da7d7
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
call fcn.004da88d
test eax, eax
pop ecx
jne 0x4da7ef
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.004da8af
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4fbcd7
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x5f2e68]
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.005306b0
add esp, 0xc
push 0x13c
lea eax, [ebp - 0x24c]
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.005306b0
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.004fa8e4
sub eax, dword [0x70c764]
cmp eax, 0x493e0
jae 0x4fbd67
xor eax, eax
jmp 0x4fbe9c
call fcn.004fa8e4
mov dword [0x70c764], eax
call fcn.004fb18d
test eax, eax
je 0x4fbd60
push 0x70bf28
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.004ccc3f
pop ecx
call fcn.004ccf84
push str.PAULATempTimeDetectionFile
push 0x5727d0
push eax
call fcn.004ce46c
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 0x4fbd60
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 0x4fbe0b
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.004f9ee0
add esp, 0x20
cmp eax, 0xdbba0
jle 0x4fbe6f
lea eax, [ebp - 0x110]
call fcn.004ccf84
lea eax, [ebp - 0x224]
push eax
mov eax, 0x104
lea esi, [ebp - 0x110]
call fcn.004ccd0f
pop ecx
mov eax, esi
call fcn.004314ff
test eax, eax
je 0x4fbe6f
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 0x4fbde0
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.005317e7
leave
ret
Function at 0x4fc8af
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.004ccc0d
test eax, eax
je 0x4fc8d9
xor eax, eax
jmp 0x4fc935
test ebx, ebx
mov esi, str..Time.c
jne 0x4fc8fb
push 0xb90
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004fb92f
add esp, 0xc
test eax, eax
je 0x4fc8d5
lea ebx, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0xb98
push esi
mov edx, 0x54f4b4
call fcn.00434df1
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4fc8d5
push edi
push 1
push 0x10
push ebx
call fcn.00531aad
add esp, 0x10
mov esi, eax
dec esi
neg esi
sbb esi, esi
mov ecx, edi
inc esi
call fcn.00435239
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4fc93a
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 0x4fc966
push 0x10
push ebx
push edi
call fcn.005306b0
add esp, 0xc
mov edx, dword [ebp + 0xc]
call fcn.004ccc0d
test eax, eax
je 0x4fc976
xor eax, eax
jmp 0x4fc9ce
mov ecx, dword [ebp + 0xc]
push 0xbb8
push str..Time.c
mov edx, 0x54f4b8
call fcn.00434df1
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4fc972
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.005306b0
push esi
push 1
lea eax, [ebp - 0x10]
push 0x10
push eax
call fcn.00530e93
add esp, 0x1c
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
mov ecx, esi
inc ebx
call fcn.00435239
test edi, edi
je 0x4fc9cc
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 0x4fcddb
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 [0x70c7e4], eax
je 0x4fcee3
call fcn.004fa8e4
mov dword [0x70c7e8], eax
cmp dword [0x70c7e4], ebx
jne 0x4fcf35
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4fcf1d
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [esp + 0x14], ebx
jne 0x4fce66
call fcn.00411df1
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4fcf21
cmp dword [esp + 0x10], ebx
jne 0x4fcf21
lea eax, [esp + 0x20]
push eax
call fcn.00411df1
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 0x4fcf13
cmp eax, dword [esp + 0x28]
jge 0x4fcf13
cmp dword [esp + 0x1c], ecx
jle 0x4fcf13
push 0xf
call esi
add eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jge 0x4fcf13
mov dword [0x70c7c8], 1
call fcn.004fa8e4
mov dword [0x70c7cc], eax
jmp 0x4fcf21
call fcn.004fa8e4
sub eax, dword [0x70c7e8]
cmp eax, 0xde
jae 0x4fce21
call fcn.004fa8e4
sub eax, dword [0x70c7e8]
push eax
push str.:7:CheckForMouseButton___was_called_consecutively_too_quickly:__dms
call fcn.0042bd38
pop ecx
pop ecx
jmp 0x4fcf35
mov dword [esp + 0x10], 1
jmp 0x4fcf21
mov dword [esp + 0x10], ebx
push 0x16
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x70c7e4], ebx
je 0x4fce33
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x501d25
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1460
call fcn.00544890
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x1230
mov dword [ebp - 0x1454], eax
lea eax, [ebp - 0x144c]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x145c], edi
mov dword [ebp - 0x1450], ebx
call fcn.005306b0
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov dword [ebp - 0x1458], ebx
mov byte [ebp - 0x110], bl
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.005306b0
add esp, 0xc
mov edx, edi
call fcn.004ccc0d
test eax, eax
je 0x501db9
or eax, 0xffffffff
jmp 0x501f05
cmp dword [ebp - 0x1454], ebx
je 0x501dd5
push 0x1234
push ebx
push dword [ebp - 0x1454]
call fcn.005306b0
add esp, 0xc
push edi
mov ecx, 0x104
lea eax, [ebp - 0x218]
call fcn.004ccc3f
pop ecx
mov esi, eax
call fcn.004ccf41
mov eax, esi
push eax
lea eax, [ebp - 0x110]
push 0x54f4f0
push eax
call fcn.00493154
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push edi
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
jne 0x501e3b
call fcn.00531157
push eax
push 0x550d2c
mov eax, 0x104
lea edi, [ebp - 0x110]
call fcn.004ce4a3
mov edi, dword [ebp - 0x145c]
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
mov ecx, edi
call fcn.00522550
mov dword [esp], 0x32a
push str..TrackProg.c
mov edx, 0x54f4b8
lea ecx, [ebp - 0x110]
call fcn.00434df1
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x501e7d
lea eax, [ebp - 0x110]
call fcn.004314ff
jmp 0x501db1
lea ebx, [ebp - 0x1450]
mov eax, esi
call fcn.00501f14
test eax, eax
jne 0x501eaa
lea eax, [ebp - 0x110]
push eax
push str.:7:LoadTillSheetFromProgress___s___FAILED:_fread___FAILED_to_read_the_till_sheet_struct.
call fcn.0042b70b
pop ecx
pop ecx
mov ecx, esi
call fcn.00435239
jmp 0x501e6d
push esi
push 1
lea eax, [ebp - 0x1458]
push 4
push eax
call fcn.00530e93
add esp, 0x10
cmp eax, 1
jae 0x501eca
and dword [ebp - 0x1458], 0
mov ecx, esi
call fcn.00435239
cmp dword [ebp - 0x1454], 0
je 0x501ef4
push 0x1234
lea eax, [ebp - 0x1450]
push eax
push dword [ebp - 0x1454]
call fcn.00531bb0
add esp, 0xc
lea eax, [ebp - 0x110]
call fcn.004314ff
mov eax, dword [ebp - 0x1458]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x501f14
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push esi
push edi
mov edi, eax
test edi, edi
je 0x502081
test ebx, ebx
je 0x502081
push edi
xor esi, esi
inc esi
push esi
lea eax, [ebp - 4]
push 4
push eax
call fcn.00530e93
add esp, 0x10
cmp eax, esi
jae 0x501f4d
and dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
test ecx, ecx
mov eax, 0x1234
je 0x502081
cmp ecx, eax
ja 0x502066
push eax
push 0
push ebx
call fcn.005306b0
push edi
push esi
push dword [ebp - 4]
push ebx
call fcn.00530e93
add esp, 0x1c
cmp eax, esi
jae 0x501f99
push edi
call fcn.004354a5
push eax
push str.:7:LoadTillSheetFromProgressRAW___s___FAILED:_fread___FAILED_to_read_the_till_sheet_struct.
call fcn.0042b70b
add esp, 0xc
jmp 0x502081
mov eax, dword [ebx + 0x11b8]
test eax, eax
jbe 0x501fc1
push esi
push eax
call fcn.00530848
push edi
push esi
push dword [ebx + 0x11b8]
mov dword [ebx + 0x11b0], eax
push eax
call fcn.00530e93
add esp, 0x18
mov eax, dword [ebx + 0x11c0]
test eax, eax
jbe 0x501fe9
push esi
push eax
call fcn.00530848
push edi
push esi
push dword [ebx + 0x11c0]
mov dword [ebx + 0x11bc], eax
push eax
call fcn.00530e93
add esp, 0x18
and dword [ebx + 0x104c], 0
cmp dword [ebx + 0x1040], 0
je 0x502062
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
mov word [ebp - 0x12], si
sub esp, 0x10
mov word [ebp - 0xe], 8
mov word [ebp - 0x14], 0x7d7
mov edi, esp
lea esi, [ebp - 0x14]
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, [ebx + 0x1c]
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.004f9a51
add esp, 0x20
test eax, eax
je 0x50205f
xor eax, eax
cmp dword [ebx + 0xb8], eax
je 0x502047
cmp word [ebx + 0x2a], ax
jne 0x502051
mov dword [ebx + 0x1050], 1
cmp dword [ebx + 0x1050], eax
jne 0x50205f
mov dword [ebx + 0x1040], eax
xor esi, esi
inc esi
mov eax, esi
jmp 0x502083
test ecx, ecx
jbe 0x502081
push eax
push ecx
push edi
call fcn.004354a5
pop ecx
push eax
push str.:7:LoadTillSheetFromProgressRAW___s___FAILED:_The_server_may_need_to_be_recompiled:_The_till_sheet_size_is_invalid:__ld__ld
call fcn.0042b70b
add esp, 0x10
xor eax, eax
pop edi
pop esi
leave
ret