Function at 0x407b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x491700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x473dac
push eax
call fcn.0045431c
mov esi, eax
mov eax, dword [0x493e08]
xor ebx, ebx
add esp, 8
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd4], eax
cmp esi, ebx
je 0x407b95
lea ecx, [ebp - 0xbc]
push ecx
push esi
call fcn.004585dc
add esp, 4
push eax
call fcn.00454333
add esp, 8
cmp eax, 0xffffffff
je 0x407bb9
mov edx, dword [ebp - 0xa4]
or edx, dword [ebp - 0xa0]
jne 0x407bb9
push esi
mov dword [0x493e30], ebx
mov dword [0x493e34], ebx
call fcn.00454006
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004533ca
mov esp, ebp
pop ebp
ret
call fcn.0045320c
mov eax, dword [eax]
push eax
call fcn.00453433
push eax
push str.Fatal_error:_cant_open_the_append_log_file_for_reading:__s
push 3
call fcn.0041a370
add esp, 0x10
push 1
call fcn.00453a84
mov dword [0x493e08], ebx
call fcn.004060c0
mov edi, eax
push esi
mov dword [ebp - 0xcc], edi
call fcn.00419980
mov eax, 0x10624dd3
imul ebx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x3e8
mov edx, ebx
inc ebx
add esp, 4
sub edx, ecx
mov dword [ebp - 0xd0], ebx
jne 0x407c15
push esi
call fcn.00455074
push eax
call fcn.00419a10
mov eax, dword [0x493af0]
push 5
push eax
call fcn.00404e10
add esp, 0x10
push esi
lea ecx, [ebp - 0x84]
push 0x80
push ecx
call fcn.00454bf2
add esp, 0xc
test eax, eax
je 0x407dc5
cmp byte [ebp - 0x84], 0x2a
jne 0x407e92
lea edx, [ebp - 0x83]
push edx
call fcn.00454be7
mov esi, eax
add esp, 4
mov dword [ebp - 0xc8], esi
cmp esi, 1
jl 0x407e92
lea eax, [esi*4]
push eax
call fcn.00439100
add esp, 4
xor ebx, ebx
mov dword [ebp - 0xc4], eax
test esi, esi
jle 0x407d3a
nop
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x84]
push 0x80
push edx
call fcn.00454bf2
add esp, 0xc
test eax, eax
je 0x407e4a
cmp byte [ebp - 0x84], 0x24
jne 0x407e92
push 0xa
lea eax, [ebp - 0x83]
push 0
push eax
call fcn.00454b7a
mov esi, eax
push esi
push 0
call fcn.00421d40
add esp, 0x14
mov edi, eax
test esi, esi
je 0x407cee
mov ecx, dword [ebp - 0xc0]
push ecx
push 1
push esi
push edi
call fcn.00454932
add esp, 0x10
test eax, eax
je 0x407e92
push edi
push 0
call fcn.004151b0
mov edx, dword [ebp - 0xc4]
mov dword [edx + ebx*4], eax
mov eax, dword [ebp - 0xc0]
push eax
push 1
lea ecx, [ebp - 0x84]
push 2
push ecx
call fcn.00454932
add esp, 0x18
test eax, eax
je 0x407e92
inc ebx
cmp ebx, dword [ebp - 0xc8]
jl 0x407c80
mov edi, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
call fcn.0041b640
add esp, 4
test eax, eax
je 0x407ea8
mov edx, dword [ebp - 0xc4]
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], edx
mov eax, dword [eax + 4]
push edi
call eax
add esp, 4
cmp dword [edi + 0xb8], 0
jne 0x407ee8
mov ecx, dword [edi + 0x34]
cmp dword [ecx + 0x14], 0
jne 0x407ee8
test byte [edi + 0x58], 0x10
jne 0x407eca
xor esi, esi
cmp dword [edi + 0x18], esi
jle 0x407dab
mov edx, dword [edi + 0x1c]
mov eax, dword [edx + esi*4]
push eax
call fcn.00415770
inc esi
add esp, 4
cmp esi, dword [edi + 0x18]
jl 0x407d96
mov ecx, dword [edi + 0x1c]
push ecx
call fcn.004392f0
mov ebx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xc0]
jmp 0x407bd2
push esi
call fcn.00454698
add esp, 4
test eax, eax
je 0x407e50
test byte [edi + 0x58], 8
jne 0x407e50
push esi
call fcn.00454006
mov edx, dword [edi + 0x10]
push edx
call fcn.00421e90
mov eax, dword [edi + 0x34]
push eax
call fcn.00403e70
mov ecx, dword [edi + 0xac]
push ecx
call fcn.00403e70
push edi
call fcn.00411950
push edi
call fcn.004392f0
mov edx, dword [ebp - 0xd4]
add esp, 0x18
mov dword [0x493e08], edx
call fcn.00419a40
call fcn.00407540
mov ecx, dword [0x493e34]
mov eax, dword [0x493e30]
mov dword [0x493e2c], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x493e28], eax
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004533ca
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc0]
push esi
call fcn.00454698
add esp, 4
test eax, eax
je 0x407e6e
push str.Unexpected_end_of_file_reading_the_append_only_file
push 3
call fcn.0041a370
add esp, 8
jmp 0x407e8b
call fcn.0045320c
mov edx, dword [eax]
push edx
call fcn.00453433
push eax
push str.Unrecoverable_error_reading_the_append_only_file:__s
push 3
call fcn.0041a370
add esp, 0x10
push 1
call fcn.00453a84
push str.Bad_file_format_reading_the_append_only_file:_make_a_backup_of_your_AOF_file__then_use_._redis_check_aof___fix__filename_
push 3
call fcn.0041a370
add esp, 8
push 1
call fcn.00453a84
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
push str.Unknown_command__s_reading_the_append_only_file
push 3
call fcn.0041a370
add esp, 0xc
push 1
call fcn.00453a84
push 0x242
push str..._src_aof.c
push str._fakeClient__flags__REDIS_BLOCKED___0
call fcn.0040e0e0
add esp, 0xc
push 1
call fcn.00453a9a
push 0x240
push str..._src_aof.c
push str.fakeClient__bufpos__0__listLength_fakeClient__reply___0
call fcn.0040e0e0
add esp, 0xc
push 1
call fcn.00453a9a
int3