Function at 0x4b7188
Capabilities:
Encrypt data using speck

Disassembly:
mov eax, 0x4da6cb
call fcn.004d9668
sub esp, 0x25c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x1c], 0x4a6847df
mov dword [ebp - 0x1c], 0xffffffee
xor ebx, ebx
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 0xffffffe8
jne 0x4b72cb
push 3
lea ecx, [ebp - 0x144]
call fcn.0045cc67
mov dword [ebp - 0x34], 0x4f27d270
mov dword [ebp - 0x28], 0xe22401db
mov dword [ebp - 0x28], 0xa1434a9
mov dword [ebp - 0x14], ebx
jmp 0x4b71fe
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x144]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x4b71ee
mov dword [ebp - 0x14], ebx
jmp 0x4b7216
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x120], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b7209
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x144]
mov ecx, dword [esi + 4]
xor eax, eax
cmp ecx, 0xfce6
sete al
cmp eax, ecx
jne 0x4b723f
test ecx, ecx
mov eax, ebx
je 0x4b7241
mov eax, edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfff6
sbb edx, edx
neg edx
sub edx, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, dword [esi + 4]
setl al
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
xor edx, edx
cmp eax, ecx
setne dl
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, eax
setle cl
mov eax, dword [ebp - 0x144]
sub ecx, dword [eax + 8]
je 0x4b72a9
cmp dword [ebp - 0x1c], ebx
je 0x4b72a9
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x91d0b6bd
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
jmp 0x4b72b8
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x4b72b8
push ebx
call dword [0xadf2c8]
lea ecx, [ebp - 0x144]
call fcn.0045cd39
dec dword [ebp - 0x1c]
jmp 0x4b71bd
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x4730
cmp dword [ebp - 0x20], 0x490e
jle 0x4b734c
mov esi, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov eax, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x1ceb
mov esi, dword [ebp - 0x2c]
cdq
push edx
push eax
lea ecx, [ebp - 0x214]
call fcn.00401993
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4b7310
mov eax, dword [eax]
push eax
call fcn.004c4197
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x214]
call fcn.0045d043
mov eax, dword [ebp - 0x28]
add eax, esi
mov dword [ebp - 0x28], eax
dec dword [ebp - 0x34]
jne 0x4b72f8
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0x2bb3
mov esi, dword [ebp - 0x40]
jl 0x4b72e9
inc esi
mov dword [ebp - 0x40], esi
cmp esi, 0x8041
jl 0x4b72e6
mov dword [ebp - 0x24], 0x5d6c05ba
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x20], 0x44de
jge 0x4b736a
push 0xad03f8
call fcn.004c4197
pop ecx
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x4b7397
mov dword [ebp - 0x24], 0xfffffff2
jmp 0x4b73cc
mov dword [ebp - 0x20], 0xeede0b40
mov dword [ebp - 0x20], 0xe
jmp 0x4b73c3
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b73c0
push ebx
call dword [0xadf2d0]
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffe3
jle 0x4b73b0
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x11
jle 0x4b73a0
mov dword [ebp - 0x48], 0x72a72759
mov dword [ebp - 0x20], ebx
push 2
pop ecx
jmp 0x4b73f2
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x98], 0x5540d7f8
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ecx
jl 0x4b73e1
mov dword [ebp - 0x98], ebx
push 0xfffffffffffffffa
pop eax
cmp dword [ebp - 0x98], 4
jl 0x4b742e
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], 0x15
jmp 0x4b7420
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], ebx
jne 0x4b7426
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffed
jl 0x4b7415
inc dword [ebp - 0x98]
jmp 0x4b7400
mov dword [ebp - 0x50], 0x2c03342e
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x20], ebx
jmp 0x4b745f
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x58], esi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x4b7455
cmp dword [ebp - 0x38], ebx
je 0x4b7548
mov dword [ebp - 0x2c], 0x468a07c6
mov dword [ebp - 0x30], 0x88fed6c3
mov dword [ebp - 0x20], ebx
jmp 0x4b748e
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x74], 0xfffd
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x4b7480
mov dword [ebp - 0x38], ebx
jmp 0x4b750a
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], 0xb1d6a56c
cmp dword [ebp - 0x28], ebx
jne 0x4b74cb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x74]
neg ecx
sbb ecx, ecx
inc ecx
xor eax, eax
cmp ecx, 0xb441
setle al
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], ebx
mov edx, ebx
je 0x4b74cd
mov edx, edi
mov eax, dword [ebp - 0x74]
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp eax, ecx
sbb ecx, ecx
neg ecx
mov eax, dword [ebp - 0x74]
xor edx, edx
cmp eax, ecx
setle dl
mov eax, dword [ebp - 0x74]
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, 0xd37ad435
jb 0x4b7502
cmp dword [ebp - 0x74], ebx
mov eax, edi
jne 0x4b7504
mov eax, ebx
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 3
jle 0x4b7499
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
xor edx, edx
cmp ecx, eax
setle dl
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
imul ecx, eax
mov eax, dword [ebp - 0x74]
xor edx, edx
cmp eax, ecx
setge dl
mov eax, dword [ebp - 0x74]
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0x30], ecx
jmp 0x4b75c5
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0x5cb51404
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x28], 6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
neg edx
sbb edx, edx
neg edx
mov ecx, dword [ebp - 0x58]
dec ecx
neg ecx
sbb ecx, ecx
inc ecx
mov eax, dword [ebp - 0x58]
sub eax, ecx
je 0x4b758a
cmp dword [ebp - 0x38], ebx
je 0x4b758a
cmp dword [ebp - 0x58], ebx
mov ecx, edi
jne 0x4b758c
mov ecx, ebx
mov eax, dword [ebp - 0x58]
imul eax, ecx
xor ecx, ecx
cmp eax, 0xd576
setg cl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
xor edx, edx
cmp eax, ecx
setle dl
mov eax, 0xbc8b6976
cmp eax, edx
sbb eax, eax
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x44], 0xfffffffb
mov dword [ebp - 0x34], 0x6ed73489
mov dword [ebp - 0x20], 0xd296407
mov dword [ebp - 0x14], ebx
jmp 0x4b75e9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b75df
mov dword [ebp - 0x14], ebx
jmp 0x4b7601
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], 0x2b3f54c3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b75f3
mov dword [ebp - 0x50], 0xfffffffb
cmp dword [ebp - 0x50], 0xfffffff2
je 0x4b7f93
push 2
lea ecx, [ebp - 0x1cc]
call fcn.0045cc67
mov dword [ebp - 0x38], 0x622ba394
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], ebx
jmp 0x4b7646
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1cc]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x4b7633
mov dword [ebp - 0x14], ebx
jmp 0x4b7662
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1fc], 0xfffffffb
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x4b7651
mov dword [ebp - 0x38], ebx
jmp 0x4b76cf
mov dword [ebp - 0x40], 0x7e17f75
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
cmp dword [ebp - 0x40], ebx
jl 0x4b76ba
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x48], 0xc15d0d65
mov dword [ebp - 0x28], 7
dec dword [ebp - 0x28]
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x2c], ebx
jl 0x4b76b5
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b76b0
push ebx
push ebx
push ebx
call dword [section..idata]
dec dword [ebp - 0x2c]
jns 0x4b769e
dec dword [ebp - 0x40]
jns 0x4b767f
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], edi
jle 0x4b766d
lea ecx, [ebp - 0x1cc]
call fcn.0045cd39
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x4c], ebx
jg 0x4b7e1c
mov eax, 0x4039b642
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x48], 0x176
mov dword [ebp - 0x48], 0xf4b3
mov eax, 0xb2f
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
push edi
lea ecx, [ebp - 0x194]
call fcn.0045cc67
mov dword [ebp - 0x20], ebx
jmp 0x4b7759
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x194]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x4b774a
mov eax, dword [ebp - 0x194]
dec dword [eax]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b7777
push ebx
push ebx
call dword [0xadf010]
lea ecx, [ebp - 0x194]
call fcn.0045cd39
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], 0x8d1d9d65
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0x44], 0xfffffffd
mov dword [ebp - 0x20], ebx
jmp 0x4b77b3
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x250], 0xcb4f5fdf
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x4b77a2
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xa
jge 0x4b7a03
push 2
lea ecx, [ebp - 0x84]
call fcn.0045cc67
mov dword [ebp - 0x34], 0xcaa
cmp dword [ebp - 0x34], 0x1006
jle 0x4b7834
mov eax, ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov ecx, esi
shl eax, cl
cdq
push edx
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401993
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4b7806
mov eax, dword [eax]
push eax
call fcn.004c4197
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x22c]
call fcn.0045d043
inc esi
cmp esi, 0x58da
mov eax, dword [ebp - 0x2c]
jl 0x4b77ea
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x3b31
jl 0x4b77e8
or esi, 0xffffffff
mov dword [ebp - 0x3c], 0xcce57bf5
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x9f6
jge 0x4b7856
push 0xad0410
call fcn.004c4197
pop ecx
mov dword [ebp - 4], esi
jmp 0x4b7880
mov dword [ebp - 0x30], 0x289aa508
mov dword [ebp - 0x20], ebx
jmp 0x4b789f
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x4b788c
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x3c], ebx
jl 0x4b79f0
mov dword [ebp - 0x1c], 0xfffffff8
mov dword [ebp - 0x38], 0x4ddb84c6
mov dword [ebp - 0x48], 0xfffffffa
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x48], 0xdbf12959
mov dword [ebp - 0x48], 0xa95534fd
mov dword [ebp - 0x1c], ebx
jmp 0x4b79de
mov dword [ebp - 0x14], 0xb243e5ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, edx
setle cl
add ecx, dword [ebp - 0x1c]
xor eax, eax
cmp ecx, 6
setne al
inc eax
je 0x4b7927
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
cmp dword [eax + ecx*4], ebx
mov eax, edi
jne 0x4b7929
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x44]
cmp dword [ecx + edx*4], eax
jle 0x4b796b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
cmp dword [eax + ecx*4], ebx
mov edx, ebx
je 0x4b796d
mov edx, edi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x84]
mov dword [eax + ecx*4], edx
mov dword [ebp - 0x38], ebx
jmp 0x4b79d6
mov dword [ebp - 0x48], 0xfffffff6
mov dword [ebp - 0x44], ebx
jmp 0x4b79ce
mov dword [ebp - 0x48], 0xfffffff8
mov dword [ebp - 0x34], 0xe848967c
inc dword [ebp - 0x34]
mov dword [ebp - 0x14], ebx
jmp 0x4b79c5
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b79b4
push 0xff9
call dword [0xadf3ac]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x84]
cmp dword [eax + ecx*4], ebx
jne 0x4b79cb
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x4b79a0
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], edi
jle 0x4b798a
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], edi
jle 0x4b797e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x4b78df
dec dword [ebp - 0x3c]
jns 0x4b78b1
lea ecx, [ebp - 0x84]
call fcn.0045cd39
inc dword [ebp - 0x24]
jmp 0x4b77bc
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b7a22
push 0xaa6
push ebx
push 0xdb0
push 0x4ed
call dword [0xadf418]
mov dword [ebp - 0x1c], 0x62d5e48d
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], ebx
push edi
lea ecx, [ebp - 0x17c]
call fcn.0045cc67
mov dword [ebp - 0x14], ebx
jmp 0x4b7a4d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe0], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b7a40
mov dword [ebp - 0x14], ebx
jmp 0x4b7a6a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x17c]
mov dword [eax + ecx*4], 0x6e2c9bf5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b7a57
mov dword [ebp - 0x1c], ebx
jmp 0x4b7b5f
mov dword [ebp - 0x24], 0xfffffff7
push edi
lea ecx, [ebp - 0x188]
call fcn.0045cc67
mov dword [ebp - 0x20], ebx
jmp 0x4b7a9e
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x188]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x4b7a8f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
test eax, eax
jne 0x4b7b31
mov dword [ecx], 3
mov edx, dword [ebp - 0x1c]
neg edx
sbb edx, edx
neg edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
setl cl
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], ebx
je 0x4b7ae9
cmp dword [ebp - 0x24], ebx
mov ecx, edi
jne 0x4b7aeb
mov ecx, ebx
xor eax, eax
cmp ecx, 0x166c1932
setg al
cmp eax, dword [ebp - 0x1c]
jg 0x4b7b02
cmp dword [ebp - 0x24], ebx
mov ecx, ebx
je 0x4b7b04
mov ecx, edi
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp - 0x1c]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
neg edx
sbb edx, edx
neg edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, dword [ebp - 0x24]
mov ecx, ebx
jl 0x4b7b33
mov ecx, edi
add ecx, 0x194
mov eax, dword [ebp - 0x1c]
xor edx, edx
cmp ecx, eax
setne dl
cmp edx, edi
sbb ecx, ecx
neg ecx
mov eax, dword [ebp - 0x17c]
mov dword [eax], ecx
lea ecx, [ebp - 0x188]
call fcn.0045cd39
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffec
jge 0x4b7a77
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x17c]
call fcn.0045cd39
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
je 0x4b7bf7
mov eax, dword [ebp - 0x4c]
cmp dword [ebp + eax*4 - 0x64], ebx
je 0x4b7bea
mov eax, dword [ebp - 0x4c]
cmp dword [ebp + eax*4 - 0x64], ebx
je 0x4b7bea
mov edx, dword [ebp - 0x50]
dec edx
neg edx
sbb edx, edx
neg edx
mov eax, dword [ebp - 0x64]
sub edx, eax
mov ecx, dword [ebp - 0x4c]
imul ecx, edx
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp ecx, eax
setl dl
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
cmp edx, eax
setg cl
imul eax, ecx, 0x5bf7
test eax, eax
je 0x4b7bca
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp + eax*4 - 0x64]
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
test eax, eax
setg cl
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], ebx
mov edx, edi
jne 0x4b7bf9
mov edx, ebx
mov dword [ebp - 0x44], 0xffff7071
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x50]
sub eax, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x38], 0x53b26bdd
mov dword [ebp - 0x40], 0x8c658163
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], 0x7606e82a
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x38], 0xfffffff6
jmp 0x4b7de1
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x20], 0x9cec
push edi
lea ecx, [ebp - 0xc0]
call fcn.0045cc67
mov dword [ebp - 0x14], ebx
jmp 0x4b7c76
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xa8], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x4b7c69
mov dword [ebp - 0x14], ebx
jmp 0x4b7c94
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b7c81
mov dword [ebp - 0x1c], 0xfffffffd
jmp 0x4b7d31
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
xor edx, edx
cmp eax, ecx
setne dl
mov eax, dword [ebp - 0x38]
add eax, 0xcdea
add eax, edx
jne 0x4b7cd2
cmp dword [ebp - 0x34], ebx
mov eax, ebx
je 0x4b7cd4
mov eax, edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x34]
xor edx, edx
cmp eax, 0xed1456b8
setne dl
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x3c], ecx
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x20]
cmp eax, 0x883f
jg 0x4b7d24
mov dword [ebp - 0xa4], 0x3c44
mov dword [ebp - 0x40], 0x3c44
cmp dword [ebp - 0x40], ebx
mov ecx, edi
jne 0x4b7d26
mov ecx, ebx
mov eax, dword [ebp - 0xc0]
mov dword [eax], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x1c
jge 0x4b7ca5
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jg 0x4b7dd3
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xa0]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + ecx*4]
mov dword [edx + esi*4], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xa4]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xa8]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xa4]
imul eax, dword [ecx + edx*4]
test eax, eax
je 0x4b7da1
cmp dword [ebp - 0x38], ebx
mov eax, edi
jne 0x4b7da3
mov eax, ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + eax*4 - 0xa4]
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp eax, ecx
setg dl
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xa8], edx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x4b7d47
or esi, 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.0045cd39
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 9
je 0x4b7c4a
cmp dword [ebp - 0x28], ebx
jne 0x4b7df7
cmp dword [ebp - 0x50], ebx
mov ecx, ebx
je 0x4b7df9
mov ecx, edi
mov eax, dword [ebp - 0x4c]
cmp dword [ebp + eax*4 - 0x64], ebx
jne 0x4b7e05
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x44]
sub eax, ecx
xor ecx, ecx
cmp eax, esi
setg cl
mov dword [ebp - 0x34], ecx
inc dword [ebp - 0x4c]
jmp 0x4b76e5
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x4c]
call fcn.004b6df9
push edi
lea ecx, [ebp - 0x168]
call fcn.0045cc67
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x28], 0x4dc41fd9
push 3
lea ecx, [ebp - 0x150]
call fcn.0045cc67
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], 0x50270f9e
mov dword [ebp - 0x28], 0x2522abf7
mov dword [ebp - 0x1c], ebx
jmp 0x4b7e77
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x168]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x4b7e64
mov dword [ebp - 0x1c], ebx
jmp 0x4b7e90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x150]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x4b7e81
mov dword [ebp - 0x1c], ebx
jmp 0x4b7eac
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1c0], 6
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x4b7e9b
mov eax, dword [ebp - 0x168]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x150]
mov eax, dword [eax]
sub eax, 0x3bd5de1f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x150]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x168]
mov eax, dword [eax]
lea eax, [eax + ecx*2]
inc eax
mov dword [ebp - 0x1c0], eax
cmp eax, 0xec995f76
sbb eax, eax
neg eax
xor ecx, ecx
cmp eax, edi
setge cl
mov eax, 0xe177c422
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
je 0x4b7f48
cmp dword [edx + 4], ebx
je 0x4b7f48
cmp dword [ebp - 0x14], ebx
je 0x4b7f48
mov dword [ebp - 0x20], ebx
jmp 0x4b7f37
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1f0], 0xe9f4
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x4b7f26
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x28], eax
jmp 0x4b7f5d
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b7f5d
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0xadf288]
mov dword [ebp - 0x14], ebx
jmp 0x4b7f6f
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x30], 0xfffffff7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x4b7f62
lea ecx, [ebp - 0x150]
call fcn.0045cd39
lea ecx, [ebp - 0x168]
call fcn.0045cd39
dec dword [ebp - 0x50]
jmp 0x4b760d
push edi
lea ecx, [ebp - 0xdc]
call fcn.0045cc67
mov dword [ebp - 0x2c], 0xaf425f5f
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x44], 0xfffffffd
mov dword [ebp - 0x3c], 0x8014
mov dword [ebp - 0x34], 0xfffffffc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
jmp 0x4b7fd5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xdc]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b7fc6
mov dword [ebp - 0x14], ebx
jmp 0x4b7fe9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x60], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b7fdf
mov eax, dword [ebp - 0x44]
dec dword [ebp - 0x44]
test eax, eax
jne 0x4b7ffd
mov dword [ebp - 0x60], edi
jmp 0x4b8000
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x2c], ebx
je 0x4b8008
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp eax, 0x54ec
setge cl
mov eax, dword [ebp - 0x60]
xor edx, edx
cmp ecx, eax
setle dl
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, esi
setne al
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
imul eax, dword [ebp - 0x30], 0x60be
xor ecx, ecx
cmp edx, eax
setle cl
sub ecx, edx
je 0x4b8158
mov dword [ebp - 0x24], 0x1f13d464
mov dword [ebp - 0x28], 0x47afae86
mov dword [ebp - 0x2c], 0xfffffffc
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], ebx
jne 0x4b80a9
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x60]
test eax, eax
je 0x4b8082
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp eax, edi
setle cl
cmp ecx, dword [ebp - 0x24]
jle 0x4b809b
cmp dword [ebp - 0x60], ebx
mov ecx, edi
jne 0x4b809d
mov ecx, ebx
mov eax, dword [ebp - 0x3c]
add eax, ecx
cmp eax, dword [ebp - 0x60]
mov ecx, ebx
jne 0x4b80ab
mov ecx, edi
xor eax, eax
cmp ecx, 0x14f5
setge al
sub eax, dword [ebp - 0x28]
je 0x4b80c2
cmp dword [ebp - 0x34], ebx
mov edx, edi
jne 0x4b80c4
mov edx, ebx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, eax
setg cl
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp ecx, eax
setle dl
xor eax, eax
cmp edx, 0x67b2
setl al
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], esi
jne 0x4b8105
mov eax, dword [ebp - 0xdc]
cmp dword [eax], ebx
mov eax, ebx
je 0x4b8107
mov eax, edi
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x44]
imul edx, eax
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp edx, eax
setge cl
imul ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4b812a
cmp dword [ebp - 0x3c], ebx
mov eax, edi
jne 0x4b812c
mov eax, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push 7
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
add eax, 0xe7be
mov dword [ebp - 0x2c], eax
jne 0x4b8151
mov eax, dword [ebp - 0xdc]
cmp dword [eax], ebx
mov eax, ebx
je 0x4b8153
mov eax, edi
mov dword [ebp - 0x30], eax
jmp 0x4b8168
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b8168
push ebx
call dword [0xadf224]
lea ecx, [ebp - 0xdc]
call fcn.0045cd39
mov dword [ebp - 0x44], ebx
cmp dword [ebp - 0x44], 0x1a
jne 0x4b8ace
mov dword [ebp - 0x48], 0x9babe4a9
push edi
lea ecx, [ebp - 0x15c]
call fcn.0045cc67
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x28], 0xf9f7
mov dword [ebp - 0x34], 0xd972c40a
mov dword [ebp - 0x30], 0xad3380ee
mov dword [ebp - 0x20], ebx
jmp 0x4b81c7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x15c]
mov dword [eax + ecx*4], 4
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x4b81b4
mov dword [ebp - 0x14], ebx
jmp 0x4b8228
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
jmp 0x4b81e6
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xd0], edi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x4b81d9
mov dword [ebp - 0xd0], 0xc8fc558b
mov dword [ebp - 0x24], 0xc8fc558b
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], ebx
jl 0x4b8225
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b821d
push 0x1ed4
push 0xbe5
call dword [fcn.00adf3c8]
mov eax, dword [ebp - 0x24]
dec dword [ebp - 0x24]
jns 0x4b8204
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x4b81d1
jne 0x4b8251
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0x980d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax]
imul eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], ebx
mov ecx, ebx
je 0x4b8253
mov ecx, edi
mov eax, dword [ebp - 0x15c]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x28]
je 0x4b8267
cmp dword [ebp - 0x28], ebx
mov eax, edi
jne 0x4b8269
mov eax, ebx
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x15c]
call fcn.0045cd39
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], 0xfffffff3
jne 0x4b8ac3
mov dword [ebp - 0x3c], 0xfffffffb
mov dword [ebp - 0x30], 0xdf98a59c
mov dword [ebp - 0x54], 0xfc07e17f
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x24], ebx
jmp 0x4b82b2
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x170], 0xfffffffc
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x4b82a1
mov dword [ebp - 0x3c], ebx
jmp 0x4b82e9
mov dword [ebp - 0x24], ebx
jmp 0x4b82d3
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x11c], 0xb4ebb0cb
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jl 0x4b82c2
dec dword [ebp - 0x170]
cmp dword [ebp - 0x11c], ebx
jne 0x4b82ef
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0x1a
jne 0x4b82bd
mov dword [ebp - 0x30], 0x90a23371
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x50], ebx
jl 0x4b8abb
mov dword [ebp - 0x24], 0x462d5e48
mov dword [ebp - 0x30], 0x47c9d5fa
mov dword [ebp - 0x24], ebx
jmp 0x4b8383
mov dword [ebp - 0x14], ebx
jmp 0x4b8328
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x68], 6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b831a
mov dword [ebp - 0x14], ebx
jmp 0x4b833c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x4b8332
mov dword [ebp - 0x5c], ebx
jmp 0x4b837b
mov eax, dword [ebp - 0x5c]
cmp dword [ebp + eax*4 - 0x68], ebx
jne 0x4b8380
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + eax*4 - 0x68]
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp ecx, eax
setle dl
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp + eax*4 - 0x68]
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, edi
setg al
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], ebx
jle 0x4b8346
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xffffffe9
jl 0x4b8315
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b83a0
push ebx
push ebx
push ebx
push 0x307
call dword [fcn.00adf050]
mov dword [ebp - 0x138], 0x7e55059b
mov dword [ebp - 0x134], 0x7e55059b
mov dword [ebp - 0x130], 0x7e55059b
mov dword [ebp - 0x12c], 0x7e55059b
mov dword [ebp - 0x40], 0x2048
cmp dword [ebp - 0x40], 0x2333
jle 0x4b8457
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], 0x44f6
mov esi, ebx
mov eax, esi
and eax, edx
xor eax, ecx
cdq
push edx
push eax
lea ecx, [ebp - 0x244]
call fcn.00401993
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4b840e
mov eax, dword [eax]
push eax
call fcn.004c4197
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x244]
call fcn.0045d043
inc esi
cmp esi, 0x573b
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
jl 0x4b83f0
dec edx
mov dword [ebp - 0x28], edx
dec dword [ebp - 0x34]
jne 0x4b83ee
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x12a8
jl 0x4b83e2
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x7b65
jl 0x4b83dd
or esi, 0xffffffff
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 4
cmp dword [ebp - 0x40], 0x1db2
jge 0x4b8475
push 0xad047c
call fcn.004c4197
pop ecx
mov dword [ebp - 4], esi
jmp 0x4b849d
mov dword [ebp - 0x54], 0xb6b0e1b1
mov dword [ebp - 0x14], ebx
jmp 0x4b84ba
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x128], 0xbe8f2100
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x4b84a9
mov dword [ebp - 0x14], ebx
jmp 0x4b84d6
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1a0], 0xfffffff7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x4b84c5
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x134]
add ecx, eax
mov eax, dword [ebp - 0x198]
inc dword [ebp - 0x198]
cmp eax, ecx
mov eax, edi
cmove eax, ebx
mov ecx, dword [ebp - 0x134]
imul ecx, eax
mov eax, dword [ebp - 0x130]
sub ecx, eax
mov eax, dword [ebp - 0x128]
add eax, ecx
cmp eax, 0xfff9
sbb eax, eax
inc eax
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x78], ebx
mov dword [ebp - 0x40], 0x32c6
cmp dword [ebp - 0x40], 0x3599
jle 0x4b85d6
mov eax, ebx
mov dword [ebp - 0x28], ebx
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
cdq
idiv ecx
mov ecx, edx
mov dword [ebp - 0x24], ecx
mov eax, ebx
mov dword [ebp - 0x34], eax
mov edx, ecx
mov ecx, esi
sar edx, cl
mov dword [ebp - 0x30], edx
xor eax, edx
cdq
push edx
push eax
lea ecx, [ebp - 0x268]
call fcn.00401993
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x4b8584
mov eax, dword [eax]
push eax
call fcn.004c4197
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x268]
call fcn.0045d043
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x65d8
mov edx, dword [ebp - 0x30]
jl 0x4b856a
inc esi
cmp esi, 0x606f
mov ecx, dword [ebp - 0x24]
jl 0x4b855c
mov ecx, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x7c78
mov eax, dword [ebp - 0x28]
jl 0x4b8552
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x40c6
jl 0x4b854d
mov dword [ebp - 4], 6
cmp dword [ebp - 0x40], 0x318a
jge 0x4b85f1
push 0xad0498
call fcn.004c4197
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x4b861a
mov dword [ebp - 0x14], 0xb58e
push 2
lea ecx, [ebp - 0x90]
call fcn.0045cc67
mov dword [ebp - 0x28], 0xb56cef3
mov dword [ebp - 0x34], 0x1576660b
mov dword [ebp - 0x2c], 0x2570
mov dword [ebp - 0x30], 0xa0c844fc
mov dword [ebp - 0x24], ebx
jmp 0x4b865e
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x90]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x4b864f
dec dword [ebp - 0x14]
jne 0x4b8708
cmp dword [ebp - 0x14], ebx
jne 0x4b86ba
mov edx, 0x811fc80
mov eax, dword [ebp - 0x90]
sub edx, dword [eax]
mov eax, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 0x90]
imul edx, dword [eax + 4]
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov esi, dword [ebp - 0x90]
cmp dword [esi], eax
setle cl
cmp ecx, 0x31e7bf5c
jg 0x4b86c0
mov edx, ebx
jmp 0x4b86c2
mov esi, dword [ebp - 0x90]
mov edx, edi
mov ecx, dword [esi]
mov eax, dword [ebp - 0x14]
imul eax, edx
sub eax, ecx
neg eax
sbb eax, eax
inc eax
cmp eax, ecx
je 0x4b86dc
cmp dword [ebp - 0x14], ebx
mov edx, ebx
je 0x4b86de
mov edx, edi
xor ecx, ecx
mov eax, dword [ebp - 0x90]
cmp dword [eax], edx
sete cl
sub ecx, 0xa0becc33
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x90]
cmp dword [eax], edi
mov ecx, ebx
jge 0x4b870a
mov ecx, edi
add ecx, 5
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp ecx, eax
setl dl
xor ecx, ecx
cmp edx, 0x220985a9
setg cl
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp ecx, eax
setne dl
imul edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x90]
call fcn.0045cd39
mov dword [ebp - 0x38], 0x158018d9
mov dword [ebp - 0x2c], 0xfffffffc
mov dword [ebp - 0x3c], 0x8af8716b
mov dword [ebp - 0x1c], 0x7d228d5f
mov dword [ebp - 0x14], 0x2b058efa
push 2
pop esi
push esi
lea ecx, [ebp - 0xb4]
call fcn.0045cc67
mov dword [ebp - 0x118], 0x162d50c8
mov dword [ebp - 0x114], 0x162d50c8
mov dword [ebp - 0x110], 0x162d50c8
mov dword [ebp - 0x10c], 0x162d50c8
movdqa xmm0, xmmword [0xad0bb0]
movdqu xmmword [ebp - 0x1e4], xmm0
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
push dword [ebp - 0x9c]
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1e4]
push eax
push ebx
lea ecx, [ebp - 0xcc]
call fcn.0045e9c9
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x4b87f8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb4]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x4b87e9
mov dword [ebp - 0x14], ebx
jmp 0x4b8813
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x108], 0xaa237f4a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x4b8802
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x38], ebx
jne 0x4b8852
mov eax, dword [ebp - 0xb4]
cmp dword [eax], ebx
je 0x4b882d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x110]
dec dword [ebp - 0x110]
mov dword [ebp - 0x108], ebx
cmp dword [ecx + 8], ebx
mov ecx, edi
je 0x4b8854
mov ecx, ebx
mov edx, dword [ebp - 0xcc]
xor eax, eax
test ecx, ecx
sete al
xor ecx, ecx
cmp eax, 0x215f8f50
setle cl
xor eax, eax
cmp ecx, dword [edx + 8]
setg al
imul eax, eax, 0x6e30
mov esi, dword [ebp - 0xb4]
test eax, eax
je 0x4b8889
cmp dword [esi], ebx
mov eax, edi
jne 0x4b888b
mov eax, ebx
cmp eax, 0x87642760
sbb eax, eax
inc eax
xor ecx, ecx
cmp eax, dword [edx + 8]
setg cl
imul ecx, dword [esi + 4]
add ecx, dword [edx + 0xc]
mov esi, dword [esi]
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp ecx, eax
sete dl
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
setg cl
lea eax, [ecx + 3]
add eax, esi
xor ecx, ecx
cmp eax, esi
setne cl
add ecx, dword [ebp - 0x3c]
jne 0x4b8902
mov eax, dword [ebp - 0xb4]
cmp dword [eax], ebx
jne 0x4b8902
mov dword [ebp - 0x30], 0xffff
mov dword [ebp - 0x14], 0xffffffe2
jmp 0x4b88f7
mov dword [ebp - 0x30], 0x9616
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x30], 0xd6c1c926
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x12
jl 0x4b88e3
jmp 0x4b8a7b
mov dword [ebp - 0x38], 0xfffffff8
jmp 0x4b8a71
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x2c], ebx
jmp 0x4b8a64
mov dword [ebp - 0x40], 0xfb9d
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x4b8a57
mov dword [ebp - 0x28], 0x62da
mov dword [ebp - 0x54], 0xfff8
mov dword [ebp - 0x28], 0xb7a7919e
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b8957
push ebx
push edi
push ebx
call dword [fcn.00adf204]
mov dword [ebp - 0x3c], ebx
jmp 0x4b8a4a
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], ebx
jl 0x4b8a47
mov dword [ebp - 0x24], ebx
jmp 0x4b8984
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1b8], 0x21526695
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x4b8973
mov dword [ebp - 0x28], 0x12ea
cmp dword [ebp - 0x28], ebx
je 0x4b89fb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + eax*4 - 0x118]
mov eax, dword [ebp - 0x40]
xor edx, edx
cmp ecx, eax
sete dl
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x108]
xor ecx, ecx
cmp eax, edx
setle cl
imul eax, ecx, 5
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x1b8], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
xor edx, edx
cmp ecx, eax
setge dl
cmp edx, 0xffff
sbb ecx, ecx
inc ecx
mov eax, dword [ebp - 0x40]
xor edx, edx
cmp ecx, eax
setl dl
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + eax*4 - 0x108]
mov eax, dword [ebp - 0x54]
xor ecx, ecx
test eax, eax
setg cl
sub edx, ecx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp edx, eax
setle cl
test ecx, ecx
je 0x4b8a29
cmp dword [ebp - 0x30], ebx
mov edx, ebx
je 0x4b8a2b
mov edx, edi
mov eax, dword [ebp - 0x40]
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
dec dword [ebp - 0x1c]
jns 0x4b896e
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 3
jle 0x4b895f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x17
je 0x4b8930
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xd
jne 0x4b891d
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xfffffff5
jne 0x4b890e
lea ecx, [ebp - 0xcc]
call fcn.0045cd39
lea ecx, [ebp - 0xb4]
call fcn.0045cd39
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x4b8ab0
push ebx
push 0xe98
push 0xa78
push 0x8d5
call dword [0xadf03c]
dec dword [ebp - 0x50]
or esi, 0xffffffff
jmp 0x4b82f9
dec dword [ebp - 0x20]
jmp 0x4b827a
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0x44]
jmp 0x4b8176
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x30], 0x5596960f
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x54], 0xe2167fa5
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x54], 0xfffffffc
mov dword [ebp - 0x30], 0xd9a924c0
mov dword [ebp - 0x54], 0xdc5336de
mov dword [ebp - 0x2c], 0x78f4
push 4
lea ecx, [ebp - 0xec]
call fcn.0045cc67
mov dword [ebp - 0x14], ebx
jmp 0x4b8b24
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1d4], 0xfffffffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x4b8b13
mov dword [ebp - 0x14], ebx
jmp 0x4b8b3e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xec]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x4b8b2f
dec dword [ebp - 0x2c]
mov eax, dword [ebp - 0xec]
cmp dword [eax], ebx
jne 0x4b8b94
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1d0]
xor edx, edx
cmp ecx, eax
setl dl
xor ecx, ecx
mov eax, dword [ebp - 0xec]
cmp dword [eax], edx
setge cl
sub ecx, 0x8bb
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xec]
sub ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x28]
jl 0x4b8b96
mov ebx, edi
add ebx, 0xffff3eb9
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
xor edx, edx
cmp ecx, eax
setle dl
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0xec]
call fcn.0045cd39
mov eax, dword [ebp - 0x9c]
cdq
mov ecx, 0x3e8
idiv ecx
mov esi, edx
mov edi, eax
mov ecx, dword [ebp - 0xf0]
call fcn.004b6d83
add eax, esi
add eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret