Function at 0x411ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba931
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x4f2008]
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xd0], eax
call fcn.00413f70
mov eax, dword [ebx]
push 0x80
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0xd0]
push 3
push ecx
push 0
mov ecx, edi
mov byte [ebx], 0
call fcn.00401921
mov edx, 0x80000000
mov ecx, eax
call fcn.0040e5c0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x411c93
test esi, esi
je 0x411c93
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xec]
movlpd qword [ebp - 0xf8], xmm0
push eax
lea eax, [ebp - 0xf8]
movlpd qword [ebp - 0xec], xmm0
push eax
push edi
movlpd qword [ebp - 0x110], xmm0
call fcn.004130d0
test al, al
je 0x411c34
mov edi, dword [ebp - 0xf8]
mov ecx, edi
mov ebx, dword [ebp - 0xf4]
add ecx, 0xffffffff
mov eax, ebx
adc eax, 0xffffffff
test eax, eax
ja 0x411c2e
jb 0x411bd6
cmp ecx, 0x4ffffe
ja 0x411c2e
lea eax, [ebp - 0xc1]
mov byte [ebp - 0xc1], 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
push edi
call fcn.0040bf30
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push edi
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp ecx, ebx
ja 0x411c2e
jb 0x411c15
cmp eax, edi
jae 0x411c2e
mov byte [ebp - 0xc1], cl
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xc1]
push ecx
push edx
push eax
mov ecx, edx
call fcn.0040bf30
mov ebx, dword [ebp - 0xd0]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x411cb3
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x411c93
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x411c74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
push edx
push ecx
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor al, al
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.00495ca5
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.004224e0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push edx
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.004227b0
test al, al
jne 0x411d5b
mov byte [ebx], 1
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x411c43
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x411d37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412747
push edx
push ecx
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x411c43
mov eax, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x34]
mov ecx, 0x3e8
sub eax, esi
div ecx
mov edi, eax
mov dword [ebp - 0xd8], edi
test edx, edx
je 0x411dae
mov byte [ebx], 1
mov byte [ebp - 4], 0
test esi, esi
je 0x411c43
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x411daa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
push ecx
push esi
jmp 0x411d39
test edi, edi
jne 0x411e57
mov byte [ebp - 4], 0
test esi, esi
je 0x411e00
mov ecx, dword [ebp - 0x2c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x411de1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
push ecx
push esi
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x411e50
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x411e31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
push edx
push ecx
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, 1
jmp 0x411c95
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
push edi
mov ecx, eax
call fcn.004139b0
imul eax, edi, 0x3e8
push eax
push esi
push dword [ebp - 0x28]
call fcn.004973e0
mov ebx, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0xd4], ecx
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x24]
add esp, 0xc
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x411f1d
xor edi, edi
cmp dword [ebx + edi], 0x23ab45db
jne 0x411f78
inc dword [ebp - 0xd4]
xor eax, eax
mov word [ebx + edi + 0x282], ax
mov word [ebx + edi + 0x382], ax
mov word [ebx + edi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x24]
add edi, 0x3e8
mov ebx, dword [ebp - 0x28]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd4], eax
jb 0x411ec3
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xf0]
mov eax, 0x4ec4ec4f
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x411ff6
mov dword [ebp - 0xd8], 0x2762762
call fcn.00401888
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00401a4d
add esp, 8
mov eax, dword [eax]
cmp edi, eax
ja 0x41274c
jmp 0x411fee
mov eax, dword [ebp - 0xd0]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x411d7b
mov ecx, dword [ebp - 0x20]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x411fca
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
push ecx
push edi
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x411d7b
push edi
mov ecx, esi
call fcn.00413680
lea ecx, [ebp - 0xa0]
call fcn.0040f1a0
mov byte [ebp - 4], 3
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
sub ecx, esi
imul ecx
mov dword [ebp - 0xdc], 0
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x412688
lea ecx, [ebp - 0xa0]
call fcn.00401970
xor ebx, ebx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], ebx
nop word [eax + eax]
lea eax, [esi + ebx]
mov dword [ebp - 0xc8], eax
add eax, 4
push eax
call fcn.00401a44
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0xd4]
mov ebx, dword [eax + 0x14]
cmp edi, ebx
ja 0x4120b3
mov esi, eax
cmp ebx, 8
jb 0x41207d
mov esi, dword [eax]
mov dword [eax + 0x10], edi
mov eax, dword [ebp - 0xc8]
push edi
add eax, 4
push eax
push esi
call fcn.00401a12
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0
push eax
lea eax, [esi + edi*2]
push eax
call fcn.00401a01
add esp, 0x14
jmp 0x412222
lea ecx, [ebp - 0xa0]
call fcn.00401b82
cmp edi, eax
ja 0x41273d
lea ecx, [ebp - 0xa0]
call fcn.00401b82
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.00401970
mov ecx, edi
or ecx, 7
mov dword [ebp - 0x100], ecx
cmp ecx, esi
ja 0x41211d
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x41211d
lea eax, [ecx + edx]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004019ef
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x41212f
or ecx, 0xffffffff
jmp 0x412137
cmp ecx, 0x1000
jb 0x412162
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00495cb6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x412742
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x412173
test ecx, ecx
je 0x412171
push ecx
call fcn.00495cb6
add esp, 4
jmp 0x412173
xor eax, eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd4]
push edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xe0]
add eax, 4
push eax
push esi
call fcn.00401a2b
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0
push eax
lea eax, [esi + edi*2]
push eax
call fcn.00401a01
mov edi, dword [ebp - 0xd4]
add esp, 0x14
cmp ebx, 8
jb 0x4121ff
mov eax, dword [edi]
lea ecx, [ebx*2 + 2]
cmp ecx, 0x1000
jb 0x4121eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
mov eax, edx
push ecx
push eax
call fcn.00495ce6
mov eax, dword [ebp - 0xe0]
add esp, 8
mov dword [edi], eax
jmp 0x412222
push edi
call fcn.00401a5f
push eax
push 4
call fcn.00401880
mov esi, eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00401a5f
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [ebp - 0xc8]
add eax, 0x284
push eax
call fcn.00401a44
add esp, 4
lea ecx, [ebp - 0x88]
mov ebx, eax
call fcn.00401970
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xe8], eax
cmp ebx, eax
ja 0x412293
mov esi, edi
cmp eax, 8
jb 0x41225b
mov esi, dword [edi]
mov eax, dword [ebp - 0xc8]
push ebx
add eax, 0x284
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.00401a12
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
add esp, 0x14
jmp 0x4123fe
lea ecx, [ebp - 0x88]
call fcn.00401b82
cmp ebx, eax
ja 0x41273d
lea ecx, [ebp - 0x88]
call fcn.00401b82
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.00401970
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x108], ecx
cmp ecx, esi
ja 0x4122fd
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x4122fd
lea eax, [ecx + edx]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004019ef
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x41230f
or ecx, 0xffffffff
jmp 0x412317
cmp ecx, 0x1000
jb 0x412342
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00495cb6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x412742
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x412353
test ecx, ecx
je 0x412351
push ecx
call fcn.00495cb6
add esp, 4
jmp 0x412353
xor eax, eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc8]
push ebx
add eax, 0x284
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0xe4]
push eax
push esi
call fcn.00401a2b
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
mov ecx, dword [ebp - 0xe8]
add esp, 0x14
cmp ecx, 8
jb 0x4123db
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4123c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
mov eax, edx
push ecx
push eax
call fcn.00495ce6
mov eax, dword [ebp - 0xe4]
add esp, 8
mov dword [edi], eax
jmp 0x4123fe
push edi
call fcn.00401a5f
push eax
push 4
call fcn.00401880
mov esi, eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00401a5f
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx + 0x3cc]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x3d0]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x3d4]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x3d8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x3dc]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x3e0]
mov dword [ebp - 0x44], eax
lea eax, [ecx + 0x384]
push eax
call fcn.00401a44
add esp, 4
lea ecx, [ebp - 0x70]
mov ebx, eax
call fcn.00401970
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xcc], eax
cmp ebx, eax
ja 0x4124a3
mov esi, edi
cmp eax, 8
jb 0x41246b
mov esi, dword [edi]
mov eax, dword [ebp - 0xc8]
push ebx
add eax, 0x384
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.00401a12
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
add esp, 0x14
jmp 0x4125f9
lea ecx, [ebp - 0x70]
call fcn.00401b82
cmp ebx, eax
ja 0x41273d
lea ecx, [ebp - 0x70]
call fcn.00401b82
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401970
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0xf4], ecx
cmp ecx, esi
ja 0x412504
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x412504
lea eax, [ecx + edx]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004019ef
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x412516
or ecx, 0xffffffff
jmp 0x41251e
cmp ecx, 0x1000
jb 0x412549
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.00495cb6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x412742
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x41255a
test ecx, ecx
je 0x412558
push ecx
call fcn.00495cb6
add esp, 4
jmp 0x41255a
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc8]
push ebx
add eax, 0x384
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x38]
push eax
push esi
call fcn.00401a2b
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.00401a01
mov ecx, dword [ebp - 0xcc]
add esp, 0x14
cmp ecx, 8
jb 0x4125d9
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4125c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
mov eax, edx
push ecx
push eax
call fcn.00495ce6
mov eax, dword [ebp - 0x38]
add esp, 8
mov dword [edi], eax
jmp 0x4125f9
push edi
call fcn.00401a5f
push eax
push 4
call fcn.00401880
mov esi, eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401a5f
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0xf0]
mov eax, dword [eax + 0x3e4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 4]
mov byte [ebp - 0x3c], 0
cmp dword [ebx + 8], eax
je 0x412639
push eax
push 0x68
call fcn.00401880
add esp, 8
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.004103a0
add dword [ebx + 4], 0x68
jmp 0x412648
lea ecx, [ebp - 0xa0]
push ecx
push eax
mov ecx, ebx
call fcn.00413d70
mov ecx, dword [ebp - 0x24]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x28]
sub ecx, esi
mov edi, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xd8]
inc edi
imul ecx
add ebx, 0x3e8
mov dword [ebp - 0xdc], edi
sar edx, 6
mov eax, edx
mov dword [ebp - 0xd8], ebx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x412050
mov eax, dword [ebp - 0xd0]
mov byte [eax], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040192c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.0040192c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.0040192c
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x41271b
mov ecx, dword [ebp - 0x20]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x4126fc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412742
push ecx
push esi
call fcn.00495ce6
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040bd90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040bd90
mov al, 1
jmp 0x411c95
call fcn.00401b40
call fcn.00499d54
call fcn.00499d54
call fcn.004029c0
int3