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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa80
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [esp + 0x3c], 0xa
jmp 0x1005276a
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x3c]
lea edx, [esi + edx + 1]
cmp edx, ebx
jg 0x100533eb
mov edi, ecx
xor edx, edx
imul edi, ebx
add ecx, 1
cmp esi, edx
mov dword [esp + 0x2c], edx
jle 0x100527e0
add edi, esi
mov esi, dword [esp + 0x3c]
add esi, edi
mov esi, dword [eax + esi*4]
sub esi, dword [eax + edi*4 - 4]
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x1c]
cmp ecx, edi
jge 0x100527bb
mov edx, dword [ebp + 0x18]
imul ecx, ebx
add ecx, edx
mov edx, dword [esp + 0x3c]
add edx, ecx
mov edx, dword [eax + edx*4]
sub edx, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp + 0x14]
add ecx, 2
cmp ecx, edi
jge 0x10052820
mov edi, dword [ebp + 0x18]
imul ecx, ebx
add edi, ecx
mov ecx, dword [esp + 0x3c]
add ecx, edi
mov ecx, dword [eax + ecx*4]
sub ecx, dword [eax + edi*4 - 4]
mov dword [esp + 0x2c], ecx
jmp 0x10052824
add esi, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
add esi, edi
mov edi, dword [ebp + 0x1c]
cmp ecx, edi
mov esi, dword [eax + esi*4]
jge 0x10052803
imul ecx, ebx
add ecx, dword [esp + 0x3c]
add ecx, dword [ebp + 0x18]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x14]
add ecx, 2
cmp ecx, edi
jge 0x10052820
imul ecx, ebx
add ecx, dword [esp + 0x3c]
add ecx, dword [ebp + 0x18]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x2c], ecx
jmp 0x10052824
mov ecx, dword [esp + 0x2c]
test esi, esi
je 0x100533f6
xor edi, edi
cmp dword [ebp + 0x10], 2
mov dword [esp + 0xc], edi
jne 0x1005286b
mov eax, dword [ebp + 0x14]
add eax, 2
cmp eax, dword [ebp + 0x1c]
jge 0x100533f6
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x220]
lea eax, [esi + esi*2]
lea eax, [edx + eax*4]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
mov edi, dword [eax + ecx*4 + 0xe09c4]
jmp 0x100528ba
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x100528a0
mov eax, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ebp + 0x1c]
jge 0x100533f6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x220]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
lea ecx, [esi + esi*2]
lea ecx, [edx + ecx*4]
mov edi, dword [eax + ecx*4 + 0xe24c8]
jmp 0x100528ba
test eax, eax
jne 0x100528be
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x220]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + esi*4 + 0xe270c]
mov dword [esp + 0xc], edi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx eax, word [ecx + eax*4 + 0x22a]
test ax, ax
mov dword [esp + 0x34], eax
je 0x10052f04
cmp dword [ebp + 0x10], 2
jne 0x10052f04
or eax, 0xffffffff
mov ecx, 0xda
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
or eax, eax
mov ecx, 0xda
lea edi, [esp + 0x720]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0xda
lea edi, [esp + 0x3b8]
rep stosd dword es:[edi], eax
movzx eax, word [esp + 0x34]
cmp eax, 1
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3b8], esi
mov dword [esp + 0x720], edx
mov dword [esp + 0x50], ecx
jl 0x10052a07
mov ecx, dword [esp + 0x3c]
lea edi, [esp + 0x54]
mov dword [esp + 0xc], edi
lea edi, [esp + 0x724]
mov dword [esp + 0x10], edi
lea edi, [edx - 1]
mov dword [esp + 0x18], edi
lea edi, [esp + 0x3bc]
add ecx, 1
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
sub esi, edx
lea ecx, [edx + 1]
sub edi, edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
add edx, esi
js 0x1005298a
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x1c], eax
lea edx, [esi + ecx]
cmp edx, dword [esp + 0x28]
jg 0x100529a0
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x100529b5
mov edx, dword [esp + 0x10]
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x28]
jg 0x100529c8
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
add edx, 4
mov dword [esp + 0x10], edx
lea edx, [edi + eax]
test edx, edx
jl 0x100529dc
mov eax, dword [esp + 0xc]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0xc], eax
lea edx, [edi + ecx]
cmp edx, dword [esp + 0x28]
jg 0x100529f2
mov eax, dword [esp + 0xc]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0xc], eax
mov eax, 1
sub dword [esp + 0x18], eax
add ecx, eax
sub dword [esp + 0x14], eax
jne 0x10052975
cmp dword [esp + 0x3b8], 0
jl 0x100533eb
lea eax, [esp + 0x3b8]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x720], 0
jl 0x10052eef
lea ecx, [esp + 0x720]
mov dword [esp + 0x40], ecx
lea esp, [esp]
cmp dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
jl 0x10052edf
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x220]
mov esi, dword [ebp + 0xc]
mov edx, dword [edx + esi*4]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x34], edx
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
add eax, ecx
mov eax, dword [edx + eax*4 + 0xe09c4]
test eax, eax
mov dword [esp + 0xc], eax
je 0x10052ebd
mov esi, dword [ebp + 0x1c]
sub esi, dword [ebp + 0x14]
mov dword [esp + 0x28], esi
jmp 0x10052ab4
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax]
movzx edx, byte [eax + 3]
add edx, ecx
cmp edx, esi
jle 0x10052acd
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x10052eb1
movzx ecx, byte [eax + 2]
mov esi, dword [ebp + 0x14]
sub esi, ecx
mov dword [esp + 0x2c], esi
jns 0x10052ae8
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x10052eb1
movzx ecx, byte [eax + 0x27]
mov edi, ebx
sub edi, dword [ebp + 0x18]
cmp ecx, edi
jle 0x10052b01
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x10052eb1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
je 0x10052dd8
mov eax, dword [ebp + 0x14]
lea edi, [edx + eax]
mov edx, dword [ebp + 0x18]
add ecx, edx
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
mov eax, edx
sub eax, ecx
sub eax, 1
lea ecx, [eax + 1]
mov dword [esp + 0x1c], edi
lea edx, [edx - 1]
mov dword [esp + 0x24], ecx
jns 0x10052b40
xor eax, eax
mov dword [esp + 0x24], eax
cmp eax, edx
jge 0x10052bc2
mov ecx, edi
sub ecx, esi
test ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
jle 0x10052ba8
mov ecx, esi
mov esi, dword [ebp + 0x24]
imul ecx, ebx
add eax, ecx
lea edi, [eax + esi]
mov esi, dword [ebp + 0x20]
lea eax, [esi + eax*4]
mov esi, dword [ebp + 0x18]
add esi, 0xffffffff
add ecx, esi
mov esi, dword [ebp + 0x20]
lea edx, [ebx*4]
lea ecx, [esi + ecx*4]
mov esi, dword [eax]
cmp esi, dword [ecx]
jne 0x10052ba0
cmp byte [edi], 0
jne 0x10052ba0
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
add ecx, edx
add eax, edx
add edi, ebx
cmp esi, dword [esp + 0x14]
jl 0x10052b80
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x14]
jge 0x10052c08
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xc], ecx
jmp 0x10052ead
jne 0x10052c08
test eax, eax
jne 0x10052c08
mov ecx, edi
sub ecx, esi
test ecx, ecx
jle 0x10052bf4
mov edi, dword [ebp + 0x20]
mov edx, esi
imul edx, ebx
lea edi, [edi + edx*4]
cmp dword [edi], 0
jg 0x10052bf0
lea edx, [ebx*4]
add eax, 1
add edi, edx
cmp eax, ecx
jl 0x10052bdb
mov edi, dword [esp + 0x1c]
cmp eax, ecx
jge 0x10052c08
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x10052eb1
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x78]
lea eax, [eax + ecx - 1]
cmp eax, ebx
lea edx, [ecx - 1]
mov dword [esp + 0x18], eax
jl 0x10052c28
lea eax, [ebx - 1]
mov dword [esp + 0x18], eax
cmp edx, eax
jge 0x10052c91
sub edi, esi
test edi, edi
mov dword [esp + 0x10], 0
jle 0x10052c77
mov eax, esi
mov esi, dword [ebp + 0x20]
imul eax, ebx
add edx, eax
lea edx, [esi + edx*4]
mov esi, dword [esp + 0x18]
add eax, esi
mov esi, dword [ebp + 0x20]
lea ecx, [ebx*4]
lea eax, [esi + eax*4]
mov esi, dword [edx]
cmp esi, dword [eax]
jne 0x10052c6f
add dword [esp + 0x10], 1
add eax, ecx
add edx, ecx
cmp dword [esp + 0x10], edi
jl 0x10052c5a
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x10], edi
jge 0x10052c8d
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xc], ecx
jmp 0x10052ead
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x7c]
mov dword [esp + 0x38], eax
mov eax, esi
sub eax, ecx
lea ecx, [esi - 1]
jns 0x10052ca6
xor eax, eax
cmp eax, ecx
jg 0x10052d45
mov edx, ecx
sub edx, eax
add edx, 1
test edx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
jle 0x10052d33
mov edx, dword [esp + 0x24]
imul ecx, ebx
mov esi, dword [ebp + 0x24]
add edx, ecx
add esi, edx
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 0x20]
mov eax, ebx
neg eax
add eax, eax
lea edx, [esi + edx*4]
mov esi, dword [esp + 0x38]
mov edi, ebx
neg edi
add eax, eax
add esi, ecx
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + esi*4]
jmp 0x10052cfb
mov edx, dword [esp + 0x30]
mov esi, dword [ecx]
cmp esi, dword [edx]
jne 0x10052d2b
mov esi, dword [esp + 0x18]
cmp byte [esi], 0
jne 0x10052d2b
mov esi, dword [esp + 0x10]
add dword [esp + 0x18], edi
add edx, eax
add esi, 1
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
add ecx, eax
cmp esi, edx
mov dword [esp + 0x10], esi
jl 0x10052cf7
jmp 0x10052d2f
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x10], edx
jge 0x10052d45
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x1c]
jmp 0x10052ea9
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ebp + 0x1c]
lea eax, [eax + edi - 1]
cmp eax, ecx
jl 0x10052d59
lea eax, [ecx - 1]
cmp edi, eax
jg 0x10052dd8
sub eax, edi
lea esi, [eax + 1]
test esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
jle 0x10052dc2
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + 0x24]
mov eax, edi
imul eax, ebx
add edx, eax
lea edi, [edx + esi]
mov esi, dword [ebp + 0x20]
lea edx, [esi + edx*4]
mov esi, dword [esp + 0x38]
add esi, eax
mov eax, dword [ebp + 0x20]
lea ecx, [ebx*4]
lea eax, [eax + esi*4]
mov esi, dword [eax]
cmp esi, dword [edx]
jne 0x10052dbe
cmp byte [edi], 0
jne 0x10052dbe
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x14]
add eax, ecx
add edx, ecx
add edi, ebx
cmp dword [esp + 0x10], esi
jl 0x10052d9c
jmp 0x10052dc2
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x10], esi
jge 0x10052dd8
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xc], edx
jmp 0x10052ead
mov ecx, dword [ebp + 0x24]
mov eax, dword [esp + 0x4c]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
add eax, ecx
movzx edi, byte [esi]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [edx + eax*4 + 0x228]
movzx edx, word [esi + 6]
mov eax, edx
imul eax, ecx
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 1]
imul eax, edi
sub eax, edx
imul eax, ecx
test edi, edi
jle 0x10052e8a
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
movzx edx, byte [esi + 1]
test edx, edx
jle 0x10052e75
mov edx, dword [esp + 0x24]
mov edi, ecx
sub edx, ecx
movzx ecx, byte [esi + 1]
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov cl, byte [edi]
cmp cl, byte [edx + edi]
jne 0x10052e67
test cl, cl
jne 0x10052e62
add dword [esp + 0x18], 1
jmp 0x10052e67
add dword [esp + 0x2c], 1
add edi, 1
sub dword [esp + 0x14], 1
jne 0x10052e50
mov ecx, dword [esp + 0x38]
movzx edx, byte [esi + 1]
add dword [esp + 0x24], edx
add ecx, ebx
sub dword [esp + 0x30], 1
mov dword [esp + 0x38], ecx
jne 0x10052e34
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
imul edx, edx, 0x64
cmp edx, dword [esp + 0x1c]
jl 0x10052ea6
imul ecx, ecx, 0x64
cmp ecx, eax
jge 0x10053401
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10052ab0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
add eax, 1
cmp dword [esp + eax*4 + 0x50], 0
mov dword [esp + 0x48], eax
lea eax, [esp + eax*4 + 0x50]
jge 0x10052a7f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
add ecx, 4
cmp dword [ecx], 0
mov dword [esp + 0x40], ecx
jge 0x10052a40
add eax, 4
cmp dword [eax], 0
mov dword [esp + 0x20], eax
jge 0x10052a20
jmp 0x100533eb
test edi, edi
je 0x100533eb
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], ecx
jmp 0x10052f24
mov ecx, dword [esp + 0x28]
movzx eax, byte [edi]
movzx edx, byte [edi + 3]
mov dword [esp + 0x38], eax
add eax, edx
cmp eax, ecx
mov dword [esp + 0x34], eax
jg 0x100533dc
movzx ecx, byte [edi + 2]
mov eax, dword [ebp + 0x14]
neg ecx
mov dword [esp + 0x14], ecx
add ecx, eax
mov dword [esp + 0x2c], ecx
js 0x100533dc
movzx eax, byte [edi + 0x27]
mov edx, ebx
sub edx, dword [ebp + 0x18]
cmp eax, edx
jg 0x100533dc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x74], 0
je 0x1005324a
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x34]
add edx, esi
mov esi, dword [ebp + 0x18]
add eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
mov eax, dword [ebp + 0x18]
sub eax, esi
sub eax, 1
lea esi, [eax + 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], esi
jns 0x10052fa7
xor eax, eax
mov dword [esp + 0x30], eax
mov esi, dword [ebp + 0x18]
add esi, 0xffffffff
cmp eax, esi
jge 0x1005302d
mov esi, edx
sub esi, ecx
test esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], esi
jle 0x10053022
mov esi, dword [ebp + 0x24]
imul ecx, ebx
add eax, ecx
add esi, eax
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0x20]
lea eax, [esi + eax*4]
mov esi, dword [ebp + 0x18]
add esi, 0xffffffff
add ecx, esi
mov esi, dword [ebp + 0x20]
lea edx, [ebx*4]
lea ecx, [esi + ecx*4]
mov esi, dword [eax]
cmp esi, dword [ecx]
jne 0x10053016
mov esi, dword [esp + 0x24]
cmp byte [esi], 0
jne 0x10053016
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x1c]
add dword [esp + 0x24], ebx
add ecx, edx
add eax, edx
cmp dword [esp + 0x10], esi
jl 0x10052fee
jmp 0x1005301a
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x10], esi
jge 0x10053075
jmp 0x100533dc
jne 0x10053075
test eax, eax
jne 0x10053075
mov esi, edx
sub esi, ecx
test esi, esi
mov dword [esp + 0x1c], esi
jle 0x1005306d
mov esi, dword [ebp + 0x20]
mov edx, ecx
imul edx, ebx
lea edx, [esi + edx*4]
mov esi, dword [esp + 0x1c]
mov edi, edi
cmp dword [edx], 0
jg 0x10053069
lea esi, [ebx*4]
add edx, esi
mov esi, dword [esp + 0x1c]
add eax, 1
cmp eax, esi
jl 0x10053050
mov edx, dword [esp + 0x48]
cmp eax, esi
jl 0x100533dc
mov esi, dword [esp + 0x44]
lea eax, [esi - 1]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
lea eax, [eax + esi - 1]
cmp eax, ebx
mov dword [esp + 0x24], eax
jl 0x10053099
lea eax, [ebx - 1]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], eax
jge 0x10053102
mov esi, edx
sub esi, ecx
test esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], esi
jle 0x100530f8
mov esi, dword [ebp + 0x20]
mov eax, ecx
mov ecx, dword [esp + 0x20]
imul eax, ebx
add ecx, eax
lea ecx, [esi + ecx*4]
mov esi, dword [esp + 0x24]
add eax, esi
mov esi, dword [ebp + 0x20]
lea edx, [ebx*4]
lea eax, [esi + eax*4]
mov esi, dword [ecx]
cmp esi, dword [eax]
mov esi, dword [esp + 0x1c]
jne 0x100530f0
add dword [esp + 0x10], 1
add eax, edx
add ecx, edx
cmp dword [esp + 0x10], esi
jl 0x100530d7
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], esi
jl 0x100533dc
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x7c]
mov dword [esp + 0x40], eax
mov eax, ecx
sub eax, edx
lea edx, [ecx - 1]
jns 0x10053117
xor eax, eax
cmp eax, edx
jg 0x100531a4
mov esi, edx
sub esi, eax
lea eax, [esi + 1]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jle 0x1005319c
mov edi, dword [ebp + 0x24]
mov ecx, edx
mov edx, dword [esp + 0x30]
imul ecx, ebx
add edx, ecx
add edi, edx
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 0x20]
mov eax, ebx
neg eax
add eax, eax
lea edx, [edi + edx*4]
mov edi, dword [esp + 0x40]
mov esi, ebx
neg esi
add eax, eax
add ecx, edi
mov edi, dword [ebp + 0x20]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov edi, dword [edi]
cmp edi, dword [edx]
jne 0x10053194
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
jne 0x10053194
add dword [esp + 0x24], eax
add dword [esp + 0x18], esi
add ecx, 1
add edx, eax
cmp ecx, dword [esp + 0x20]
jl 0x1005316e
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jl 0x100533dc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov esi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x1c]
lea eax, [eax + esi - 1]
cmp eax, ecx
jl 0x100531bc
lea eax, [ecx - 1]
cmp esi, eax
jg 0x1005324a
sub eax, esi
lea edx, [eax + 1]
test edx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], edx
jle 0x10053240
mov edx, dword [esp + 0x30]
mov eax, esi
mov esi, dword [ebp + 0x24]
imul eax, ebx
add edx, eax
add esi, edx
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 0x20]
lea edx, [esi + edx*4]
mov esi, dword [esp + 0x40]
add eax, esi
mov esi, dword [ebp + 0x20]
lea ecx, [ebx*4]
lea eax, [esi + eax*4]
jmp 0x1005320c
mov edx, dword [esp + 0x44]
mov esi, dword [eax]
cmp esi, dword [edx]
jne 0x1005323c
mov esi, dword [esp + 0x30]
cmp byte [esi], 0
jne 0x1005323c
mov esi, dword [esp + 0x10]
add dword [esp + 0x30], ebx
add edx, ecx
add esi, 1
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
add eax, ecx
cmp esi, edx
mov dword [esp + 0x10], esi
jl 0x10053208
jmp 0x10053240
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x10], edx
jl 0x100533dc
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x4c]
add eax, ecx
cmp dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
jle 0x10053337
movzx esi, byte [edi + 1]
mov ecx, dword [edi + 8]
mov edx, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ecx
jmp 0x10053280
mov eax, esi
cmp eax, 4
jb 0x1005329b
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1005329f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10053287
test eax, eax
je 0x10053304
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x100532ee
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10053300
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x100532ee
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10053300
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x100532ee
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10053300
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x10053300
test esi, esi
mov edi, dword [esp + 0xc]
mov eax, 1
jg 0x10053306
or eax, 0xffffffff
jmp 0x10053306
mov edi, dword [esp + 0xc]
xor eax, eax
test eax, eax
jne 0x10053337
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
add eax, 1
add ecx, esi
add edx, ebx
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edx
jl 0x10053280
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x38]
jl 0x100533dc
movzx eax, word [edi + 4]
test ax, ax
jbe 0x10053525
movzx eax, byte [edi + 0x27]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x34]
add edx, eax
cmp edx, ebx
jl 0x10053365
mov edx, ebx
mov eax, dword [ebp + 0x14]
lea esi, [ecx + eax]
cmp esi, dword [ebp + 0x1c]
jl 0x10053374
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x38], 0
jge 0x100533cb
mov esi, dword [esp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x20]
imul eax, ebx
add edx, eax
lea edx, [esi + edx*4 - 4]
mov esi, dword [ebp + 0x18]
add eax, esi
sub ecx, dword [esp + 0x14]
mov esi, dword [ebp + 0x20]
lea esi, [esi + eax*4 - 4]
mov dword [esp + 0x34], ecx
xor eax, eax
cmp dword [ebp + 0x18], eax
jle 0x100533b1
mov eax, dword [esi]
mov ecx, dword [edx]
sub ecx, eax
add dword [esp + 0x38], ecx
lea eax, [ebx*4]
add esi, eax
add edx, eax
sub dword [esp + 0x34], 1
jne 0x100533a8
movzx eax, word [edi + 4]
movzx edx, ax
cmp dword [esp + 0x38], edx
je 0x10053525
mov edi, dword [edi + 0x1c]
test edi, edi
mov dword [esp + 0xc], edi
jne 0x10052f20
sub dword [esp + 0x3c], 1
jns 0x10052761
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push ecx
movzx ecx, byte [eax + 0x27]
lea edx, [eax + 0xc]
push edx
movzx edx, byte [eax + 3]
movzx eax, byte [eax]
push ecx
mov ecx, dword [ebp + 0x14]
add edx, eax
mov eax, dword [ebp + 8]
push edx
push ecx
mov esi, edi
call fcn.10052640
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx + 0x27]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x78]
add esi, eax
movzx eax, byte [ecx + 3]
movzx ecx, byte [ecx]
add eax, ecx
add eax, dword [edx + 0x7c]
add esi, edi
add esp, 0x18
cmp esi, ebx
jl 0x10053458
mov esi, ebx
mov ecx, dword [ebp + 0x14]
lea edx, [eax + ecx]
cmp edx, dword [ebp + 0x1c]
jl 0x10053468
mov eax, dword [ebp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + 2]
neg ecx
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jge 0x1005364a
mov edx, esi
sub edx, edi
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x14]
add ecx, edx
mov edx, dword [ebp + 0x24]
imul ecx, ebx
add edi, ecx
add edx, edi
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
lea edx, [esi + ecx]
mov ecx, dword [ebp + 0x20]
lea edx, [ecx + edx*4]
lea edi, [ecx + edi*4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], eax
jmp 0x100534bb
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
xor eax, eax
test ecx, ecx
jle 0x100534c7
mov eax, dword [edi - 4]
mov edx, dword [esp + 0x28]
mov edx, dword [edx - 4]
sub edx, eax
cmp ecx, esi
jge 0x100534da
mov ecx, dword [esp + 0x34]
rep stosd dword es:[edi], eax
cmp esi, ebx
jge 0x100534f0
mov eax, dword [esp + 0x28]
mov ecx, ebx
sub ecx, esi
sub dword [eax], edx
add eax, 4
sub ecx, 1
jne 0x100534e6
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
push eax
push 0
push edi
call fcn.10112240
lea eax, [ebx*4]
add dword [esp + 0x20], eax
add dword [esp + 0x34], eax
add edi, ebx
add esp, 0xc
sub dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
jne 0x100534b7
jmp 0x1005364a
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push ecx
movzx ecx, byte [eax + 0x27]
lea edx, [eax + 0xc]
push edx
movzx edx, byte [eax + 3]
movzx eax, byte [eax]
push ecx
mov ecx, dword [ebp + 0x14]
add edx, eax
mov eax, dword [ebp + 8]
push edx
push ecx
mov esi, edi
call fcn.10052640
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx + 0x27]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x78]
add esi, eax
movzx eax, byte [ecx + 3]
movzx ecx, byte [ecx]
add eax, ecx
add eax, dword [edx + 0x7c]
add esi, edi
add esp, 0x18
cmp esi, ebx
jl 0x1005357c
mov esi, ebx
mov ecx, dword [ebp + 0x14]
lea edx, [eax + ecx]
cmp edx, dword [ebp + 0x1c]
jl 0x1005358c
mov eax, dword [ebp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + 2]
neg ecx
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jge 0x1005364a
mov edx, esi
sub edx, edi
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x14]
add ecx, edx
mov edx, dword [ebp + 0x24]
imul ecx, ebx
add edi, ecx
add edx, edi
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
lea edx, [esi + ecx]
mov ecx, dword [ebp + 0x20]
lea edx, [ecx + edx*4]
lea edi, [ecx + edi*4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], eax
jmp 0x100535e4
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
xor eax, eax
test ecx, ecx
jle 0x100535f0
mov eax, dword [edi - 4]
mov edx, dword [esp + 0x28]
mov edx, dword [edx - 4]
sub edx, eax
cmp ecx, esi
jge 0x10053603
mov ecx, dword [esp + 0x34]
rep stosd dword es:[edi], eax
cmp esi, ebx
jge 0x1005361a
mov eax, dword [esp + 0x28]
mov ecx, ebx
sub ecx, esi
nop
sub dword [eax], edx
add eax, 4
sub ecx, 1
jne 0x10053610
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
push eax
push 0
push edi
call fcn.10112240
lea eax, [ebx*4]
add dword [esp + 0x20], eax
add dword [esp + 0x34], eax
add edi, ebx
add esp, 0xc
sub dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
jne 0x100535e0
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 3]
movzx ecx, byte [ecx]
mov edx, dword [ebp + 8]
add eax, ecx
add eax, dword [edx + 0x7c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret