joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b9248
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
jne 0x4b9294
mov eax, dword [0x6fad4c]
cmp eax, edi
je 0x4b9279
push eax
call fcn.0053061e
pop ecx
mov dword [0x6fad44], edi
mov dword [0x6fad48], edi
push 0x66c
push 0x191
call fcn.00530848
pop ecx
pop ecx
mov dword [0x6fad4c], eax
jmp 0x4b9381
push 0xfb2
push str..Reconcile.c
mov edx, 0x54f4b8
call fcn.00434df1
mov ebx, eax
cmp ebx, edi
mov eax, dword [0x6fad4c]
pop ecx
pop ecx
je 0x4b9381
cmp eax, edi
je 0x4b92ca
push eax
call fcn.0053061e
pop ecx
mov dword [0x6fad4c], edi
push ebx
push 1
lea eax, [ebp - 4]
push 4
push eax
mov dword [0x6fad44], edi
mov dword [0x6fad48], edi
call fcn.00530e93
add esp, 0x10
cmp eax, 1
jae 0x4b92f5
mov ecx, ebx
call fcn.00435239
jmp 0x4b9279
mov eax, dword [ebp - 4]
mov esi, 0x66c
add eax, 0x191
push esi
push eax
call fcn.00530848
cmp eax, edi
pop ecx
pop ecx
mov dword [0x6fad4c], eax
jne 0x4b931f
mov ecx, ebx
call fcn.00435239
xor eax, eax
jmp 0x4b9381
mov eax, dword [ebp - 4]
cmp eax, edi
mov dword [ebp - 0xc], edi
jle 0x4b936a
push ebx
push 1
lea eax, [ebp - 8]
push 2
push eax
call fcn.00530e93
mov eax, dword [0x6fad4c]
mov cx, word [ebp - 8]
add eax, edi
mov word [eax], cx
movzx ecx, word [ebp - 8]
push ebx
dec ecx
push 1
dec ecx
push ecx
add eax, 2
push eax
call fcn.00530e93
mov eax, dword [ebp - 4]
add esp, 0x20
inc dword [ebp - 0xc]
add edi, esi
cmp dword [ebp - 0xc], eax
jl 0x4b9329
xor edi, edi
mov ecx, ebx
mov dword [0x6fad44], eax
mov dword [0x6fad48], edi
call fcn.00435239
mov eax, dword [0x6fad4c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b9386
Capabilities:
Write file on windows

Disassembly:
test ecx, ecx
push esi
push edi
jne 0x4b9393
xor eax, eax
jmp 0x4b9415
cmp dword [0x6fad44], 0
mov eax, dword [0x6fad4c]
jle 0x4b9415
test eax, eax
je 0x4b9415
push 0xff6
push str..Reconcile.c
mov edx, 0x54f4b4
call fcn.00434df1
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4b938c
push esi
push 1
push 4
push 0x6fad44
call fcn.00531aad
mov edi, dword [0x6fad4c]
xor edx, edx
add esp, 0x10
cmp dword [0x6fad44], edx
mov eax, 0x66c
jle 0x4b93f8
mov ecx, edi
mov word [ecx], ax
inc edx
add ecx, eax
cmp edx, dword [0x6fad44]
jl 0x4b93ea
push esi
push dword [0x6fad44]
push eax
push edi
call fcn.00531aad
add esp, 0x10
mov ecx, esi
call fcn.00435239
mov eax, dword [0x6fad4c]
pop edi
pop esi
ret
Function at 0x4bab44
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor esi, esi
push 9
xor eax, eax
cmp dword [ebp + 8], esi
mov word [ebp - 0x34], si
pop ecx
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
stosw word es:[edi], ax
jne 0x4bab9e
mov eax, dword [0x6fabac]
cmp eax, esi
je 0x4bab86
push eax
call fcn.0053061e
pop ecx
mov dword [0x6fa8bc], esi
mov dword [0x6faa34], esi
push 0x28
push 0x3e9
call fcn.00530848
pop ecx
pop ecx
mov dword [0x6fabac], eax
jmp 0x4bac94
mov ecx, dword [ebp + 8]
push 0x143e
push str..Reconcile.c
mov edx, 0x54f4b8
call fcn.00434df1
mov ebx, eax
cmp ebx, esi
mov eax, dword [0x6fabac]
pop ecx
pop ecx
je 0x4bac94
cmp eax, esi
je 0x4babd7
push eax
call fcn.0053061e
pop ecx
mov dword [0x6fabac], esi
push ebx
push 1
lea eax, [ebp - 8]
push 4
push eax
mov dword [0x6fa8bc], esi
mov dword [0x6faa34], esi
call fcn.00530e93
add esp, 0x10
cmp eax, 1
jae 0x4bac02
mov ecx, ebx
call fcn.00435239
jmp 0x4bab86
mov eax, dword [ebp - 8]
push 0x28
pop esi
add eax, 0x3e9
push esi
push eax
call fcn.00530848
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
mov dword [0x6fabac], eax
jne 0x4bac2c
mov ecx, ebx
call fcn.00435239
xor eax, eax
jmp 0x4bac94
mov eax, dword [ebp - 8]
cmp eax, edi
mov dword [ebp + 8], edi
jle 0x4bac7c
push ebx
push 1
lea eax, [ebp - 0xc]
push 2
push eax
call fcn.00530e93
mov eax, dword [0x6fabac]
mov dword [ebp - 0xc], esi
mov word [edi + eax], si
movzx eax, word [ebp - 0xc]
push ebx
dec eax
dec eax
push 1
push eax
lea eax, [ebp - 0x32]
push eax
call fcn.00530e93
lea eax, [ebp - 0x34]
push eax
call fcn.004b9418
mov eax, dword [ebp - 8]
add esp, 0x24
inc dword [ebp + 8]
add edi, esi
cmp dword [ebp + 8], eax
jl 0x4bac36
and dword [0x6faa34], 0
mov ecx, ebx
mov dword [0x6fa8bc], eax
call fcn.00435239
mov eax, dword [0x6fabac]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4bac99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
mov dword [ebp - 4], esi
jne 0x4bacad
xor eax, eax
jmp 0x4bad24
cmp dword [0x6fa8bc], esi
mov eax, dword [0x6fabac]
jle 0x4bad24
cmp eax, esi
je 0x4bad24
push 0x1486
push str..Reconcile.c
mov edx, 0x54f4b4
call fcn.00434df1
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x4baca9
mov eax, dword [0x6fa8bc]
push ebx
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
call fcn.00531aad
add esp, 0x10
cmp dword [ebp - 4], esi
jle 0x4bad18
xor edi, edi
mov eax, dword [0x6fabac]
push ebx
push 1
add eax, edi
push 0x28
push eax
call fcn.00531aad
add esp, 0x10
inc esi
add edi, 0x28
cmp esi, dword [ebp - 4]
jl 0x4bacfa
mov ecx, ebx
call fcn.00435239
mov eax, dword [0x6fabac]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bad29
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
mov ebx, eax
jge 0x4bad3b
call fcn.00414c7a
mov esi, eax
test ebx, ebx
jge 0x4bad46
call fcn.00414be2
mov ebx, eax
test esi, esi
jle 0x4bad8d
test ebx, ebx
jle 0x4bad8d
push 1
push 0x1f8
call fcn.00530848
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4bad8d
mov dword [edi], esi
imul esi, ebx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + esi + 0x14]
push eax
push 4
mov dword [edi + 4], ebx
call fcn.00530848
test eax, eax
pop ecx
pop ecx
mov dword [edi + 0x14], eax
jne 0x4bad93
push edi
call fcn.0053061e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
test esi, esi
push 7
pop ebx
jle 0x4badb0
mov ecx, dword [edi + 0x14]
mov byte [ecx + eax*4], 0x20
mov ecx, dword [edi + 0x14]
mov word [ecx + eax*4 + 2], bx
inc eax
cmp eax, esi
jl 0x4bad9c
mov eax, dword [0x6fb158]
test eax, eax
jne 0x4bade4
call fcn.004b2094
test eax, eax
mov dword [0x6fb158], eax
jne 0x4bade4
push dword [edi + 0x14]
call fcn.0053061e
push edi
call fcn.0053061e
push str.:7:CreateScreenBuffer___FAILED:_CreatePtrList___FAILED____
call fcn.0042b70b
add esp, 0xc
jmp 0x4bad8d
mov ecx, dword [edi + 0x14]
lea ecx, [ecx + esi*4 + 4]
push 5
mov dword [edi + 0x24], ecx
lea ecx, [esi + 2]
pop edx
cmp ecx, edx
mov dword [edi + 0x20], ecx
jge 0x4badfe
mov dword [edi + 0x20], edx
push edi
mov dword [edi + 0x10], ebx
mov byte [edi + 0x1c], 9
mov byte [edi + 0x1d], bl
call fcn.004b218d
lea ebx, [edi + 0x38]
mov dword [esp], str..ScreenBuffer.c
push ebx
call fcn.0043a19c
test eax, eax
pop ecx
pop ecx
jne 0x4bae2f
push str.:5:CreateScreenBuffer___EAP:_InitializeLock___FAILED.
call fcn.0042b70b
pop ecx
mov esi, str.A_ScreenBuffer_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0043a49b
mov eax, 0x7d0
mov ecx, ebx
call fcn.0043a4d8
mov eax, edi
call fcn.004bdda9
mov eax, edi
jmp 0x4bad8f

Function at 0x4baf6f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, eax
jne 0x4baf80
xor eax, eax
jmp 0x4bafaa
push edi
mov edi, 0xef
call fcn.004bdd31
test eax, eax
je 0x4bafa7
mov eax, esi
call fcn.004bdd93
test eax, eax
je 0x4bafa7
cmp dword [esi + 0x14], 0
jne 0x4bafad
mov eax, esi
call fcn.004bdda9
xor eax, eax
pop edi
pop esi
leave
ret
push ebx
push dword [ebp + 8]
lea ebx, [esi + 4]
mov edi, dword [ebx]
imul edi, dword [esi]
push 4
push 1
push esi
call fcn.00531aad
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 4
push 1
push ebx
call fcn.00531aad
add dword [ebp - 4], eax
add esp, 0x20
xor ebx, ebx
test edi, edi
jle 0x4baff6
mov eax, dword [esi + 0x14]
movsx eax, byte [eax + ebx*4]
push dword [ebp + 8]
push eax
call fcn.00531f15
inc ebx
cmp ebx, edi
pop ecx
pop ecx
jl 0x4bafdf
add dword [ebp - 4], edi
xor ebx, ebx
test edi, edi
jle 0x4bb017
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + ebx*4 + 2]
push dword [ebp + 8]
push eax
call fcn.00531f15
inc ebx
cmp ebx, edi
pop ecx
pop ecx
jl 0x4bafff
mov eax, esi
call fcn.004bdda9
mov eax, dword [ebp - 4]
add eax, edi
pop ebx
jmp 0x4bafa9
Function at 0x4bb5b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x4bb6ca
push esi
push 4
lea eax, [ebp - 8]
push 1
push eax
call fcn.00530e93
push esi
push 4
lea eax, [ebp - 4]
push 1
push eax
call fcn.00530e93
mov ecx, dword [ebp - 8]
lea eax, [ecx - 1]
mov edx, 0x7ffd
add esp, 0x20
cmp eax, edx
mov eax, dword [ebp - 4]
ja 0x4bb6b3
lea edi, [eax - 1]
cmp edi, edx
ja 0x4bb6b3
call fcn.004bad29
mov edi, eax
cmp edi, ebx
jne 0x4bb635
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call fcn.004354a5
pop ecx
push eax
push str.:7:CreateScreenBufferFromRawFileDump___s___FAILED:_CreateScreenBuffer__d___d__FAILED.
jmp 0x4bb6c2
mov esi, dword [edi + 4]
imul esi, dword [edi]
test esi, esi
jle 0x4bb673
push dword [ebp + 8]
call fcn.0053256f
cmp eax, 0xffffffff
pop ecx
je 0x4bb65a
mov ecx, dword [edi + 0x14]
mov byte [ecx + ebx*4], al
inc ebx
cmp ebx, esi
jl 0x4bb63f
jmp 0x4bb673
push esi
push ebx
push dword [ebp + 8]
call fcn.004354a5
pop ecx
push eax
push str.:5:CreateScreenBufferFromRawFileDump___s___FAILED:_Premature_EOF_was_reached_parsing_characters_at__d_of__d.
call fcn.0042b70b
add esp, 0x10
xor ebx, ebx
test esi, esi
jle 0x4bb6af
push dword [ebp + 8]
call fcn.0053256f
cmp eax, 0xffffffff
pop ecx
je 0x4bb696
mov ecx, dword [edi + 0x14]
mov word [ecx + ebx*4 + 2], ax
inc ebx
cmp ebx, esi
jl 0x4bb679
jmp 0x4bb6af
push esi
push ebx
push dword [ebp + 8]
call fcn.004354a5
pop ecx
push eax
push str.:5:CreateScreenBufferFromRawFileDump___s___FAILED:_Premature_EOF_was_reached_parsing_attributes_at__d_of__d.
call fcn.0042b70b
add esp, 0x10
mov eax, edi
jmp 0x4bb6cc
push eax
push ecx
push esi
call fcn.004354a5
pop ecx
push eax
push str.:7:CreateScreenBufferFromRawFileDump___s___FAILED:_The_dimensions___d__d__are_invalid.
call fcn.0042b70b
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bca9c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x20
pop eax
jmp 0x4bcaac
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x693
mov ebx, eax
call fcn.004bdd31
test eax, eax
je 0x4bcb5c
mov eax, esi
call fcn.004bdd93
test eax, eax
je 0x4bcb5c
test ebx, ebx
jge 0x4bcadd
mov ebx, 0xff
mov eax, dword [esi]
imul eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x4bcb48
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4]
cmp byte [eax], bl
jne 0x4bcaff
test word [eax + 2], 0x2000
jne 0x4bcaff
xor ecx, ecx
jmp 0x4bcb04
xor ecx, ecx
mov byte [eax], bl
inc ecx
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4 + 2]
movzx edx, word [eax]
xor edx, dword [esi + 0x10]
test dl, dl
je 0x4bcb2d
mov dl, byte [esi + 0x10]
and dx, 0xff
cmp ebx, 0xff
je 0x4bcb2a
or dx, 0x200
mov word [eax], dx
test ecx, ecx
je 0x4bcb3d
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4 + 2]
or word [eax], 0x2000
mov eax, dword [esi]
imul eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x4bcae9
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov eax, esi
call fcn.004bdda9
xor eax, eax
inc eax
jmp 0x4bcb5e
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x4be74a
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ecx
push esi
push 0x149
push str..Security.c
call fcn.004be6a7
mov edx, 0x54f4b4
mov ecx, eax
call fcn.00434df1
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4be792
push dword [esp + 0xc]
push eax
push str.wcXqRlYqak9_fo
call fcn.004cf702
pop ecx
pop ecx
push eax
push str.:7:_s__ld__FAILED:_fopen___FAILED.
call fcn.0042b70b
add esp, 0xc
xor eax, eax
jmp 0x4be7be
push esi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.00531aad
add esp, 0x10
mov ecx, esi
call fcn.00435239
push 2
push ecx
call fcn.004be6a7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
inc eax
pop esi
pop ecx
ret

Function at 0x4be7c1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 0x162
push str..Security.c
call fcn.004be6a7
mov edx, 0x54f4b8
mov ecx, eax
call fcn.00434df1
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4be821
call fcn.004be6a7
mov edi, eax
call fcn.00432263
test eax, eax
je 0x4be81d
push dword [ebp - 4]
push esi
push str._cXqRlYqak9_fo
call fcn.004cf702
pop ecx
pop ecx
push eax
push str.:7:_s__ld__FAILED:_fopen___FAILED.
call fcn.0042b70b
add esp, 0xc
xor eax, eax
jmp 0x4be845
push esi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00530e93
add esp, 0x10
cmp eax, 1
jae 0x4be83b
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00435239
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4beace
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and word [ebp - 0x1c], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
sub esp, 0x10
lea esi, [ebp + 8]
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.004f9794
add esp, 0x14
test eax, eax
jne 0x4beb33
movzx eax, word [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x12]
push eax
movzx eax, word [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xe]
push eax
movzx eax, word [ebp + 0xa]
push eax
movzx eax, word [ebp + 8]
push eax
push str.:3:An_invalid_date_was_passed_into_SetLastTimeInternetAccess__:__04d__02d__02d____02d:_02d._02d
call fcn.0042bd38
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
xor esi, esi
mov ebx, str.ints.dat
push 0x257
push str..Security.c
push ebx
push 0
call fcn.00493030
pop ecx
pop ecx
mov edx, 0x54f4b4
mov ecx, eax
call fcn.00434df1
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x4bebac
push 0x15e
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x4beb3a
movzx eax, word [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x12]
push eax
movzx eax, word [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xe]
push eax
movzx eax, word [ebp + 0xa]
push eax
movzx eax, word [ebp + 8]
push eax
push ebx
push 0
call fcn.00493030
pop ecx
pop ecx
push eax
push str.:7:SetLastTimeInternetAccess___FAILED:_fopen___s____wb___FAILED:__04d__02d__02d____02d:_02d._02d
call fcn.0042b70b
add esp, 0x20
jmp 0x4beb2c
lea esi, [ebp + 8]
lea edi, [ebp - 0x1c]
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.0046b2ee
mov ecx, eax
call fcn.004707d3
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x4bebd4
push str.:7:SetLastTimeInternetAccess___was_called_before_the_TAMS_server_ip_address_was_initialized__
call fcn.0042bd38
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x1c]
push dword [ebp - 8]
add cl, al
movzx eax, cl
push eax
call fcn.00531f15
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x4bec2e
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x14
jb 0x4bebd8
xor eax, eax
push 0x64
inc eax
call fcn.00468c65
mov esi, eax
test esi, esi
pop ecx
jl 0x4bec29
push dword [ebp - 8]
call fcn.00531157
cdq
mov ecx, 0xff
idiv ecx
push edx
call fcn.00531f15
dec esi
pop ecx
pop ecx
jns 0x4bec0e
xor esi, esi
inc esi
jmp 0x4bec69
movzx eax, word [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x12]
push eax
movzx eax, word [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xe]
push eax
movzx eax, word [ebp + 0xa]
push eax
movzx eax, word [ebp + 8]
push eax
push dword [ebp - 4]
push ebx
push 0
call fcn.00493030
pop ecx
pop ecx
push eax
push str.:9:SetLastTimeInternetAccess___FAILED:_fputc___s___FAILED:_idx___d:__04d__02d__02d____02d:_02d._02d
call fcn.0042b70b
add esp, 0x24
xor esi, esi
mov ecx, dword [ebp - 8]
call fcn.00435239
mov eax, esi
jmp 0x4beb2e
Function at 0x4c1238
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
mov ebx, ecx
mov esi, edx
push 0
push eax
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.005306b0
and word [ebp - 0x130], 0
xor eax, eax
lea edi, [ebp - 0x12e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
test ebx, ebx
stosw word es:[edi], ax
jne 0x4c12a0
test esi, esi
jne 0x4c12a0
xor eax, eax
inc eax
jmp 0x4c1425
push str.S7.tim
lea edi, [ebp - 0x110]
call fcn.00470e3d
test ebx, ebx
pop ecx
jne 0x4c12c7
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], eax
xor edx, edx
mov ecx, eax
jmp 0x4c12dd
test esi, esi
jne 0x4c12ec
lea eax, [ebp - 0x130]
mov dword [ebp - 0x114], eax
mov esi, ebx
mov edx, eax
xor ecx, ecx
lea edi, [ebp - 0x130]
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.004c1434
and dword [ebp - 0x120], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x190
lea esi, [edi - 0x64]
push 0x663
push str..ServerPAULA.c
mov edx, 0x54f4b4
lea ecx, [ebp - 0x110]
call fcn.00434df1
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
jne 0x4c1385
call fcn.00531157
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x4c1358
call fcn.00531157
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x4c1358
call fcn.00531157
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x4c135a
push 0xa
call ebx
inc dword [ebp - 0x120]
cmp dword [ebp - 0x120], 3
jl 0x4c1301
lea eax, [ebp - 0x110]
push eax
push str.:4:SetLastSA7TimeStamp___FAILED:_fopen___s___FAILED.
call fcn.0042b70b
pop ecx
pop ecx
xor eax, eax
jmp 0x4c1425
mov esi, dword [ebp - 0x11c]
xor ebx, ebx
inc ebx
push ebx
sub esp, 0x10
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.004f9794
add esp, 0x14
test eax, eax
je 0x4c13c0
mov esi, dword [ebp - 0x114]
push ebx
sub esp, 0x10
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.004f9794
add esp, 0x14
test eax, eax
jne 0x4c13cb
push str.:5:SetLastSA7TimeStamp___is_saving_INVALID_time_stamps_provided_by_the_caller__
call fcn.0042bd38
pop ecx
push dword [ebp - 0x118]
mov esi, ebx
push ebx
push 0x10
push dword [ebp - 0x11c]
call fcn.00531aad
add esp, 0x10
cmp eax, ebx
jne 0x4c1403
push dword [ebp - 0x118]
push ebx
push 0x10
push dword [ebp - 0x114]
call fcn.00531aad
add esp, 0x10
cmp eax, ebx
je 0x4c1405
xor esi, esi
mov ecx, dword [ebp - 0x118]
call fcn.00435239
test esi, esi
jne 0x4c1423
push str.:3:SetLastSA7TimeStamp___FAILED:_fwrite___FAILED.
call fcn.0042b70b
jmp 0x4c137d
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x4c1434
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
mov ebx, edx
push 0
push eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x110], 0
call fcn.005306b0
and word [ebp - 0x12c], 0
xor eax, eax
lea edi, [ebp - 0x12a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push str.S7.tim
lea edi, [ebp - 0x110]
call fcn.00470e3d
test esi, esi
pop ecx
jne 0x4c14ad
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
test ebx, ebx
jne 0x4c14bd
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x118], eax
and dword [ebp - 0x114], 0
mov esi, 0x15e
lea ebx, [esi - 0x64]
push 0x6a0
push str..ServerPAULA.c
mov edx, 0x54f4b8
lea ecx, [ebp - 0x110]
call fcn.00434df1
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x4c156b
lea edi, [ebp - 0x110]
call fcn.00432263
test eax, eax
je 0x4c1545
call fcn.00531157
cdq
mov ecx, esi
idiv ecx
add edx, ebx
js 0x4c152e
call fcn.00531157
cdq
mov ecx, esi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x4c152e
call fcn.00531157
cdq
mov ecx, esi
idiv ecx
add edx, ebx
push edx
jmp 0x4c1530
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x4c14cc
lea edi, [ebp - 0x110]
call fcn.00432263
test eax, eax
je 0x4c1614
mov eax, edi
push eax
push str.:4:GetLastSA7TimeStamp___FAILED:_fopen___s___FAILED.
call fcn.0042b70b
pop ecx
jmp 0x4c1613
mov esi, dword [ebp - 0x11c]
xor ebx, ebx
push edi
inc ebx
push ebx
push 0x10
push esi
mov dword [ebp - 0x114], ebx
call fcn.00530e93
add esp, 0x10
cmp eax, ebx
jne 0x4c15a1
push edi
push ebx
push 0x10
push dword [ebp - 0x118]
call fcn.00530e93
add esp, 0x10
cmp eax, ebx
je 0x4c15a8
and dword [ebp - 0x114], 0
mov ecx, edi
call fcn.00435239
push ebx
sub esp, 0x10
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.004f9794
add esp, 0x14
test eax, eax
je 0x4c1609
mov esi, dword [ebp - 0x118]
push ebx
sub esp, 0x10
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.004f9794
add esp, 0x14
test eax, eax
je 0x4c1609
cmp dword [ebp - 0x114], 0
jne 0x4c1605
push 0
xor edx, edx
lea ecx, [ebp - 0x110]
call fcn.004328fa
pop ecx
push eax
push str.:3:GetLastSA7TimeStamp___FAILED:_fread___FAILED:_File_size___u
jmp 0x4c1560
mov eax, ebx
jmp 0x4c1616
push str.:3:GetLastSA7TimeStamp___FAILED:_One_of_the_time_stamps_read_is_invalid.
call fcn.0042b70b
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x4c1625
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x110], 0
call fcn.005306b0
add esp, 0xc
cmp edi, ebx
jne 0x4c166c
xor eax, eax
jmp 0x4c179a
mov esi, 0x188
push esi
push ebx
push edi
call fcn.005306b0
add esp, 0xc
push str.eod.tim
lea edi, [ebp - 0x110]
call fcn.00470e3d
mov dword [ebp - 0x114], ebx
pop ecx
mov ebx, 0xfa
push 0x6ed
push str..ServerPAULA.c
mov edx, 0x54f4b8
lea ecx, [ebp - 0x110]
call fcn.00434df1
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x4c173f
lea edi, [ebp - 0x110]
call fcn.00432263
test eax, eax
je 0x4c1718
call fcn.00531157
mov edi, 0x226
cdq
mov ecx, edi
idiv ecx
add edx, ebx
js 0x4c1701
call fcn.00531157
cdq
mov ecx, edi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x4c1701
call fcn.00531157
cdq
idiv edi
add edx, ebx
push edx
jmp 0x4c1703
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x4c1698
lea edi, [ebp - 0x110]
call fcn.00432263
test eax, eax
je 0x4c1665
mov eax, edi
push eax
push str.:4:LoadEODTimeStampDB___FAILED:_fopen___s___FAILED.
call fcn.0042b70b
pop ecx
pop ecx
jmp 0x4c1665
push edi
push 1
push esi
push dword [ebp - 0x118]
call fcn.00530e93
add esp, 0x10
cmp eax, 1
mov ecx, edi
je 0x4c1792
call fcn.00435239
push esi
push 0
xor edx, edx
lea ecx, [ebp - 0x110]
call fcn.004328fa
pop ecx
push eax
push str.:6:LoadEODTimeStampDB___FAILED:_fread___FAILED:_File_size___u__s_b__u
call fcn.0042b70b
add esp, 0xc
push esi
push 0
push dword [ebp - 0x118]
call fcn.005306b0
add esp, 0xc
jmp 0x4c1665
call fcn.00435239
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret