Function at 0x560eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4841
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6d48e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x5c], esi
cmp esi, 0xffffffff
jne 0x560f1f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x2c]
push 0
push ecx
lea eax, [edi + 4]
push 4
push eax
push esi
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x560f09
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [edi + 8]
push 4
push eax
push esi
mov dword [ebp - 0x58], eax
call ebx
test eax, eax
je 0x560f09
mov ebx, dword [edi + 8]
xor ecx, ecx
imul ebx, dword [edi + 4]
mov edx, 0x2c
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00598fce
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x560fad
push fcn.0055de80
push 0x55de30
push ebx
mov dword [eax], ebx
add eax, 4
push 0x2c
push eax
mov dword [ebp - 0x64], eax
call fcn.00599874
mov eax, dword [ebp - 0x64]
jmp 0x560faf
xor eax, eax
mov dword [edi + 0xc], eax
xor ebx, ebx
lea eax, [edi + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [eax], ebx
jbe 0x561031
mov ecx, dword [ebp - 0x20]
xor edi, edi
cmp dword [ecx], edi
jbe 0x561029
jmp 0x560fd0
push 0
lea eax, [ebp - 0x2c]
push eax
push 2
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x560f09
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
imul eax, ebx
add eax, edi
imul esi, eax, 0x2c
mov eax, dword [ebp - 0x60]
add esi, dword [eax + 0xc]
je 0x561018
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x18]
mov ax, word [ebp + 8]
mov word [esi + 0x1c], ax
mov eax, dword [ebp - 0x20]
inc edi
mov esi, dword [ebp - 0x5c]
cmp edi, dword [eax]
jb 0x560fd0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [eax]
jb 0x560fc5
mov edi, dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [edi + 0x2c], eax
mov eax, 0xaaaaaaab
mul ecx
mov dword [edi + 0x10], ecx
mov eax, 0xaaaaaaab
mov ecx, edx
mov dword [edi + 0x14], esi
mul esi
shr ecx, 1
mov esi, edx
mov dword [edi + 0x18], ecx
shr esi, 1
mov edx, 0x2c
mov dword [edi + 0x1c], esi
imul esi, ecx
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00598fce
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x5610b8
push fcn.0055de80
push 0x55de30
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0x2c
push ebx
call fcn.00599874
jmp 0x5610ba
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x30], ebx
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x1c], eax
jbe 0x56139b
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x5610e0
cmp dword [edi + 0x18], 0
mov dword [ebp - 0x14], 0
jbe 0x561388
lea eax, [edx + 2]
mov esi, 2
mov dword [ebp - 0x20], eax
lea esp, [esp]
mov eax, dword [edi + 4]
lea ebx, [esi - 2]
cmp ebx, eax
jae 0x561124
cmp edx, dword [edi + 8]
jae 0x561124
mov ecx, eax
imul ecx, edx
add ecx, 0xfffffffe
add ecx, esi
imul edx, ecx, 0x2c
add edx, dword [edi + 0xc]
mov dword [ebp - 0x60], edx
jne 0x56112b
mov dword [ebp - 0x60], 0
lea ecx, [esi - 1]
cmp ecx, eax
jae 0x561151
mov edx, dword [ebp - 0x18]
cmp edx, dword [edi + 8]
jae 0x561151
mov ecx, eax
imul ecx, edx
add ecx, esi
imul edx, ecx, 0x2c
mov ecx, dword [edi + 0xc]
add ecx, 0xffffffd4
add ecx, edx
mov dword [ebp - 0x28], ecx
jne 0x561158
mov dword [ebp - 0x28], 0
cmp esi, eax
jae 0x561176
mov edx, dword [ebp - 0x18]
cmp edx, dword [edi + 8]
jae 0x561176
mov ecx, eax
imul ecx, edx
add ecx, esi
imul ecx, ecx, 0x2c
add ecx, dword [edi + 0xc]
mov dword [ebp - 0x24], ecx
jne 0x56117d
mov dword [ebp - 0x24], 0
cmp ebx, eax
jae 0x56119f
mov edx, dword [ebp - 0x20]
dec edx
cmp edx, dword [edi + 8]
jae 0x56119f
mov ecx, eax
imul ecx, edx
add ecx, 0xfffffffe
add ecx, esi
imul edx, ecx, 0x2c
add edx, dword [edi + 0xc]
mov dword [ebp - 0x10], edx
jne 0x5611a6
mov dword [ebp - 0x10], 0
lea ecx, [esi - 1]
cmp ecx, eax
jae 0x5611cd
mov edx, dword [ebp - 0x20]
dec edx
cmp edx, dword [edi + 8]
jae 0x5611cd
mov ecx, eax
imul ecx, edx
add ecx, esi
imul edx, ecx, 0x2c
mov ecx, dword [edi + 0xc]
add ecx, 0xffffffd4
add ecx, edx
mov dword [ebp - 0x30], ecx
jne 0x5611d4
mov dword [ebp - 0x30], 0
cmp esi, eax
jae 0x5611f3
mov edx, dword [ebp - 0x20]
dec edx
cmp edx, dword [edi + 8]
jae 0x5611f3
mov ecx, eax
imul ecx, edx
add ecx, esi
imul ecx, ecx, 0x2c
add ecx, dword [edi + 0xc]
mov dword [ebp - 0x34], ecx
jne 0x5611fa
mov dword [ebp - 0x34], 0
cmp ebx, eax
lea edx, [edi + 8]
mov ebx, dword [ebp - 0x20]
jae 0x56121d
cmp ebx, dword [edx]
jae 0x56121d
mov ecx, eax
imul ecx, ebx
add ecx, 0xfffffffe
add ecx, esi
imul ecx, ecx, 0x2c
add ecx, dword [edi + 0xc]
mov dword [ebp - 0x38], ecx
jne 0x561224
mov dword [ebp - 0x38], 0
lea ecx, [esi - 1]
cmp ecx, eax
jae 0x561246
cmp ebx, dword [edx]
jae 0x561246
mov ecx, eax
imul ecx, ebx
add ecx, esi
imul edx, ecx, 0x2c
mov ecx, dword [edi + 0xc]
add ecx, 0xffffffd4
add ecx, edx
mov dword [ebp - 0x5c], ecx
jne 0x56124b
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
cmp esi, eax
jae 0x561261
cmp ebx, dword [edi + 8]
jae 0x561261
imul eax, ebx
add eax, esi
imul ebx, eax, 0x2c
add ebx, dword [edi + 0xc]
jne 0x561263
xor ebx, ebx
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x56136f
cmp dword [ebp - 0x28], 0
je 0x56136f
cmp dword [ebp - 0x24], 0
je 0x56136f
cmp dword [ebp - 0x10], 0
je 0x56136f
cmp dword [ebp - 0x30], 0
je 0x56136f
cmp dword [ebp - 0x34], 0
je 0x56136f
cmp dword [ebp - 0x38], 0
je 0x56136f
test ecx, ecx
je 0x56136f
test ebx, ebx
je 0x56136f
mov ecx, eax
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x28]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x24]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x10]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x30]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x34]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x38]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, dword [ebp - 0x5c]
call fcn.0055bfc0
test eax, eax
jne 0x561328
mov ecx, ebx
call fcn.0055bfc0
test eax, eax
jne 0x561328
xor edx, edx
jmp 0x56132d
mov edx, 1
mov eax, dword [edi + 0x18]
imul eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
push ebx
add eax, ebx
imul eax, eax, 0x2c
add eax, dword [edi + 0x30]
mov word [eax + 0x1c], dx
mov eax, dword [edi + 0x18]
imul eax, dword [ebp - 0x1c]
add eax, ebx
imul ecx, eax, 0x2c
add ecx, dword [edi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x18]
imul eax, edx
push edx
add eax, ebx
imul ecx, eax, 0x2c
add ecx, dword [edi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
add esi, 3
mov edx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x18]
jb 0x561100
mov eax, dword [ebp - 0x1c]
inc eax
add edx, 3
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp eax, dword [edi + 0x1c]
jb 0x5610e0
mov esi, dword [edi + 8]
xor ecx, ecx
mov eax, dword [edi + 4]
mov edx, 0x2c
shr eax, 2
shr esi, 2
mov dword [edi + 0x24], esi
imul esi, eax
mov dword [edi + 0x20], eax
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00598fce
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x5613ff
push fcn.0055de80
push 0x55de30
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0x2c
push ebx
call fcn.00599874
jmp 0x561401
xor ebx, ebx
mov dword [edi + 0x34], ebx
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x24], ebx
jbe 0x5618e3
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x20], eax
jbe 0x5618d6
lea esi, [ebx*4]
lea ecx, [esi + 1]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ecx
lea ecx, [esi + 2]
mov dword [ebp - 0x18], ecx
lea ecx, [esi + 3]
mov dword [ebp - 0x20], ecx
lea ebx, [ebx]
mov ecx, dword [edi + 4]
lea edx, [eax*4]
lea ebx, [edi + 8]
cmp edx, ecx
jae 0x561477
cmp esi, dword [ebx]
jae 0x561477
mov eax, ecx
imul eax, esi
add eax, edx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x64], eax
jne 0x56147e
mov dword [ebp - 0x64], 0
lea esi, [edx + 1]
cmp esi, ecx
jae 0x56149f
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebx]
jae 0x56149f
mov eax, ecx
imul eax, dword [ebp - 0x1c]
add eax, esi
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x38], eax
jne 0x5614a6
mov dword [ebp - 0x38], 0
lea ebx, [edx + 2]
cmp ebx, ecx
jae 0x5614ce
mov esi, dword [ebp - 0x1c]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x5614ce
mov eax, ecx
lea esi, [edx + 1]
imul eax, dword [ebp - 0x1c]
add eax, ebx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x34], eax
jne 0x5614d5
mov dword [ebp - 0x34], 0
lea eax, [edx + 3]
mov dword [ebp - 0x24], eax
cmp eax, ecx
jae 0x5614fe
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x5614fe
mov eax, ecx
imul eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
jne 0x561505
mov dword [ebp - 0x30], 0
cmp edx, ecx
jae 0x56152a
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x56152a
mov eax, ecx
lea esi, [edx + 1]
imul eax, dword [ebp - 0x14]
add eax, edx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x3c], eax
jne 0x561531
mov dword [ebp - 0x3c], 0
cmp esi, ecx
jae 0x561553
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x561553
mov eax, dword [ebp - 0x14]
imul eax, ecx
add eax, esi
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x40], eax
jne 0x56155a
mov dword [ebp - 0x40], 0
cmp ebx, ecx
jae 0x56157c
mov esi, dword [ebp - 0x14]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x56157c
mov eax, dword [ebp - 0x14]
imul eax, ecx
add eax, ebx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x44], eax
jne 0x561583
mov dword [ebp - 0x44], 0
lea eax, [edx + 3]
cmp eax, ecx
jae 0x5615a9
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x5615a9
mov eax, dword [ebp - 0x14]
imul eax, ecx
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x48], eax
jne 0x5615b0
mov dword [ebp - 0x48], 0
cmp edx, ecx
jae 0x5615d2
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x5615d2
mov eax, dword [ebp - 0x18]
imul eax, ecx
add eax, edx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x4c], eax
jne 0x5615d9
mov dword [ebp - 0x4c], 0
cmp esi, ecx
jae 0x5615fb
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x5615fb
mov eax, dword [ebp - 0x18]
imul eax, ecx
add eax, esi
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x50], eax
jne 0x561602
mov dword [ebp - 0x50], 0
cmp ebx, ecx
jae 0x561624
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x561624
mov eax, dword [ebp - 0x18]
imul eax, ecx
add eax, ebx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x54], eax
jne 0x56162b
mov dword [ebp - 0x54], 0
lea eax, [edx + 3]
cmp eax, ecx
jae 0x561651
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x561651
mov eax, dword [ebp - 0x18]
imul eax, ecx
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x58], eax
jne 0x561658
mov dword [ebp - 0x58], 0
cmp edx, ecx
jae 0x56167a
mov esi, dword [ebp - 0x20]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x56167a
mov eax, dword [ebp - 0x20]
imul eax, ecx
add eax, edx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x5c], eax
jne 0x561681
mov dword [ebp - 0x5c], 0
cmp esi, ecx
jae 0x56169d
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 8]
jae 0x56169d
imul edx, ecx
add edx, esi
imul edx, edx, 0x2c
add edx, dword [edi + 0xc]
mov dword [ebp - 0x60], edx
jne 0x5616a2
xor edx, edx
mov dword [ebp - 0x60], edx
cmp ebx, ecx
jae 0x5616bd
mov esi, dword [ebp - 0x20]
cmp esi, dword [edi + 8]
jae 0x5616bd
mov eax, esi
imul eax, ecx
add eax, ebx
imul ebx, eax, 0x2c
add ebx, dword [edi + 0xc]
jne 0x5616bf
xor ebx, ebx
mov esi, dword [ebp - 0x24]
cmp esi, ecx
jae 0x5616e1
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 8]
mov edx, dword [ebp - 0x60]
jae 0x5616e1
mov eax, dword [ebp - 0x20]
imul eax, ecx
add eax, esi
imul esi, eax, 0x2c
add esi, dword [edi + 0xc]
jne 0x5616e3
xor esi, esi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x5618c0
cmp dword [ebp - 0x38], 0
je 0x5618c0
cmp dword [ebp - 0x34], 0
je 0x5618c0
cmp dword [ebp - 0x30], 0
je 0x5618c0
cmp dword [ebp - 0x3c], 0
je 0x5618c0
cmp dword [ebp - 0x40], 0
je 0x5618c0
cmp dword [ebp - 0x44], 0
je 0x5618c0
cmp dword [ebp - 0x48], 0
je 0x5618c0
cmp dword [ebp - 0x4c], 0
je 0x5618c0
cmp dword [ebp - 0x50], 0
je 0x5618c0
cmp dword [ebp - 0x54], 0
je 0x5618c0
cmp dword [ebp - 0x58], 0
je 0x5618c0
cmp dword [ebp - 0x5c], 0
je 0x5618c0
test edx, edx
je 0x5618c0
test ebx, ebx
je 0x5618c0
test esi, esi
je 0x5618c0
mov ecx, eax
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x38]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x34]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x30]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x3c]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x40]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x44]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x48]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x4c]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x50]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x54]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x58]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x5c]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, dword [ebp - 0x60]
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, ebx
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov ecx, esi
call fcn.0055bfc0
test eax, eax
jne 0x5618a8
mov eax, dword [edi + 0x20]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
imul eax, ebx
add eax, esi
imul ecx, eax, 0x2c
xor edx, edx
mov eax, dword [edi + 0x34]
push esi
mov word [ecx + eax + 0x1c], dx
mov eax, dword [edi + 0x20]
imul eax, ebx
add eax, esi
imul ecx, eax, 0x2c
add ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi + 0x20]
imul eax, ebx
push ebx
add eax, esi
imul ecx, eax, 0x2c
add ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x5618c3
mov eax, dword [edi + 0x20]
mov edx, 1
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x28]
imul eax, ebx
add eax, esi
imul ecx, eax, 0x2c
jmp 0x561876
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [edi + 0x20]
jb 0x561450
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, dword [edi + 0x24]
jb 0x561420
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4