Function at 0x53d160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ff11
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6a78d0]
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 0x53d1cf
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 0x53d1b9
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 0x53d1b9
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.00574cac
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x53d25d
push fcn.0053a120
push 0x53a0d0
push ebx
mov dword [eax], ebx
add eax, 4
push 0x2c
push eax
mov dword [ebp - 0x64], eax
call fcn.00575554
mov eax, dword [ebp - 0x64]
jmp 0x53d25f
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 0x53d2e1
mov ecx, dword [ebp - 0x20]
xor edi, edi
cmp dword [ecx], edi
jbe 0x53d2d9
jmp 0x53d280
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 0x53d1b9
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 0x53d2c8
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 0x53d280
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [eax]
jb 0x53d275
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.00574cac
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x53d368
push fcn.0053a120
push 0x53a0d0
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0x2c
push ebx
call fcn.00575554
jmp 0x53d36a
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 0x53d64b
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x53d390
cmp dword [edi + 0x18], 0
mov dword [ebp - 0x14], 0
jbe 0x53d638
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 0x53d3d4
cmp edx, dword [edi + 8]
jae 0x53d3d4
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 0x53d3db
mov dword [ebp - 0x60], 0
lea ecx, [esi - 1]
cmp ecx, eax
jae 0x53d401
mov edx, dword [ebp - 0x18]
cmp edx, dword [edi + 8]
jae 0x53d401
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 0x53d408
mov dword [ebp - 0x28], 0
cmp esi, eax
jae 0x53d426
mov edx, dword [ebp - 0x18]
cmp edx, dword [edi + 8]
jae 0x53d426
mov ecx, eax
imul ecx, edx
add ecx, esi
imul ecx, ecx, 0x2c
add ecx, dword [edi + 0xc]
mov dword [ebp - 0x24], ecx
jne 0x53d42d
mov dword [ebp - 0x24], 0
cmp ebx, eax
jae 0x53d44f
mov edx, dword [ebp - 0x20]
dec edx
cmp edx, dword [edi + 8]
jae 0x53d44f
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 0x53d456
mov dword [ebp - 0x10], 0
lea ecx, [esi - 1]
cmp ecx, eax
jae 0x53d47d
mov edx, dword [ebp - 0x20]
dec edx
cmp edx, dword [edi + 8]
jae 0x53d47d
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 0x53d484
mov dword [ebp - 0x30], 0
cmp esi, eax
jae 0x53d4a3
mov edx, dword [ebp - 0x20]
dec edx
cmp edx, dword [edi + 8]
jae 0x53d4a3
mov ecx, eax
imul ecx, edx
add ecx, esi
imul ecx, ecx, 0x2c
add ecx, dword [edi + 0xc]
mov dword [ebp - 0x34], ecx
jne 0x53d4aa
mov dword [ebp - 0x34], 0
cmp ebx, eax
lea edx, [edi + 8]
mov ebx, dword [ebp - 0x20]
jae 0x53d4cd
cmp ebx, dword [edx]
jae 0x53d4cd
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 0x53d4d4
mov dword [ebp - 0x38], 0
lea ecx, [esi - 1]
cmp ecx, eax
jae 0x53d4f6
cmp ebx, dword [edx]
jae 0x53d4f6
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 0x53d4fb
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
cmp esi, eax
jae 0x53d511
cmp ebx, dword [edi + 8]
jae 0x53d511
imul eax, ebx
add eax, esi
imul ebx, eax, 0x2c
add ebx, dword [edi + 0xc]
jne 0x53d513
xor ebx, ebx
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x53d61f
cmp dword [ebp - 0x28], 0
je 0x53d61f
cmp dword [ebp - 0x24], 0
je 0x53d61f
cmp dword [ebp - 0x10], 0
je 0x53d61f
cmp dword [ebp - 0x30], 0
je 0x53d61f
cmp dword [ebp - 0x34], 0
je 0x53d61f
cmp dword [ebp - 0x38], 0
je 0x53d61f
test ecx, ecx
je 0x53d61f
test ebx, ebx
je 0x53d61f
mov ecx, eax
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x28]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x24]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x10]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x30]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x34]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x38]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, dword [ebp - 0x5c]
call fcn.00538280
test eax, eax
jne 0x53d5d8
mov ecx, ebx
call fcn.00538280
test eax, eax
jne 0x53d5d8
xor edx, edx
jmp 0x53d5dd
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 0x53d3b0
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 0x53d390
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.00574cac
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x53d6af
push fcn.0053a120
push 0x53a0d0
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0x2c
push ebx
call fcn.00575554
jmp 0x53d6b1
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 0x53db93
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x20], eax
jbe 0x53db86
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 0x53d727
cmp esi, dword [ebx]
jae 0x53d727
mov eax, ecx
imul eax, esi
add eax, edx
imul eax, eax, 0x2c
add eax, dword [edi + 0xc]
mov dword [ebp - 0x64], eax
jne 0x53d72e
mov dword [ebp - 0x64], 0
lea esi, [edx + 1]
cmp esi, ecx
jae 0x53d74f
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebx]
jae 0x53d74f
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 0x53d756
mov dword [ebp - 0x38], 0
lea ebx, [edx + 2]
cmp ebx, ecx
jae 0x53d77e
mov esi, dword [ebp - 0x1c]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x53d77e
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 0x53d785
mov dword [ebp - 0x34], 0
lea eax, [edx + 3]
mov dword [ebp - 0x24], eax
cmp eax, ecx
jae 0x53d7ae
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x53d7ae
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 0x53d7b5
mov dword [ebp - 0x30], 0
cmp edx, ecx
jae 0x53d7da
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x53d7da
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 0x53d7e1
mov dword [ebp - 0x3c], 0
cmp esi, ecx
jae 0x53d803
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x53d803
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 0x53d80a
mov dword [ebp - 0x40], 0
cmp ebx, ecx
jae 0x53d82c
mov esi, dword [ebp - 0x14]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x53d82c
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 0x53d833
mov dword [ebp - 0x44], 0
lea eax, [edx + 3]
cmp eax, ecx
jae 0x53d859
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x53d859
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 0x53d860
mov dword [ebp - 0x48], 0
cmp edx, ecx
jae 0x53d882
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x53d882
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 0x53d889
mov dword [ebp - 0x4c], 0
cmp esi, ecx
jae 0x53d8ab
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [edi + 8]
lea ebx, [edx + 2]
jae 0x53d8ab
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 0x53d8b2
mov dword [ebp - 0x50], 0
cmp ebx, ecx
jae 0x53d8d4
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x53d8d4
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 0x53d8db
mov dword [ebp - 0x54], 0
lea eax, [edx + 3]
cmp eax, ecx
jae 0x53d901
mov esi, dword [ebp - 0x18]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x53d901
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 0x53d908
mov dword [ebp - 0x58], 0
cmp edx, ecx
jae 0x53d92a
mov esi, dword [ebp - 0x20]
cmp esi, dword [edi + 8]
lea esi, [edx + 1]
jae 0x53d92a
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 0x53d931
mov dword [ebp - 0x5c], 0
cmp esi, ecx
jae 0x53d94d
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 8]
jae 0x53d94d
imul edx, ecx
add edx, esi
imul edx, edx, 0x2c
add edx, dword [edi + 0xc]
mov dword [ebp - 0x60], edx
jne 0x53d952
xor edx, edx
mov dword [ebp - 0x60], edx
cmp ebx, ecx
jae 0x53d96d
mov esi, dword [ebp - 0x20]
cmp esi, dword [edi + 8]
jae 0x53d96d
mov eax, esi
imul eax, ecx
add eax, ebx
imul ebx, eax, 0x2c
add ebx, dword [edi + 0xc]
jne 0x53d96f
xor ebx, ebx
mov esi, dword [ebp - 0x24]
cmp esi, ecx
jae 0x53d991
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 8]
mov edx, dword [ebp - 0x60]
jae 0x53d991
mov eax, dword [ebp - 0x20]
imul eax, ecx
add eax, esi
imul esi, eax, 0x2c
add esi, dword [edi + 0xc]
jne 0x53d993
xor esi, esi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x53db70
cmp dword [ebp - 0x38], 0
je 0x53db70
cmp dword [ebp - 0x34], 0
je 0x53db70
cmp dword [ebp - 0x30], 0
je 0x53db70
cmp dword [ebp - 0x3c], 0
je 0x53db70
cmp dword [ebp - 0x40], 0
je 0x53db70
cmp dword [ebp - 0x44], 0
je 0x53db70
cmp dword [ebp - 0x48], 0
je 0x53db70
cmp dword [ebp - 0x4c], 0
je 0x53db70
cmp dword [ebp - 0x50], 0
je 0x53db70
cmp dword [ebp - 0x54], 0
je 0x53db70
cmp dword [ebp - 0x58], 0
je 0x53db70
cmp dword [ebp - 0x5c], 0
je 0x53db70
test edx, edx
je 0x53db70
test ebx, ebx
je 0x53db70
test esi, esi
je 0x53db70
mov ecx, eax
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x38]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x34]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x30]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x3c]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x40]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x44]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x48]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x4c]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x50]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x54]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x58]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x5c]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, dword [ebp - 0x60]
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, ebx
call fcn.00538280
test eax, eax
jne 0x53db58
mov ecx, esi
call fcn.00538280
test eax, eax
jne 0x53db58
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 0x53db73
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 0x53db26
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 0x53d700
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, dword [edi + 0x24]
jb 0x53d6d0
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