Function at 0x42639d
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0xd0
lea ebp, [esp - 4]
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0xd0], eax
push 0x88
mov eax, 0x4bea4d
call fcn.004943c6
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 0x4d1a1a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], eax
call fcn.00472340
xor ebx, ebx
push 0x4d1a1a
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.00472340
push 0x64
lea eax, [ebp + 0x69]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp + 0x68], bl
call fcn.00493d40
push 0x64
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00493d40
add esp, 0x18
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x10], ebx
jne 0x426458
mov esi, dword [esi]
push esi
call fcn.004963f5
pop ecx
mov ecx, dword [ebp - 0x40]
mov esi, eax
mov dword [ebp - 0x60], esi
call fcn.0040d59a
test al, al
je 0x426478
cmp esi, ebx
je 0x4268fc
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0xf8], ebx
je 0x426489
lea eax, [esi + esi]
mov dword [ebp - 0x14], eax
push 0x64
lea eax, [ebp + 0x68]
push eax
push 0x4d3f84
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.00472340
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.00472340
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0040d59a
test al, al
jne 0x42650b
mov ecx, edi
call fcn.004720a0
cmp byte [edi + 7], 0xff
mov ecx, edi
jne 0x4264fa
mov ecx, dword [edi]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x42650b
push 0x5c
mov ecx, edi
call fcn.00472820
push dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00472bd0
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.004183e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.004723d0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00472320
mov ecx, dword [ebp - 0x40]
call fcn.0040d59a
test al, al
lea eax, [ebp - 0x20]
jne 0x4267b1
cmp dword [ebp + 0xf8], ebx
je 0x426571
cmp byte [ebp - 0x19], 0xff
jne 0x42656a
mov eax, dword [ebp - 0x20]
push 0x4d3f74
jmp 0x42657f
cmp byte [ebp - 0x19], 0xff
jne 0x42657a
mov eax, dword [ebp - 0x20]
push 0x4d3f70
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00494ec6
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x4268d8
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0049a947
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0049a947
add esp, 0x18
test eax, eax
jne 0x4268d8
push dword [ebp - 0x10]
call fcn.0049a858
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
call fcn.0049a947
push 0x2710
call fcn.00491370
mov edi, eax
mov esi, 0x1388
push esi
mov dword [ebp - 0x70], edi
call fcn.00491370
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp edi, ebx
je 0x4268d8
cmp eax, ebx
jne 0x426603
push edi
call fcn.00493e3a
pop ecx
jmp 0x4268d8
push esi
push 0x30
push edi
call fcn.00493d40
push esi
push 0x30
push dword [ebp - 0x14]
call fcn.00493d40
mov ecx, dword [ebp - 0x40]
add esp, 0x18
push 0x2c
call fcn.004720d0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
call fcn.00473290
cmp dword [ebp - 0x44], ebx
je 0x426753
lea ecx, [ebp - 0x4c]
call fcn.00472090
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00472090
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
mov byte [ebp - 0x15], bl
push esi
cmp dword [ebp + 0xf8], ebx
je 0x42667f
push dword [ebp - 0x70]
call fcn.0049a60b
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 0x42668a
push dword [ebp - 0x14]
call fcn.00494cbb
add esp, 0xc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.00472470
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004723d0
lea ecx, [ebp - 0x54]
call fcn.00473290
xor edi, edi
inc edi
cmp dword [ebp - 0x78], edi
jl 0x426729
cmp byte [ebp - 0x15], bl
jne 0x426729
mov ecx, dword [ebp - 0x40]
push edi
push 0x2c
lea eax, [ebp - 0x6c]
push eax
call fcn.00472cc0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 8
jne 0x4266d1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x54]
call fcn.004721b0
cmp eax, 0xffffffff
lea ecx, [ebp - 0x6c]
setne byte [ebp - 0x21]
mov byte [ebp - 4], 7
call fcn.00472320
cmp byte [ebp - 0x21], bl
je 0x426723
lea ecx, [ebp - 0x2c]
call fcn.00473100
lea ecx, [ebp - 0x2c]
call fcn.004720a0
test eax, eax
je 0x426713
push 0x4d3f6c
lea ecx, [ebp - 0x2c]
call fcn.004727a0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00472880
mov byte [ebp - 0x15], 1
inc edi
cmp edi, dword [ebp - 0x78]
jle 0x4266b1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.00472320
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00472320
push dword [ebp - 0x10]
call fcn.0049a858
pop ecx
cmp eax, dword [ebp - 0x44]
jne 0x426638
push dword [ebp - 0x14]
call fcn.00493e3a
push dword [ebp - 0x70]
call fcn.00493e3a
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.004720a0
test eax, eax
jne 0x42677b
push str.keyword_not_found
jmp 0x4268c3
cmp dword [ebp - 0x60], ebx
jle 0x4268cb
push dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00472b10
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004723d0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.00472320
jmp 0x4268cb
cmp byte [ebp - 0x19], 0xff
jne 0x4267ba
mov eax, dword [ebp - 0x20]
push 0x4d3f74
push eax
call fcn.00494eaf
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4268d8
push 2
push ebx
push eax
call fcn.0049a947
add esp, 0xc
test eax, eax
jne 0x4268d8
push dword [ebp - 0x10]
call fcn.0049a858
mov edi, dword [ebp - 0x14]
pop ecx
cmp eax, edi
jge 0x4267fb
mov dword [ebp - 0x14], eax
mov edi, eax
mov eax, edi
push 2
neg eax
push eax
push dword [ebp - 0x10]
call fcn.0049a947
add esp, 0xc
test eax, eax
jne 0x4268d8
cmp dword [ebp + 0xf8], ebx
je 0x426897
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.00491370
mov esi, eax
xor eax, eax
mov word [esi], ax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 1
push esi
call fcn.0049a5ee
mov eax, dword [ebp - 0x14]
push edi
mov word [eax + esi], bx
mov byte [eax + esi + 2], bl
call fcn.00491370
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.00472470
push edi
call fcn.00493e3a
push dword [ebp - 0x10]
call fcn.0049a37c
pop ecx
pop ecx
test eax, eax
je 0x4268cb
jmp 0x4268d8
lea eax, [edi + 1]
push eax
call fcn.00491370
mov esi, eax
mov byte [esi], bl
push dword [ebp - 0x10]
push edi
push 1
push esi
call fcn.0049a5ee
push dword [ebp - 0x10]
call fcn.0049a37c
add esp, 0x18
test eax, eax
jne 0x4268d8
mov byte [esi + edi], bl
push esi
lea ecx, [ebp - 0x2c]
call fcn.00472470
push str.none
lea ecx, [ebp - 0x5c]
call fcn.00472470
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00472320
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00472320
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00472320
cmp dword [ebp - 0x10], ebx
je 0x42690a
push dword [ebp - 0x10]
call fcn.00494a18
pop ecx
push dword [ebp - 0x84]
lea eax, [ebp - 0x74]
push str.actiongetlogvalue
push eax
call fcn.00472c70
push str._failurelog_id
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xa
call fcn.00472c20
push dword [ebp - 0x94]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00472bd0
push str.dateTime
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xc
call fcn.00472c20
lea ecx, [ebp]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00472c20
push 0x4d1e68
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xe
call fcn.00472c20
add esp, 0x48
lea ecx, [ebp + 0x68]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.00472c20
push str.snippet
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00472c20
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00472bd0
push dword [ebp - 0x80]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00472bd0
add esp, 0x30
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.00472320
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4c]
call fcn.00472320
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x16
call fcn.00472320
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x17
call fcn.00472320
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
call fcn.00472320
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.00472320
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
call fcn.00472320
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1b
call fcn.00472320
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
call fcn.00472320
lea eax, [ebp - 0x5c]
push str.none
push eax
call fcn.0040d64c
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
test al, al
je 0x426a58
push str.errorfile_not_found
jmp 0x426a5d
push 0x4d1a1a
call fcn.00472470
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00472880
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.00472320
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00472320
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00472320
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.00493f43
add ebp, 0xd4
leave
ret 0x20