Function at 0x425b91
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0xd0
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0xd0], eax
push 0x88
mov eax, 0x4bcd80
call fcn.00492516
mov eax, dword [ebp + 0xdc]
mov edi, dword [ebp + 0xe8]
mov esi, dword [ebp + 0xec]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xe0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xe4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xf0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xf4]
mov dword [ebp - 0x88], ecx
push 0x4cfa1a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], eax
call fcn.00470680
xor ebx, ebx
push 0x4cfa1a
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.00470680
push 0x64
lea eax, [ebp + 0x69]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp + 0x68], bl
call fcn.00491e90
push 0x64
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00491e90
add esp, 0x18
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x10], ebx
jne 0x425c4c
mov esi, dword [esi]
push esi
call fcn.004944a5
pop ecx
mov ecx, dword [ebp - 0x40]
mov esi, eax
mov dword [ebp - 0x60], esi
call fcn.0040d4fd
test al, al
je 0x425c6c
cmp esi, ebx
je 0x4260f0
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0xf8], ebx
je 0x425c7d
lea eax, [esi + esi]
mov dword [ebp - 0x14], eax
push 0x64
lea eax, [ebp + 0x68]
push eax
push 0x4d1e94
push ebx
push 0x40000000
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp - 0x34]
call fcn.00470680
push 0x64
lea eax, [ebp]
push eax
push str.MMM_dd_yyyy
push ebx
push 0x40000000
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00470680
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040d4fd
test al, al
jne 0x425cff
mov ecx, edi
call fcn.004703e0
cmp byte [edi + 7], 0xff
mov ecx, edi
jne 0x425cee
mov ecx, dword [edi]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x425cff
push 0x5c
mov ecx, edi
call fcn.00470b60
push dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00470f10
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.004113a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00470710
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00470660
mov ecx, dword [ebp - 0x40]
call fcn.0040d4fd
test al, al
lea eax, [ebp - 0x20]
jne 0x425fa5
cmp dword [ebp + 0xf8], ebx
je 0x425d65
cmp byte [ebp - 0x19], 0xff
jne 0x425d5e
mov eax, dword [ebp - 0x20]
push 0x4d1e84
jmp 0x425d73
cmp byte [ebp - 0x19], 0xff
jne 0x425d6e
mov eax, dword [ebp - 0x20]
push 0x4d1e80
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00493016
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x4260cc
push 2
push ebx
push dword [ebp - 0x10]
call fcn.00498a87
push 2
push ebx
push dword [ebp - 0x10]
call fcn.00498a87
add esp, 0x18
test eax, eax
jne 0x4260cc
push dword [ebp - 0x10]
call fcn.00498998
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
call fcn.00498a87
push 0x2710
call fcn.0048f372
mov edi, eax
mov esi, 0x1388
push esi
mov dword [ebp - 0x70], edi
call fcn.0048f372
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp edi, ebx
je 0x4260cc
cmp eax, ebx
jne 0x425df7
push edi
call fcn.00491f8a
pop ecx
jmp 0x4260cc
push esi
push 0x30
push edi
call fcn.00491e90
push esi
push 0x30
push dword [ebp - 0x14]
call fcn.00491e90
mov ecx, dword [ebp - 0x40]
add esp, 0x18
push 0x2c
call fcn.00470410
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
call fcn.004715d0
cmp dword [ebp - 0x44], ebx
je 0x425f47
lea ecx, [ebp - 0x4c]
call fcn.004703d0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.004703d0
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
mov byte [ebp - 0x15], bl
push esi
cmp dword [ebp + 0xf8], ebx
je 0x425e73
push dword [ebp - 0x70]
call fcn.0049874b
add esp, 0xc
push ebx
push ebx
push esi
push dword [ebp - 0x14]
push 0xffffffffffffffff
push dword [ebp - 0x70]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x425e7e
push dword [ebp - 0x14]
call fcn.00492e0b
add esp, 0xc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.004707b0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00470710
lea ecx, [ebp - 0x54]
call fcn.004715d0
xor edi, edi
inc edi
cmp dword [ebp - 0x78], edi
jl 0x425f1d
cmp byte [ebp - 0x15], bl
jne 0x425f1d
mov ecx, dword [ebp - 0x40]
push edi
push 0x2c
lea eax, [ebp - 0x6c]
push eax
call fcn.00471000
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 8
jne 0x425ec5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x54]
call fcn.004704f0
cmp eax, 0xffffffff
lea ecx, [ebp - 0x6c]
setne byte [ebp - 0x21]
mov byte [ebp - 4], 7
call fcn.00470660
cmp byte [ebp - 0x21], bl
je 0x425f17
lea ecx, [ebp - 0x2c]
call fcn.00471440
lea ecx, [ebp - 0x2c]
call fcn.004703e0
test eax, eax
je 0x425f07
push 0x4d1e7c
lea ecx, [ebp - 0x2c]
call fcn.00470ae0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00470bc0
mov byte [ebp - 0x15], 1
inc edi
cmp edi, dword [ebp - 0x78]
jle 0x425ea5
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00470660
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00470660
push dword [ebp - 0x10]
call fcn.00498998
pop ecx
cmp eax, dword [ebp - 0x44]
jne 0x425e2c
push dword [ebp - 0x14]
call fcn.00491f8a
push dword [ebp - 0x70]
call fcn.00491f8a
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.004703e0
test eax, eax
jne 0x425f6f
push str.keyword_not_found
jmp 0x4260b7
cmp dword [ebp - 0x60], ebx
jle 0x4260bf
push dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00470e50
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00470710
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.00470660
jmp 0x4260bf
cmp byte [ebp - 0x19], 0xff
jne 0x425fae
mov eax, dword [ebp - 0x20]
push 0x4d1e84
push eax
call fcn.00492fff
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4260cc
push 2
push ebx
push eax
call fcn.00498a87
add esp, 0xc
test eax, eax
jne 0x4260cc
push dword [ebp - 0x10]
call fcn.00498998
mov edi, dword [ebp - 0x14]
pop ecx
cmp eax, edi
jge 0x425fef
mov dword [ebp - 0x14], eax
mov edi, eax
mov eax, edi
push 2
neg eax
push eax
push dword [ebp - 0x10]
call fcn.00498a87
add esp, 0xc
test eax, eax
jne 0x4260cc
cmp dword [ebp + 0xf8], ebx
je 0x42608b
mov edi, dword [ebp - 0x60]
add edi, 2
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048f372
mov esi, eax
xor eax, eax
mov word [esi], ax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 1
push esi
call fcn.0049872e
mov eax, dword [ebp - 0x14]
push edi
mov word [eax + esi], bx
mov byte [eax + esi + 2], bl
call fcn.0048f372
add esp, 0x18
push ebx
push ebx
push dword [ebp - 0x14]
mov edi, eax
push edi
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [ebp - 0x2c]
mov byte [eax + edi], bl
call fcn.004707b0
push edi
call fcn.00491f8a
push dword [ebp - 0x10]
call fcn.004984bc
pop ecx
pop ecx
test eax, eax
je 0x4260bf
jmp 0x4260cc
lea eax, [edi + 1]
push eax
call fcn.0048f372
mov esi, eax
mov byte [esi], bl
push dword [ebp - 0x10]
push edi
push 1
push esi
call fcn.0049872e
push dword [ebp - 0x10]
call fcn.004984bc
add esp, 0x18
test eax, eax
jne 0x4260cc
mov byte [esi + edi], bl
push esi
lea ecx, [ebp - 0x2c]
call fcn.004707b0
push str.none
lea ecx, [ebp - 0x5c]
call fcn.004707b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00470660
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00470660
cmp dword [ebp - 0x10], ebx
je 0x4260fe
push dword [ebp - 0x10]
call fcn.00492b68
pop ecx
push dword [ebp - 0x84]
lea eax, [ebp - 0x74]
push str.actiongetlogvalue
push eax
call fcn.00470fb0
push str._failurelog_id
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xa
call fcn.00470f60
push dword [ebp - 0x94]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00470f10
push str.dateTime
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xc
call fcn.00470f60
lea ecx, [ebp]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00470f60
push 0x4cfe44
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xe
call fcn.00470f60
add esp, 0x48
lea ecx, [ebp + 0x68]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.00470f60
push str.snippet
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00470f60
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00470f10
push dword [ebp - 0x80]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00470f10
add esp, 0x30
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.00470660
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4c]
call fcn.00470660
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x16
call fcn.00470660
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.00470660
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
call fcn.00470660
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.00470660
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
call fcn.00470660
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1b
call fcn.00470660
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
call fcn.00470660
lea eax, [ebp - 0x5c]
push str.none
push eax
call fcn.0040d5af
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
test al, al
je 0x42624c
push str.errorfile_not_found
jmp 0x426251
push 0x4cfa1a
call fcn.004707b0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00470bc0
mov ecx, dword [ebp - 0x88]
mov eax, dword [ecx]
push ebx
lea edx, [ebp - 0x90]
push edx
call dword [eax + 0x10]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.00470660
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00470660
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd0]
xor ecx, ebp
call fcn.00492093
add ebp, 0xd4
leave
ret 0x20