Function at 0xf23920
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0xd5000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov edx, dword [0xd589bc]
cmp edx, dword [ecx + 4]
jle 0xf23998
push 0xd589bc
call fcn.010b818b
add esp, 4
cmp dword [0xd589bc], 0xffffffff
jne 0xf23998
mov ecx, 0xd589c0
call fcn.00efd1a0
push 0xd241a0
call fcn.010b8004
add esp, 4
push 0xd589bc
call fcn.010b8141
add esp, 4
mov dword [ebp - 0x7c], 0xd589c0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
sar edx, 3
cmp edx, 0x123
jae 0xf23a2c
mov byte [ebp - 0x51], 1
mov dword [ebp - 0x80], 0xd589c0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
sar edx, 3
xor edx, 0xaac
mov dword [ebp - 0x90], edx
lea eax, [ebp - 0x51]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x100], ecx
mov dl, byte [ebp - 0x65]
mov byte [ebp - 0x52], dl
mov al, byte [ebp - 0x52]
mov byte [ebp - 0x53], al
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x100]
push edx
movzx eax, byte [ebp - 0x53]
push eax
lea ecx, [ebp - 0x128]
call fcn.00fd9480
lea ecx, [ebp - 0x128]
push ecx
mov ecx, 0xd589c0
call fcn.00fc9c90
jmp 0xf23a36
mov ecx, 0xd589c0
call fcn.00fc9c40
push 0xd3b81a
lea ecx, [ebp - 0x50]
call fcn.00ef5290
xor edx, edx
mov byte [ebp - 0x54], dl
xor eax, eax
mov byte [ebp - 0x55], al
xor ecx, ecx
mov byte [ebp - 0x56], cl
mov dl, byte [ebp - 0x54]
mov byte [ebp - 0x6c], dl
mov al, byte [ebp - 0x55]
mov byte [ebp - 0x70], al
mov cl, byte [ebp - 0x56]
mov byte [ebp - 0x74], cl
mov edx, 0x4e16599b
mov dword [ebp - 0x20], 0xf63481cb
mov dword [ebp - 0x1c], edx
mov eax, 0xea09d52e
mov dword [ebp - 0x18], 0xeecdd216
mov dword [ebp - 0x14], eax
mov ecx, 0x4e16599b
mov dword [ebp - 0x120], 0xf634e3b9
mov dword [ebp - 0x11c], ecx
mov edx, 0xea09d52e
mov dword [ebp - 0x118], 0xeecdd216
mov dword [ebp - 0x114], edx
xor eax, eax
mov byte [ebp - 0x58], al
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x78], cl
movaps xmm0, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x150], xmm0
movaps xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x140], xmm0
movaps xmm0, xmmword [ebp - 0x140]
pxor xmm0, xmmword [ebp - 0x150]
movaps xmmword [ebp - 0x160], xmm0
movaps xmm0, xmmword [ebp - 0x160]
movaps xmmword [ebp - 0x20], xmm0
lea edx, [ebp - 0x20]
mov dword [ebp - 0xd4], edx
lea ecx, [ebx + 0xc]
call fcn.00ef5050
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.010c6c9a
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0xf23eb2
mov eax, dword [0xd50ae8]
cdq
mov esi, eax
mov edi, edx
add esi, 7
adc edi, 0
mov eax, dword [0xd50aec]
cdq
add eax, 0x1eb
adc edx, 0
push 0
push 0x1eb
push edx
push eax
call fcn.010e0660
mov ecx, eax
mov eax, edx
add ecx, 2
adc eax, 0
mov dword [ebp - 0x98], eax
mov eax, dword [0xd50aec]
cdq
add eax, 7
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x98]
push eax
push ecx
call fcn.010e0660
add esi, eax
adc edi, edx
add esi, 0x1eb
adc edi, 0
push edi
push esi
call fcn.00efe7a0
add esp, 8
push eax
push 0
mov edx, dword [ebp - 0x5c]
push edx
call fcn.010c7083
add esp, 0xc
mov eax, dword [ebp - 0x5c]
push eax
call fcn.010c6ba1
add esp, 4
mov dword [ebp - 0x64], eax
xor ecx, ecx
mov dword [ebp - 0xbc], 0x16e
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
xor edx, 0xb
xor eax, 0
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], eax
xor ecx, ecx
mov dword [ebp - 0xc8], 0xb
mov dword [ebp - 0xc4], ecx
mov edx, dword [0xd50ae0]
xor edx, 0x1eb
mov eax, dword [0xd50ae4]
xor eax, 0
push 0
push 8
push eax
push edx
call fcn.010e0660
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
xor ecx, ecx
mov dword [ebp - 0xe0], 0x165
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xcc]
add edx, dword [ebp - 0xd0]
adc eax, ecx
add edx, 1
adc eax, 0
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0xe0]
sbb eax, ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xec]
push esi
push ecx
push eax
push edx
call fcn.010e06a0
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x9c], edx
mov ecx, dword [0xd50af0]
xor ecx, 0x1eb
mov edx, dword [0xd50af4]
xor edx, 0
push 0
push 0
push edx
push ecx
call fcn.010e0660
push 0
push 0
push edx
push eax
call fcn.010e0660
mov esi, eax
mov edi, edx
push 0
push 0x1eb
mov eax, dword [0xd50ae4]
push eax
mov ecx, dword [0xd50ae0]
push ecx
call fcn.010e0660
push 0
push 0xb
push edx
push eax
call fcn.010e06a0
add esi, eax
adc edi, edx
xor esi, 0xb
xor edi, 0
push edi
push esi
call fcn.00efe870
add esp, 8
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.010c7083
add esp, 0xc
push 0xd3d514
lea ecx, [ebp - 0x38]
call fcn.00ef5290
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 0xc
jae 0xf23db4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0xf23d91
mov dword [ebp - 0x84], 1
jmp 0xf23d9b
mov dword [ebp - 0x84], 0
movzx ecx, byte [ebp - 0x84]
test ecx, ecx
jne 0xf23db4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x38]
call fcn.00ef51c0
jmp 0xf23dbe
push 0
lea ecx, [ebp - 0x38]
call fcn.00efb150
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0xf23ddc
mov dword [ebp - 0x88], 1
jmp 0xf23de6
mov dword [ebp - 0x88], 0
movzx ecx, byte [ebp - 0x88]
test ecx, ecx
je 0xf23e43
push 7
lea ecx, [ebp - 0x38]
call fcn.00fca670
mov dword [ebp - 0x60], 0xd3d518
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x60]
mov cl, byte [eax]
mov byte [ebp - 0x57], cl
add dword [ebp - 0x60], 1
cmp byte [ebp - 0x57], 0
jne 0xf23e0e
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
push 0xd3d518
lea ecx, [ebp - 0x38]
call fcn.00ef7210
lea ecx, [ebp - 0x38]
call fcn.00ef7030
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x8c]
ja 0xf23e6d
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.00efb150
jmp 0xf23e81
push 0
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00efb1c0
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 1
lea ecx, [ebp - 0x50]
call fcn.00ef5050
mov ecx, 1
imul edx, ecx, 0
add eax, edx
push eax
call fcn.010c7506
add esp, 0x10
mov eax, dword [ebp - 0x5c]
push eax
call fcn.010c6d28
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00ef5230
lea ecx, [ebp - 0x50]
call fcn.00ef7030
lea ecx, [ebx + 0xc]
call fcn.00ef7030
mov eax, dword [ebx + 8]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010b7b7b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret