Function at 0x4534e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x60]
cdq
push ebx
sub eax, edx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov edi, eax
sar edi, 1
mov eax, 1
sub eax, edi
mov dword [esp + 0x64], eax
lea eax, [edi + edi]
mov ecx, eax
mov eax, 5
sub eax, ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [0x5fc7b0]
push edx
push eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], 3
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov esi, edi
imul esi, dword [esp + 0x74]
mov eax, esi
cdq
idiv dword [esp + 0x40]
mov edx, dword [esp + 0x68]
sub edx, eax
lea ecx, [eax + eax]
mov eax, dword [esp + 0x6c]
test eax, eax
jl 0x4535a1
cmp eax, dword [ebp + 0x1c]
jge 0x4535a1
test edx, edx
jge 0x453571
add ecx, edx
xor edx, edx
mov ebx, dword [ebp + 0x18]
mov edi, ebx
imul edi, eax
add edi, dword [ebp + 0x34]
lea eax, [edx + ecx]
add edi, edx
cmp eax, ebx
jle 0x453589
mov ecx, ebx
sub ecx, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
test edi, edi
jl 0x453802
lea ecx, [eax + edi]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
neg ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
sub eax, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], eax
jmp 0x4535e0
mov ecx, dword [esp + 0x3c]
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
inc eax
add ebx, edx
mov edx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
dec edx
test eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], edx
jge 0x453621
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x64], ecx
jmp 0x45365b
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
add esi, eax
add eax, 2
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x20]
dec ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
dec esi
inc edx
add eax, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [0x5fc7b0]
mov eax, 2
lea ecx, [esp + 0x40]
push ecx
add ebx, eax
add esi, eax
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x40]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x20]
lea ecx, [eax + eax]
sub edx, eax
test ebx, ebx
mov dword [esp + 0x30], ecx
mov eax, edx
jl 0x4536f0
cmp ebx, dword [ebp + 0x1c]
jge 0x4536f0
test eax, eax
jge 0x4536be
add ecx, eax
xor eax, eax
mov esi, dword [ebp + 0x18]
mov edi, ebx
mov ebx, dword [ebp + 0x34]
imul edi, esi
add edi, ebx
lea ebx, [eax + ecx]
add edi, eax
cmp ebx, esi
jle 0x4536d8
mov ecx, esi
sub ecx, eax
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
test esi, esi
jl 0x453733
cmp esi, dword [ebp + 0x1c]
jge 0x453733
test edx, edx
jge 0x453705
add ecx, edx
xor edx, edx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x34]
mov edi, esi
imul edi, eax
add edi, ebx
lea esi, [edx + ecx]
add edi, edx
cmp esi, eax
jle 0x45371f
mov ecx, eax
sub ecx, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x70]
mov ecx, dword [0x5fc7b0]
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x28]
cdq
idiv dword [esp + 0x50]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
lea ecx, [eax + eax]
sub edx, eax
test ebx, ebx
mov dword [esp + 0x30], ecx
mov eax, edx
jl 0x4537af
cmp ebx, dword [ebp + 0x1c]
jge 0x4537af
test eax, eax
jge 0x45377d
add ecx, eax
xor eax, eax
mov esi, dword [ebp + 0x18]
mov edi, ebx
mov ebx, dword [ebp + 0x34]
imul edi, esi
add edi, ebx
lea ebx, [eax + ecx]
add edi, eax
cmp ebx, esi
jle 0x453797
mov ecx, esi
sub ecx, eax
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test esi, esi
mov eax, edx
jl 0x4537f4
cmp esi, dword [ebp + 0x1c]
jge 0x4537f4
test eax, eax
jge 0x4537c6
add ecx, eax
xor eax, eax
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x34]
mov edi, esi
imul edi, edx
add edi, ebx
lea esi, [eax + ecx]
add edi, eax
cmp esi, edx
jle 0x4537e0
mov ecx, edx
sub ecx, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x38], eax
jge 0x4535d6
mov edx, dword [0x89e864]
mov eax, dword [edx + 0x80300]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
cmp byte [esp + 0x70], bl
je 0x453a06
mov ecx, dword [0x89e864]
cmp byte [ecx + 0x553c2], bl
je 0x453a06
mov ecx, dword [0x5fc7b0]
add edi, 3
mov eax, ebx
sub eax, edi
mov dword [esp + 0x64], eax
lea edx, [edi + edi]
mov eax, 5
sub eax, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
push eax
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 3
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ebx, dword [esp + 0x74]
mov esi, edi
imul esi, ebx
mov eax, esi
cdq
idiv dword [esp + 0x50]
mov ecx, ebp
lea edx, [eax + eax]
push edx
mov edx, dword [esp + 0x6c]
sub edx, eax
mov eax, dword [esp + 0x70]
call fcn.00453c80
test edi, edi
jl 0x4539fa
mov ecx, dword [esp + 0x6c]
mov eax, ebx
neg eax
mov dword [esp + 0x30], ecx
sub ecx, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
jmp 0x4538e0
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
jmp 0x4538e0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
inc ecx
add esi, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x64]
dec edx
test ecx, ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x30], edx
jge 0x453910
mov eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x64], ecx
jmp 0x453939
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
add edx, ecx
add ecx, 2
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
dec edi
inc edx
add ecx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, 2
add ecx, eax
add edx, eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], edx
mov edx, dword [0x5fc7b0]
push ecx
push edx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x70]
cdq
idiv dword [esp + 0x50]
mov esi, dword [esp + 0x68]
mov ecx, ebp
lea ebx, [eax + eax]
sub esi, eax
mov eax, dword [esp + 0x6c]
push ebx
add eax, edi
mov edx, esi
call fcn.00453c80
mov eax, dword [esp + 0x38]
push ebx
mov edx, esi
mov ecx, ebp
call fcn.00453c80
mov edx, dword [0x5fc7b0]
lea ecx, [esp + 0x40]
push ecx
push edx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x34]
cdq
idiv dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
lea ebx, [eax + eax]
sub esi, eax
mov eax, dword [esp + 0x14]
add eax, ecx
push ebx
mov edx, esi
mov ecx, ebp
call fcn.00453c80
mov eax, dword [esp + 0x30]
push ebx
mov edx, esi
mov ecx, ebp
call fcn.00453c80
cmp edi, dword [esp + 0x14]
jge 0x4538d3
mov ecx, 0x200
xor eax, eax
lea edi, [ebp + 0x61]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x14