Function at 0x42bac0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56aeaa
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 2
mov ebx, 0x10
jne 0x42bc71
cmp dword [edi + 0x18], ebx
lea eax, [edi + 4]
jb 0x42bb09
mov eax, dword [eax]
push eax
call fcn.004ee6fe
add esp, 4
test eax, eax
je 0x42bc71
mov ecx, edi
call fcn.00426f00
test eax, eax
jne 0x42bb39
push str.table_utf8
mov ecx, edi
call fcn.00427640
test al, al
jne 0x42bf83
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
xor esi, esi
push esi
mov ecx, edi
call edx
lea ecx, [ebp - 0xb8]
call fcn.004286c0
push 2
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], esi
call fcn.00428230
push str.table2
lea ecx, [ebp - 0xb8]
call fcn.00428410
lea ecx, [ebp - 0xb8]
call fcn.00429870
cmp eax, esi
jle 0x42bbb1
mov ebx, eax
mov eax, dword [ebp - 0x70]
lea ecx, [esi + eax]
push 0x80
push ecx
call fcn.00426c80
mov edx, dword [ebp - 0x70]
add esp, 8
lea eax, [esi + edx]
push eax
mov ecx, edi
call fcn.0042af50
add esi, 0xf1
dec ebx
jne 0x42bb81
xor esi, esi
lea ebx, [esi + 0x10]
mov ecx, dword [ebp - 0x7c]
cmp ecx, esi
je 0x42bbc2
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x7c], esi
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0xb8]
call eax
or edi, 0xffffffff
mov dword [ebp - 0x74], edi
mov dword [ebp - 0xb8], vtable.CAuditDataBase.0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 2
call dword [0x57a448]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], edi
cmp eax, esi
je 0x42bc09
push eax
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0xb8], vtable.IAuditDataBase.0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 4
call fcn.004ef745
cmp dword [ebp - 0x84], ebx
jb 0x42bc42
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], esi
mov byte [ebp - 0x98], 0
cmp dword [ebp - 0xa0], ebx
jb 0x42bf83
mov edx, dword [ebp - 0xb4]
push edx
jmp 0x42bf7b
cmp dword [edi + 0x18], ebx
lea esi, [edi + 4]
jb 0x42bc7d
mov eax, dword [esi]
jmp 0x42bc7f
mov eax, esi
push eax
call fcn.004ee6fe
add esp, 4
test eax, eax
jne 0x42bf83
xor ecx, ecx
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x48], cl
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
mov bl, 6
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], bl
call fcn.00434dc0
mov eax, dword [edi + 0x44]
push eax
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 7
call fcn.004350c0
lea eax, [ebp - 0x1fc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bce0
sub eax, edx
push eax
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040a3f0
lea ecx, [ebp - 0x200]
call fcn.00434e10
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], bl
call fcn.00435040
push str..tmp
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.00428fe0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0040a290
mov byte [ebp - 4], bl
mov ebx, 0x10
cmp dword [ebp - 0xc0], ebx
jb 0x42bd56
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00535f7c
add esp, 4
cmp dword [esi + 0x14], ebx
jb 0x42bd5d
mov esi, dword [esi]
push esi
call fcn.004ee6fe
add esp, 4
test eax, eax
jne 0x42bda4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42bd75
lea eax, [ebp - 0x2c]
push eax
call fcn.004ee6fe
add esp, 4
test eax, eax
jne 0x42bda4
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42bd8d
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x42bd98
lea eax, [ebp - 0x48]
push 0
push ecx
push eax
call fcn.004ee8f9
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42bdaf
lea eax, [ebp - 0x2c]
push eax
call fcn.004ee6fe
add esp, 4
test eax, eax
jne 0x42bdf1
cmp dword [ebp - 0x18], ebx
jb 0x42bdcd
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], ebx
jb 0x42bf83
mov eax, dword [ebp - 0x48]
push eax
jmp 0x42bf7b
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42bdfc
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 3
push 0
push 3
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42be58
cmp dword [ebp - 0x18], ebx
jb 0x42be2d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], ebx
jb 0x42be50
mov edx, dword [ebp - 0x48]
push edx
call fcn.00535f7c
add esp, 4
or eax, 0xffffffff
jmp 0x42bf85
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
push eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x2fc]
push eax
push 0x18
lea ecx, [ebp - 0x60]
push ecx
push esi
call ebx
cmp dword [ebp - 0x58], 0x34
je 0x42bea8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00451de0
lea ecx, [ebp - 0x48]
call fcn.00451de0
or eax, 0xffffffff
jmp 0x42bf85
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push 0
mov ecx, edi
call eax
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x2f8], 0
jbe 0x42bf2b
push 0xf1
lea ecx, [ebp - 0x2f4]
push 0
push ecx
call fcn.00534b40
add esp, 0xc
push 0
lea edx, [ebp - 0x2fc]
push edx
push 0xf1
lea eax, [ebp - 0x2f4]
push eax
push esi
call ebx
cmp dword [edi + 0x44], 2
jne 0x42bf0b
lea ecx, [ebp - 0x2f4]
push 0x80
push ecx
call fcn.00426c80
add esp, 8
lea edx, [ebp - 0x2f4]
push edx
mov ecx, edi
call fcn.0042af50
mov eax, dword [ebp - 0x2f8]
inc eax
mov dword [ebp - 0x2f8], eax
cmp eax, dword [ebp - 0x60]
jb 0x42bec3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x42bf42
lea eax, [ebp - 0x2c]
push 0
push 0
push eax
call fcn.004eee67
add esp, 0xc
cmp dword [ebp - 0x18], esi
jb 0x42bf60
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], esi
jb 0x42bf83
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00535f7c
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret