Function at 0x407d70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421b81
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x42d008]
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 esi, 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 - 0xd8], esi
call fcn.00409fc0
mov eax, dword [ebx]
push 0x80
push 3
push ecx
mov dword [ebx + 4], eax
mov ecx, edi
push 0
mov byte [esi], 0
call fcn.00401cb0
mov edx, 0x80000000
mov ecx, eax
call fcn.0040c3b0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x407f43
test esi, esi
je 0x407f43
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.00408d10
test al, al
je 0x407ee4
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 0x407ee4
jb 0x407e8c
cmp ecx, 0x4ffffe
ja 0x407ee4
lea eax, [ebp - 0xc1]
mov byte [ebp - 0xc1], 0
push eax
lea ecx, [ebp - 0x1c]
push ecx
push edi
call fcn.00409e20
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 0x407ee4
jb 0x407ecb
cmp eax, edi
jae 0x407ee4
mov byte [ebp - 0xc1], cl
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xc1]
push ecx
push edx
push eax
mov ecx, edx
call fcn.00409e20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x407f63
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x407f43
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x407f24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push edx
push ecx
call fcn.004107cc
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.00410326
mov esp, ebp
pop ebp
ret 0xc
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], 1
lea ecx, [ebp - 0xc0]
call fcn.0040df80
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push edx
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.0040e250
test al, al
jne 0x408012
mov eax, dword [ebp - 0xd8]
mov byte [eax], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x407ef3
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x407fee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089dd
push edx
push ecx
call fcn.004107cc
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x407ef3
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ebx, dword [ebp - 0x28]
mov ecx, 0x3e8
sub eax, ebx
div ecx
mov esi, eax
mov dword [ebp - 0xd0], esi
test edx, edx
je 0x40806b
mov eax, dword [ebp - 0xd8]
mov byte [eax], 1
mov byte [ebp - 4], 0
test ebx, ebx
je 0x407ef3
mov ecx, dword [ebp - 0x20]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x408067
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push ecx
push ebx
jmp 0x407ff0
test esi, esi
jne 0x408114
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4080bd
mov ecx, dword [ebp - 0x20]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x40809e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push ecx
push ebx
call fcn.004107cc
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40810d
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4080ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push edx
push ecx
call fcn.004107cc
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, 1
jmp 0x407f45
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], 2
lea eax, [ebp - 0x34]
push eax
push esi
mov ecx, eax
call fcn.00409880
imul eax, esi, 0x3e8
push eax
push ebx
push dword [ebp - 0x34]
call fcn.00411ac0
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mov edi, dword [ebp - 0x34]
add esp, 0xc
sub ecx, edi
xor ebx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4081d1
xor esi, esi
nop word [eax + eax]
cmp dword [edi + esi], 0x23ab45db
jne 0x40822a
xor eax, eax
inc ebx
mov word [edi + esi + 0x282], ax
mov word [edi + esi + 0x382], ax
mov word [edi + esi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x30]
add esi, 0x3e8
mov edi, dword [ebp - 0x34]
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x408180
mov esi, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xf0]
mov eax, 0x4ec4ec4f
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x4082d8
mov dword [ebp - 0xd0], 0x2762762
call fcn.00401d42
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xdc]
call fcn.0040204e
mov eax, dword [eax]
cmp esi, eax
ja 0x4089e2
jmp 0x4082d0
mov eax, dword [ebp - 0xd8]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x408297
mov ecx, dword [ebp - 0x2c]
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 0x408278
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push ecx
push esi
call fcn.004107cc
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x407ef3
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x4082c9
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push ecx
push edx
jmp 0x407ff0
push esi
mov ecx, edi
call fcn.004094c0
lea ecx, [ebp - 0xa0]
call fcn.00405d80
mov byte [ebp - 4], 3
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
sub ecx, esi
imul ecx
mov dword [ebp - 0xdc], 0
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40890b
lea ecx, [ebp - 0xa0]
call fcn.00401cd3
xor ebx, ebx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], ebx
nop dword [eax]
lea eax, [esi + ebx]
lea ecx, [eax + 4]
mov dword [ebp - 0xc8], eax
call fcn.00402046
mov edi, eax
mov eax, dword [ebp - 0xd4]
mov ebx, dword [eax + 0x14]
cmp edi, ebx
ja 0x40838d
mov esi, eax
cmp ebx, 8
jb 0x408359
mov esi, dword [eax]
mov edx, dword [ebp - 0xc8]
mov ecx, esi
push edi
mov dword [eax + 0x10], edi
lea edx, [edx + 4]
call fcn.0040201c
add esp, 4
mov dword [ebp - 0xcc], 0
lea ecx, [esi + edi*2]
lea edx, [ebp - 0xcc]
call fcn.00401d01
jmp 0x4084e9
call fcn.00402159
cmp edi, eax
ja 0x4089d3
call fcn.00402159
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.00401cd3
mov ecx, edi
or ecx, 7
mov dword [ebp - 0x100], ecx
cmp ecx, esi
ja 0x4083e6
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x4083e6
lea eax, [ecx + edx]
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x100]
call fcn.00402012
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4083f8
or ecx, 0xffffffff
jmp 0x408400
cmp ecx, 0x1000
jb 0x40842b
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.004107da
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4089d8
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40843c
test ecx, ecx
je 0x40843a
push ecx
call fcn.004107da
add esp, 4
jmp 0x40843c
xor eax, eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd4]
push edi
lea edx, [edx + 4]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
mov esi, dword [ebp - 0xe0]
mov ecx, esi
call fcn.00402031
add esp, 4
mov dword [ebp - 0xcc], 0
lea ecx, [esi + edi*2]
lea edx, [ebp - 0xcc]
call fcn.00401d01
cmp ebx, 8
jb 0x4084c6
mov edi, dword [ebp - 0xd4]
lea ecx, [ebx*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x4084b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
mov eax, edx
push ecx
push eax
call fcn.004107cc
mov eax, dword [ebp - 0xe0]
add esp, 8
mov dword [edi], eax
jmp 0x4084e9
mov ecx, dword [ebp - 0xd4]
call fcn.00401cd3
mov edx, eax
call fcn.00401d3f
lea ecx, [ebp - 0xe0]
mov edx, eax
call fcn.00401cd3
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x284
call fcn.00402046
lea ecx, [ebp - 0x88]
mov ebx, eax
call fcn.00401cd3
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xe8], eax
cmp ebx, eax
ja 0x408556
mov esi, edi
cmp eax, 8
jb 0x40851f
mov esi, dword [edi]
mov edx, dword [ebp - 0xc8]
mov ecx, esi
push ebx
mov dword [edi + 0x10], ebx
lea edx, [edx + 0x284]
call fcn.0040201c
add esp, 4
mov dword [ebp - 0xcc], 0
lea ecx, [esi + ebx*2]
lea edx, [ebp - 0xcc]
call fcn.00401d01
jmp 0x4086ab
call fcn.00402159
cmp ebx, eax
ja 0x4089d3
call fcn.00402159
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.00401cd3
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x108], ecx
cmp ecx, esi
ja 0x4085af
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x4085af
lea eax, [ecx + edx]
lea edx, [ebp - 0x104]
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x108]
call fcn.00402012
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4085c1
or ecx, 0xffffffff
jmp 0x4085c9
cmp ecx, 0x1000
jb 0x4085f4
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.004107da
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4089d8
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x408605
test ecx, ecx
je 0x408603
push ecx
call fcn.004107da
add esp, 4
jmp 0x408605
xor eax, eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xe4], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0xe4]
lea edx, [edx + 0x284]
push ebx
mov ecx, esi
call fcn.00402031
add esp, 4
mov dword [ebp - 0xcc], 0
lea ecx, [esi + ebx*2]
lea edx, [ebp - 0xcc]
call fcn.00401d01
mov ecx, dword [ebp - 0xe8]
cmp ecx, 8
jb 0x40868c
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x408678
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
mov eax, edx
push ecx
push eax
call fcn.004107cc
mov eax, dword [ebp - 0xe4]
add esp, 8
mov dword [edi], eax
jmp 0x4086ab
mov ecx, edi
call fcn.00401cd3
mov edx, eax
call fcn.00401d3f
lea ecx, [ebp - 0xe4]
mov edx, eax
call fcn.00401cd3
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx + 0x3cc]
lea ecx, [ecx + 0x384]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x5c]
mov dword [ebp - 0x44], eax
call fcn.00402046
lea ecx, [ebp - 0x70]
mov ebx, eax
call fcn.00401cd3
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xcc], eax
cmp ebx, eax
ja 0x40873c
mov esi, edi
cmp eax, 8
jb 0x408705
mov esi, dword [edi]
mov edx, dword [ebp - 0xc8]
mov ecx, esi
push ebx
mov dword [edi + 0x10], ebx
lea edx, [edx + 0x384]
call fcn.0040201c
add esp, 4
mov dword [ebp - 0xe8], 0
lea ecx, [esi + ebx*2]
lea edx, [ebp - 0xe8]
call fcn.00401d01
jmp 0x408882
call fcn.00402159
cmp ebx, eax
ja 0x4089d3
call fcn.00402159
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401cd3
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0xf4], ecx
cmp ecx, esi
ja 0x408792
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x408792
lea eax, [ecx + edx]
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0xf4]
call fcn.00402012
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4087a4
or ecx, 0xffffffff
jmp 0x4087ac
cmp ecx, 0x1000
jb 0x4087d7
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.004107da
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4089d8
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4087e8
test ecx, ecx
je 0x4087e6
push ecx
call fcn.004107da
add esp, 4
jmp 0x4087e8
xor eax, eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x38], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x38]
lea edx, [edx + 0x384]
push ebx
mov ecx, esi
call fcn.00402031
add esp, 4
mov dword [ebp - 0xe8], 0
lea ecx, [esi + ebx*2]
lea edx, [ebp - 0xe8]
call fcn.00401d01
mov ecx, dword [ebp - 0xcc]
cmp ecx, 8
jb 0x408866
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x408855
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
mov eax, edx
push ecx
push eax
call fcn.004107cc
mov eax, dword [ebp - 0x38]
add esp, 8
mov dword [edi], eax
jmp 0x408882
mov ecx, edi
call fcn.00401cd3
mov edx, eax
call fcn.00401d3f
lea ecx, [ebp - 0x38]
mov edx, eax
call fcn.00401cd3
mov ecx, dword [eax]
mov dword [edx], ecx
mov ebx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebx + 4]
mov eax, dword [eax + 0x3e4]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
cmp dword [ebx + 8], edx
je 0x4088bc
call fcn.00401d3f
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.00406a60
add dword [ebx + 4], 0x68
jmp 0x4088cb
lea eax, [ebp - 0xa0]
mov ecx, ebx
push eax
push edx
call fcn.00409c30
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x34]
sub ecx, esi
mov edi, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xd0]
inc edi
imul ecx
add ebx, 0x3e8
mov dword [ebp - 0xdc], edi
sar edx, 6
mov eax, edx
mov dword [ebp - 0xd0], ebx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x408330
mov eax, dword [ebp - 0xd8]
mov byte [eax], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00401cbb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00401cbb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00401cbb
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x40899e
mov ecx, dword [ebp - 0x2c]
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 0x40897f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push ecx
push esi
call fcn.004107cc
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4080bd
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x4089cc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d8
push ecx
push edx
jmp 0x4080a0
call fcn.00402117
call fcn.00413f88
call fcn.00413f88
call fcn.00403900
int3