Function at 0x41be39
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0xd0
lea ebp, [esp - 4]
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp + 0xd0], eax
push 0x94
mov eax, 0x495d5f
call fcn.00470906
mov eax, dword [ebp + 0xdc]
mov esi, dword [ebp + 0xec]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xe0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xe4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xf0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xf4]
mov dword [ebp - 0x94], ecx
mov edi, 0x4a099a
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.0044e280
xor ebx, ebx
push edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.0044e280
push 0x64
lea eax, [ebp + 0x69]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp + 0x68], bl
call fcn.00470280
push 0x64
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00470280
add esp, 0x18
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x10], ebx
jne 0x41bef7
mov esi, dword [esi]
push esi
call fcn.004727e5
mov esi, eax
push esi
call fcn.004770fa
cmp eax, esi
push esi
setne byte [ebp - 0x16]
call fcn.004770fa
mov ecx, dword [ebp - 0x14]
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x60], esi
call fcn.00401219
test al, al
je 0x41bf2d
cmp esi, ebx
je 0x41c58d
mov dword [ebp - 0x6c], esi
cmp dword [ebp + 0xf8], ebx
je 0x41bf3e
lea eax, [esi + esi]
mov dword [ebp - 0x6c], eax
push 0x64
lea eax, [ebp + 0x68]
push eax
push 0x4a31c0
push ebx
mov edi, 0x40000000
push edi
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0044e280
push 0x64
lea eax, [ebp]
push eax
push str.MMM_dd_yyyy
push ebx
push edi
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044e280
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401219
mov esi, dword [ebp - 0x1c]
test al, al
jne 0x41bfc1
mov ecx, esi
call fcn.0044e020
cmp byte [esi + 7], 0xff
mov ecx, esi
jne 0x41bfb0
mov ecx, dword [esi]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x41bfc1
push 0x5c
mov ecx, esi
call fcn.0044e760
push dword [ebp - 0x68]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.0044eaf0
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call fcn.0040bc40
add esp, 0x18
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0044e310
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0044e260
cmp byte [ebp - 0x1d], 0xff
lea eax, [ebp - 0x24]
jne 0x41c008
mov eax, dword [ebp - 0x24]
push 0x4a2d28
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00471386
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x41c569
mov ecx, dword [ebp - 0x14]
call fcn.00401219
test al, al
jne 0x41c3f8
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0047707e
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0047707e
add esp, 0x18
test eax, eax
jne 0x41c569
push dword [ebp - 0x10]
call fcn.00476f8f
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
call fcn.0047707e
mov edi, 0x2710
push edi
call fcn.0046d27a
mov esi, 0x1388
push esi
mov dword [ebp - 0x1c], eax
call fcn.0046d27a
add esp, 0x18
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], ebx
je 0x41c569
cmp eax, ebx
jne 0x41c0a3
push dword [ebp - 0x1c]
call fcn.0047037a
pop ecx
jmp 0x41c569
push edi
push ebx
push dword [ebp - 0x1c]
call fcn.00470280
push esi
push ebx
push dword [ebp - 0x34]
call fcn.00470280
mov ecx, dword [ebp - 0x14]
add esp, 0x18
push 0x2c
call fcn.0044e050
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
call fcn.0044f0f0
cmp dword [ebp - 0x68], ebx
je 0x41c396
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.0044e010
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0044e010
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
mov byte [ebp - 0x15], bl
push esi
cmp dword [ebp + 0xf8], ebx
je 0x41c122
push dword [ebp - 0x1c]
call fcn.00476d42
add esp, 0xc
push ebx
push ebx
push esi
push dword [ebp - 0x34]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x41c12d
push dword [ebp - 0x34]
call fcn.0047117b
add esp, 0xc
push dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
call fcn.0044e3b0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044e310
lea ecx, [ebp - 0x4c]
call fcn.0044f0f0
cmp dword [ebp + 0xfc], ebx
je 0x41c289
cmp byte [edi + 7], 0xff
mov eax, edi
jne 0x41c162
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044e0f0
cmp eax, 0xffffffff
je 0x41c309
lea ecx, [ebp - 0x4c]
call fcn.0044e020
cmp dword [ebp + 0xf8], ebx
je 0x41c186
add eax, eax
push 1
neg eax
push eax
push dword [ebp - 0x10]
call fcn.0047707e
add esp, 0xc
test eax, eax
jne 0x41c37e
cmp byte [ebp - 0x16], bl
je 0x41c1c7
mov eax, dword [ebp - 0x6c]
push 1
neg eax
push eax
push dword [ebp - 0x10]
call fcn.0047707e
add esp, 0xc
test eax, eax
je 0x41c1c7
push ebx
push ebx
push dword [ebp - 0x10]
call fcn.0047707e
add esp, 0xc
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x6c]
mov eax, edi
cmp byte [ebp - 0x16], bl
je 0x41c1d9
lea eax, [edi + edi]
add esi, esi
cmp dword [ebp + 0xf8], ebx
je 0x41c335
lea edi, [eax + 2]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x14], edi
neg ecx
or ecx, eax
push ecx
call fcn.0046d27a
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x41c37e
mov eax, edi
mov edi, dword [ebp - 0x38]
add eax, eax
push eax
push ebx
push edi
call fcn.00470280
push dword [ebp - 0x10]
push esi
push 1
push edi
call fcn.0047697e
push dword [ebp - 0x14]
lea eax, [edi + esi]
mov word [eax], bx
mov byte [eax + 2], bl
call fcn.0046d27a
mov edi, eax
add esp, 0x20
cmp edi, ebx
je 0x41c273
push dword [ebp - 0x14]
push ebx
push edi
call fcn.00470280
add esp, 0xc
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x38]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [ebp - 0x2c]
mov byte [eax + edi], bl
call fcn.0044e3b0
push edi
call fcn.0047037a
pop ecx
push dword [ebp - 0x38]
call fcn.0047037a
push dword [ebp - 0x10]
call fcn.0047670c
pop ecx
jmp 0x41c37d
xor edi, edi
inc edi
cmp dword [ebp - 0x38], edi
jl 0x41c309
cmp byte [ebp - 0x15], bl
jne 0x41c309
mov ecx, dword [ebp - 0x14]
push edi
push 0x2c
lea eax, [ebp - 0x80]
push eax
call fcn.0044ebe0
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 8
jne 0x41c2b1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044e0f0
cmp eax, 0xffffffff
lea ecx, [ebp - 0x80]
setne byte [ebp - 0x2d]
mov byte [ebp - 4], 7
call fcn.0044e260
cmp byte [ebp - 0x2d], bl
je 0x41c303
lea ecx, [ebp - 0x2c]
call fcn.0044ef60
lea ecx, [ebp - 0x2c]
call fcn.0044e020
test eax, eax
je 0x41c2f3
push 0x4a31b0
lea ecx, [ebp - 0x2c]
call fcn.0044e6e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044e7c0
mov byte [ebp - 0x15], 1
inc edi
cmp edi, dword [ebp - 0x38]
jle 0x41c291
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0044e260
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0044e260
push dword [ebp - 0x10]
call fcn.00476f8f
pop ecx
cmp eax, dword [ebp - 0x68]
jne 0x41c0d8
jmp 0x41c396
lea eax, [esi + 1]
push eax
call fcn.0046d27a
mov edi, eax
pop ecx
cmp edi, ebx
je 0x41c37e
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.00470280
push dword [ebp - 0x10]
push esi
push 1
push edi
call fcn.0047697e
push dword [ebp - 0x10]
call fcn.0047670c
add esp, 0x20
test eax, eax
jne 0x41c37e
push edi
lea ecx, [ebp - 0x2c]
mov byte [edi + esi], bl
call fcn.0044e3b0
push edi
call fcn.0047037a
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0044e260
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0044e260
push dword [ebp - 0x34]
call fcn.0047037a
push dword [ebp - 0x1c]
call fcn.0047037a
pop ecx
pop ecx
cmp dword [ebp + 0x100], ebx
jne 0x41c3f8
lea ecx, [ebp - 0x2c]
call fcn.0044e020
test eax, eax
jne 0x41c3cb
push str.keyword_not_found
lea ecx, [ebp - 0x2c]
call fcn.0044e3b0
jmp 0x41c3f8
cmp dword [ebp - 0x60], ebx
jle 0x41c3f8
push dword [ebp - 0x60]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044ea30
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0044e310
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.0044e260
lea ecx, [ebp - 0x2c]
call fcn.00401219
test al, al
je 0x41c548
push 2
push ebx
push dword [ebp - 0x10]
call fcn.0047707e
add esp, 0xc
test eax, eax
jne 0x41c569
push dword [ebp - 0x10]
call fcn.00476f8f
mov edi, dword [ebp - 0x6c]
pop ecx
cmp eax, edi
jge 0x41c430
mov edi, eax
mov eax, edi
push 2
neg eax
push eax
push dword [ebp - 0x10]
call fcn.0047707e
add esp, 0xc
test eax, eax
jne 0x41c569
cmp dword [ebp + 0xf8], ebx
je 0x41c4ff
mov esi, dword [ebp - 0x60]
add esi, 2
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [ebp - 0x38], esi
neg ecx
or ecx, eax
push ecx
call fcn.0046d27a
pop ecx
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x41c548
mov eax, esi
mov esi, dword [ebp - 0x60]
add eax, eax
push eax
push ebx
push esi
call fcn.00470280
push dword [ebp - 0x10]
push edi
push 1
push esi
call fcn.0047697e
push dword [ebp - 0x38]
lea eax, [esi + edi]
mov word [eax], bx
mov byte [eax + 2], bl
call fcn.0046d27a
mov esi, eax
add esp, 0x20
cmp esi, ebx
je 0x41c4e7
push dword [ebp - 0x38]
push ebx
push esi
call fcn.00470280
add esp, 0xc
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x60]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea ecx, [ebp - 0x2c]
mov byte [eax + esi], bl
call fcn.0044e3b0
push esi
call fcn.0047037a
pop ecx
push dword [ebp - 0x60]
call fcn.0047037a
push dword [ebp - 0x10]
call fcn.0047670c
pop ecx
pop ecx
test eax, eax
je 0x41c548
jmp 0x41c569
lea eax, [edi + 1]
push eax
call fcn.0046d27a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x41c548
lea eax, [edi + 1]
push eax
push ebx
push esi
call fcn.00470280
push dword [ebp - 0x10]
push edi
push 1
push esi
call fcn.0047697e
push dword [ebp - 0x10]
call fcn.0047670c
add esp, 0x20
test eax, eax
jne 0x41c569
push esi
lea ecx, [ebp - 0x2c]
mov byte [esi + edi], bl
call fcn.0044e3b0
push esi
call fcn.0047037a
pop ecx
push 1
push 0x4a126c
push 0x4a09b4
lea ecx, [ebp - 0x2c]
call fcn.0044f110
push str.none
lea ecx, [ebp - 0x78]
call fcn.0044e3b0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0044e260
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0044e260
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0044e260
cmp dword [ebp - 0x10], ebx
je 0x41c59b
push dword [ebp - 0x10]
call fcn.00470ed8
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.0044e010
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x9c]
push str._s__s
push eax
mov byte [ebp - 4], 0xa
call fcn.0044ee50
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00404810
mov esi, eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xb
call fcn.00404810
mov edi, eax
push dword [ebp - 0x88]
lea eax, [ebp - 0x3c]
push str.actiongetlogvalue
push eax
mov byte [ebp - 4], 0xc
call fcn.0044eb90
push str._failurelog_id
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xd
call fcn.0044eb40
push dword [ebp - 0xa0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0044eaf0
add esp, 0x44
push str.dateTime
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.0044eb40
push edi
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0044eaf0
push str.snippet
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x11
call fcn.0044eb40
push esi
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x12
call fcn.0044eaf0
push dword [ebp - 0x84]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0044eaf0
add esp, 0x3c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x15
call fcn.0044e260
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x16
call fcn.0044e260
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
call fcn.0044e260
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.0044e260
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x19
call fcn.0044e260
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call fcn.0044e260
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
call fcn.0044e260
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1c
call fcn.0044e260
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1d
call fcn.0044e260
lea eax, [ebp - 0x78]
push str.none
push eax
call fcn.004012cb
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
test al, al
je 0x41c712
push str.errorfile_not_found
jmp 0x41c717
push 0x4a099a
call fcn.0044e3b0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.0044e7c0
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
push ebx
lea edx, [ebp - 0x90]
push edx
call dword [eax + 0x10]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.0044e260
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0044e260
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0044e260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0044e260
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.00470483
add ebp, 0xd4
leave
ret 0x28