Function at 0x4787a6
Capabilities:
Encrypt data using speck

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
cmp esi, ebx
mov edi, ecx
mov dword [ebp - 0x30], edi
jne 0x4787d2
cmp dword [ebp + 0xc], ebx
jne 0x47ab96
xor eax, eax
jmp 0x47ab9b
cmp dword [esi + 4], 0xe
jne 0x47ab96
mov eax, dword [esi + 0x18]
imul eax, dword [esi + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x24]
xor edx, edx
cmp eax, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ebx
je 0x478819
cmp dword [eax + 4], 0xe
jne 0x478819
mov edx, eax
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x1c]
imul eax, dword [edx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x478835
cmp dword [eax + 4], 0xe
jne 0x478835
mov ecx, eax
mov eax, dword [ecx + 0x1c]
imul eax, dword [ecx + 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], eax
cmp edx, ebx
je 0x478863
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0044dbca
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x47a6fd
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0044dbca
cmp eax, ebx
mov dword [ebp - 0x70], eax
je 0x47a6fd
cmp dword [ebp - 0xc], ebx
je 0x47887d
push dword [ebp - 0x24]
mov ecx, edi
call fcn.0044dbca
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x47a6fd
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp + 0x10]
xor edx, edx
inc edx
cmp eax, 0x1b
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
jg 0x4788b0
cmp eax, 0x1a
jge 0x4788ab
cmp eax, ebx
jl 0x4788c0
cmp eax, edx
jle 0x4788bd
cmp eax, 3
jg 0x4788c0
mov dword [ebp - 0x20], edx
jmp 0x4788bd
mov dword [ebp - 0x24], edx
jmp 0x4788c0
sub eax, 0x1c
je 0x4788ba
dec eax
jne 0x4788c0
jmp 0x4788bd
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], ecx
cmp dword [esi + 0x2c], ebx
je 0x478920
cmp dword [ebp - 0x14], ebx
je 0x4788ea
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.004787a6
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x20], ebx
je 0x478911
cmp dword [ebp - 0x14], ebx
je 0x478911
push ebx
push 1
push dword [ebp - 0x70]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.004787a6
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov esi, dword [ebp + 8]
cmp dword [ebp - 0xc], ebx
je 0x47898d
push ebx
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0xc]
jmp 0x478979
cmp dword [ebp - 0xc], ebx
je 0x478941
push ebx
push ebx
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 0xc]
call fcn.004787a6
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x14], ebx
je 0x478966
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.004787a6
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x20], ebx
je 0x47898d
cmp dword [ebp - 0x14], ebx
je 0x47898d
push ebx
push 1
push dword [ebp - 0x70]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.004787a6
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
cmp eax, 0x21
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
ja case.default.0x4789a2
mov ecx, dword [ebp + 0xc]
jmp dword [eax*4 + 0x47aba2]
cmp dword [ebp - 0x14], ebx
je 0x478b64
cmp ecx, ebx
je 0x4789d8
cmp dword [ebp - 0x10], 1
jne 0x478ad1
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x4789db
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebp - 4]
jb 0x4789c7
cmp dword [ebp - 4], ebx
je 0x47a0fa
cmp dword [ebp - 0x20], ebx
je 0x47a0fa
cmp dword [ebp - 0x1c], ebx
je 0x47a0fa
or dword [ebp - 0x10], 0xffffffff
xor edx, edx
cmp dword [ebp - 4], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0xc], edx
jbe 0x478a62
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + 8]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + 0x1c]
mov esi, dword [esi + eax*4]
cmp dword [esi + 0x28], 0xffffffff
jne 0x478a30
push ebx
push 0x8000000
push eax
call fcn.00490d38
test eax, eax
je 0x478c05
mov edx, dword [ebp - 0xc]
cmp edx, ebx
je 0x47a038
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x14], eax
jne 0x47a04e
cmp eax, 0xffffffff
je 0x478a59
mov esi, dword [esi + 8]
cmp esi, dword [ebp + 0x10]
je 0x478a59
cmp esi, ebx
jne 0x47a058
inc edx
cmp edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jb 0x478a04
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00456076
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x60], eax
mov eax, ecx
and eax, 2
cmp dword [ebp - 0x10], 0xffffffff
je 0x47a062
or eax, ebx
je 0x47a0af
and ecx, 0x8000000
or ecx, ebx
je 0x47a0af
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00453b66
jmp 0x47a0d2
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
je 0x478b4b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
cmp eax, 1
jne 0x478ae9
cmp edx, dword [ebp - 0x10]
jb 0x478b4b
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 0x18]
ja 0x478b3f
mov esi, dword [ecx + 0x1c]
cmp esi, dword [edx + 0x1c]
ja 0x478b3f
xor esi, esi
cmp eax, ebx
jbe 0x4789d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov ecx, eax
imul eax, esi
shl ecx, 2
push ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x1c]
imul ecx, esi
lea ecx, [edx + ecx*4]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
inc esi
cmp esi, dword [eax + 0x18]
jb 0x478b03
jmp 0x4789d8
push 0x4069f4
push ebx
push ecx
jmp 0x47ab63
mov eax, edx
shl eax, 2
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4789d8
push dword [ebp - 4]
mov eax, dword [ebp + 8]
push ecx
push dword [eax + 0x24]
mov ecx, edi
call fcn.0047ac2f
jmp 0x479fab
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp dword [ebp - 4], ebx
je 0x47a0fa
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [edi + 8]
cmp eax, dword [ecx + 0xc]
jae 0x478baa
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + eax*4]
jmp 0x478bac
xor eax, eax
cmp eax, ebx
je 0x4789d8
mov eax, dword [eax + 8]
cmp dword [ecx + 0x2a50], eax
je 0x478bd5
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 8]
and eax, 0x8000000
or eax, ebx
je 0x4789d8
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x478bf4
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax*4]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0x28], 0xffffffff
je 0x478c05
inc eax
cmp eax, dword [ebp - 4]
jb 0x478bdf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x4789d8
push 0x4069d0
push ebx
push dword [ebp + 8]
jmp 0x47ab63
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp dword [ebp - 4], ebx
je 0x47a0fa
xor esi, esi
cmp dword [ebp - 4], ebx
jbe 0x478bf4
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 8]
mov eax, dword [eax + esi*4]
mov edx, dword [ecx + 0x1c]
mov edx, dword [edx + eax*4]
cmp dword [edx + 0x28], 0xffffffff
jne 0x478c5a
push ebx
push 0x8000000
push eax
call fcn.00490d38
test eax, eax
je 0x478c05
inc esi
cmp esi, dword [ebp - 4]
jb 0x478c35
jmp 0x478bf4
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
mov esi, dword [ebp - 4]
lea eax, [esi + esi]
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
mov edx, esi
xor ecx, ecx
shl edx, 2
mov dword [ebp + ecx*4 - 0x2c], eax
inc ecx
add eax, edx
cmp ecx, 2
jb 0x478c88
xor esi, esi
cmp dword [ebp - 4], ebx
jbe 0x478cce
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
and eax, 0x1ff
and ecx, 0x80000000
push eax
push ecx
mov ecx, edi
call fcn.0044dd07
mov ecx, dword [ebp - 0x28]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 4]
jb 0x478c9b
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x2c]
call fcn.0044dc99
cmp eax, ebx
jl 0x47ab9b
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
and eax, 0xfffff
push dword [ebp - 8]
or eax, 0x20400000
push dword [ebp - 0x2c]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
jmp 0x478bfd
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
mov esi, dword [ebp - 4]
lea eax, [esi + esi]
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
mov edx, esi
xor ecx, ecx
shl edx, 2
mov dword [ebp + ecx*4 - 0x2c], eax
inc ecx
add eax, edx
cmp ecx, 2
jb 0x478d46
xor esi, esi
cmp dword [ebp - 4], ebx
jbe 0x478cce
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
and eax, 0x1ff
and ecx, 0x80000000
push eax
push ecx
mov ecx, edi
call fcn.0044dd8e
mov ecx, dword [ebp - 0x28]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 4]
jb 0x478d5d
jmp 0x478cce
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x478df2
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
and eax, 0xfffff
or eax, 0x12100000
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov ecx, edi
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0044fa2b
jmp 0x479fab
mov esi, dword [ebp - 4]
lea eax, [esi + esi]
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
mov edx, esi
xor ecx, ecx
shl edx, 2
mov dword [ebp + ecx*4 - 0x2c], eax
inc ecx
add eax, edx
cmp ecx, 2
jb 0x478e0f
push esi
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x28]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 8]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.00455481
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x2c]
and eax, 0xfffff
push dword [ebp - 0x28]
jmp 0x4792d0
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
and eax, 0xfffff
or eax, 0x10100000
jmp 0x478dd7
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov eax, dword [ebp - 4]
and eax, 0xfffff
or eax, 0x10000000
jmp 0x478ddf
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20400000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x47a6fd
push dword [ebp - 4]
mov ecx, edi
push eax
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
push dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
or eax, 0x10100000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
or eax, 0x20400000
jmp 0x479ae8
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
mov eax, dword [ebp - 4]
push ebx
push ebx
mov ecx, edi
push ebx
je 0x479055
push 0x80000000
push dword [ebp - 0x18]
push dword [ebp - 8]
and eax, 0xfffff
or eax, 0x20a00000
jmp 0x478de1
push 0x17
push dword [ebp - 0x18]
push dword [ebp - 8]
and eax, 0xfffff
or eax, 0x20200000
jmp 0x478de1
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
mov eax, dword [ebp - 4]
push ebx
push ebx
mov ecx, edi
push ebx
je 0x4790bf
push 0x80000000
push dword [ebp - 8]
push dword [ebp - 0x18]
jmp 0x479046
push 0x17
push dword [ebp - 8]
push dword [ebp - 0x18]
jmp 0x47905d
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
mov eax, dword [ebp - 4]
push ebx
push ebx
mov ecx, edi
push ebx
je 0x479129
push 0x80000000
push dword [ebp - 8]
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20b00000
jmp 0x478de1
push 0x17
push dword [ebp - 8]
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20300000
jmp 0x478de1
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
mov eax, dword [ebp - 4]
push ebx
push ebx
mov ecx, edi
push ebx
je 0x479193
push 0x80000000
push dword [ebp - 0x18]
push dword [ebp - 8]
jmp 0x47911a
push 0x17
push dword [ebp - 0x18]
push dword [ebp - 8]
jmp 0x479131
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x4791f8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 0x80000000
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20c00000
jmp 0x478ddc
mov esi, dword [ebp - 4]
shl esi, 2
push esi
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
xor ecx, ecx
mov edx, eax
mov dword [ebp + ecx*4 - 0x40], edx
inc ecx
add edx, esi
cmp ecx, 4
jb 0x479212
push esi
push eax
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
push dword [ebp - 0x40]
mov dword [ebp + 0x10], eax
or eax, 0x10100000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x40]
or eax, 0x20400000
push dword [ebp - 8]
mov ecx, edi
push dword [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.00455481
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x38]
push dword [ebp - 0x34]
or eax, 0x20300000
jmp 0x479aeb
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
jne 0x478db5
push 0x40699c
mov esi, 0x80004001
push 0xdcf
jmp 0x47987d
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x4792fe
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23400000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x4792fe
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23500000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x4792fe
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23000000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x4792fe
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23100000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x4792fe
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23300000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x47952c
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20d00000
jmp 0x478ddc
mov esi, dword [ebp - 4]
shl esi, 2
push esi
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
xor ecx, ecx
mov edx, eax
mov dword [ebp + ecx*4 - 0x40], edx
inc ecx
add edx, esi
cmp ecx, 4
jb 0x479546
push esi
push eax
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
push dword [ebp - 0x40]
mov dword [ebp + 0x10], eax
or eax, 0x10100000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x40]
or eax, 0x20400000
jmp 0x479788
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x47967f
cmp dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
jbe 0x47963f
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp + 0x10], eax
mov edx, 0x80000000
jmp 0x479610
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [eax + esi]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, edx
or eax, ebx
je 0x479670
mov eax, esi
mov eax, dword [eax]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, edx
or eax, ebx
je 0x479670
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x10], 4
cmp eax, dword [ebp - 4]
jb 0x47960d
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23000000
jmp 0x479ae8
push 0x40696c
push 0xe10
jmp 0x479878
cmp dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
jbe 0x4796c5
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp + 0x10], eax
jmp 0x47969a
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, 1
or eax, ebx
je 0x4796f1
mov eax, dword [edx]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, 1
or eax, ebx
je 0x4796f1
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add edx, 4
cmp eax, dword [ebp - 4]
jb 0x479697
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x18]
and eax, 0xfffff
jmp 0x479ae3
mov esi, dword [ebp - 4]
mov eax, esi
imul eax, eax, 3
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
mov edx, esi
xor ecx, ecx
shl edx, 2
mov dword [ebp + ecx*4 - 0x3c], eax
inc ecx
add eax, edx
cmp ecx, 3
jb 0x479710
mov edx, esi
push edx
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp - 0x38]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp - 0x34]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
mov eax, edx
push ebx
and eax, 0xfffff
push ebx
push dword [ebp - 0x18]
mov dword [ebp + 0x10], eax
or eax, 0x20500000
push dword [ebp - 8]
mov ecx, edi
push dword [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.00455481
jmp 0x4799aa
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x47988e
cmp dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
jbe 0x47983d
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp + 0x10], eax
mov edx, 0x80000000
jmp 0x47980e
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + eax]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, edx
or eax, ebx
je 0x47986e
mov eax, esi
mov eax, dword [eax]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, edx
or eax, ebx
je 0x47986e
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x10], 4
cmp eax, dword [ebp - 4]
jb 0x47980b
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x23100000
jmp 0x479ae8
push 0x406940
push 0xe11
mov esi, 0x80004005
push dword [ebp + 8]
push edi
call fcn.0044f2af
add esp, 0x10
jmp 0x47ab71
mov esi, dword [ebp - 4]
shl esi, 2
push esi
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
xor ecx, ecx
mov dword [ebp + ecx*4 - 0x40], eax
inc ecx
add eax, esi
cmp ecx, 4
jb 0x4798a6
mov edx, dword [ebp - 4]
push edx
push dword [ebp - 0x40]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp - 0x38]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp - 0x34]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push edx
push dword [ebp - 8]
mov ecx, edi
push ebx
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.00455481
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x3c]
push dword [ebp + 8]
call fcn.00455481
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 4
push dword [ebp - 0x3c]
and eax, 0xfffff
push dword [ebp - 0x40]
mov dword [ebp + 0x10], eax
push dword [ebp - 0x38]
or eax, 0x20400000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push 8
push ebx
push dword [ebp - 0x38]
or eax, 0x10100000
push dword [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x38]
or eax, 0x20200000
push dword [ebp - 0x34]
jmp 0x479aeb
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
push dword [ebp - 4]
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20500000
jmp 0x478ddc
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
push dword [ebp - 4]
je 0x479a6b
push ecx
mov ecx, edi
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
or eax, 0x20800000
jmp 0x478ddc
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x47a6fd
push dword [ebp - 4]
mov ecx, edi
push eax
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
and eax, 0xfffff
push dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
or eax, 0x10300000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
or eax, 0x20500000
push dword [ebp - 8]
push dword [ebp + 0xc]
push eax
jmp 0x479d56
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov esi, dword [ebp - 4]
mov eax, esi
shl eax, 3
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
mov edx, esi
xor ecx, ecx
shl edx, 2
mov dword [ebp + ecx*4 - 0x50], eax
inc ecx
add eax, edx
cmp ecx, 8
jb 0x479b2d
xor edx, edx
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + edx*4 - 0x50]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
inc edx
cmp edx, 8
jb 0x479b3b
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 8]
je 0x479c09
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
add eax, 0xfffffff5
cmp eax, 2
mov eax, dword [ebp - 4]
ja 0x479bfa
push dword [ebp - 0x50]
and eax, 0xfffff
mov dword [ebp + 0x10], eax
or eax, 0x20500000
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x50]
or eax, 0x10100000
push dword [ebp - 0x4c]
mov ecx, edi
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
or eax, 0x20b00000
jmp 0x479c65
and eax, 0xfffff
or eax, 0x20900000
jmp 0x478de1
mov eax, dword [ebp - 4]
push dword [ebp - 0x50]
and eax, 0xfffff
mov dword [ebp + 0x10], eax
or eax, 0x20500000
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x50]
or eax, 0x10100000
push dword [ebp - 0x4c]
mov ecx, edi
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
or eax, 0x20300000
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x4c]
mov ecx, edi
push dword [ebp - 0x50]
push dword [ebp - 0x48]
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp - 0x44]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x48]
push dword [ebp - 0x18]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.0045679b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push 0x180
push ebx
push dword [ebp - 0x40]
or eax, 0x10300000
push dword [ebp - 0x3c]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp - 8]
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push 4
push ebx
push dword [ebp - 0x38]
or eax, 0x10400000
push dword [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x40]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
mov ecx, edi
jmp 0x478de5
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [eax + 0x14]
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.0045c603
jmp 0x479fab
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
mov esi, dword [esi + 0x28]
cmp esi, ebx
je 0x47ab6c
mov eax, dword [esi + 4]
cmp eax, 0xf
jne 0x479dcf
cmp dword [esi + 0x18], 2
jne 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shl eax, 2
push eax
mov eax, dword [esi + 0x20]
lea eax, [ecx + eax*4]
push eax
jmp 0x478b54
cmp eax, 1
jne 0x47ab6c
cmp ecx, ebx
je 0x4789d8
xor ecx, ecx
cmp dword [ebp - 4], ebx
mov eax, esi
jbe 0x4789db
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x20]
mov esi, dword [ebp - 8]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
mov dword [esi + ecx*4], edx
mov eax, dword [eax + 0xc]
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x479ded
jmp 0x4789d8
cmp dword [ebp - 0x14], ebx
je 0x47ab6c
cmp dword [ebp - 0xc], ebx
je 0x47ab6c
cmp ecx, ebx
je 0x4789d8
mov esi, dword [ebp - 4]
mov eax, esi
imul eax, eax, 3
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
mov ecx, esi
xor edx, edx
shl ecx, 2
mov dword [ebp + edx*4 - 0x3c], eax
inc edx
add eax, ecx
cmp edx, 3
jb 0x479e46
cmp esi, ebx
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0xc], ebx
jbe 0x479eb1
mov eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 0x10], eax
sub dword [ebp - 0x10], esi
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 0x10]
add eax, esi
push dword [eax + ecx]
mov ecx, edi
call fcn.0044f182
test eax, eax
jl 0x479eb1
cmp dword [ebp - 0x68], ebx
je 0x479e98
mov eax, dword [ebp - 0x10]
add eax, esi
jmp 0x479e9b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 4
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
add esi, 4
cmp eax, dword [ebp - 4]
jb 0x479e72
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jne 0x479edd
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x3c]
jmp 0x478efc
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x479ef8
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 8]
jmp 0x479f94
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x3c]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x38]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x34]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 8]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp + 8]
call fcn.00455481
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x3c]
and eax, 0xfffff
push dword [ebp - 0x38]
or eax, 0x20200000
push dword [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
push ecx
shl eax, 2
add eax, ecx
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.0045679b
mov esi, eax
cmp esi, ebx
jge 0x4789d8
jmp 0x47ab71
lea eax, [ebp + 0x10]
push eax
push dword [esi + 0x24]
mov ecx, edi
call fcn.0044ecd7
cmp eax, ebx
jne 0x479fe8
push dword [esi + 0x40]
push 0x406918
push 0xdb6
push esi
push edi
call fcn.0044f2af
add esp, 0x14
jmp 0x47ab6c
mov ecx, dword [ebp + 8]
inc dword [edi + 0xa0]
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ecx + 0x28]
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.004773ff
dec dword [edi + 0xa0]
jmp 0x479fab
push ebx
jmp 0x47a011
push 1
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.0046282c
jmp 0x479fab
cmp edx, dword [ebp - 4]
jae 0x47a03d
inc edx
cmp edx, dword [ebp - 4]
jae 0x47a038
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + 8]
mov eax, dword [eax + edx*4]
mov ecx, dword [ecx + 0x1c]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 8], ebx
je 0x47a01e
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
mov dword [ebp + 0x10], eax
jmp 0x478a59
push 0x4068f0
jmp 0x478c0a
push 0x4068c0
jmp 0x478c0a
or eax, ebx
je 0x47a0af
and ecx, 0x8000000
or ecx, ebx
je 0x47a0af
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x47a090
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + ecx*4]
or dword [ecx + 0x14], 0xffffffff
inc eax
cmp eax, dword [ebp - 4]
jb 0x47a077
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00453b66
mov esi, eax
cmp esi, ebx
jl 0x47ab6c
jmp 0x47a0d4
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
and eax, 0xfffff
push dword [ebp - 0x20]
or eax, 0x10000000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
cmp dword [ebp + 0xc], ebx
je 0x47ab44
mov eax, dword [ebp - 4]
shl eax, 2
push eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x47ab44
cmp dword [ebp - 0x24], ebx
jne 0x47a12f
cmp dword [ebp - 4], ebx
je 0x47a12f
cmp dword [ebp + 0x14], ebx
jne 0x47a12f
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00456076
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [edi + 0x164]
cmp dword [ebp - 4], eax
jbe 0x47a18d
cmp eax, ebx
je 0x47a143
lea esi, [eax + eax]
jmp 0x47a14a
push 0x10
pop esi
jmp 0x47a14a
add esi, esi
cmp esi, dword [ebp - 4]
jb 0x47a148
xor ecx, ecx
push 8
pop edx
lea eax, [esi + esi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
je 0x47a6fd
push dword [edi + 0x160]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp + 0x10]
pop ecx
mov dword [edi + 0x160], eax
mov dword [edi + 0x164], esi
mov eax, dword [edi + 0x160]
mov esi, dword [ebp - 4]
mov dword [ebp + 0x10], eax
lea eax, [eax + esi*8]
push ebx
push eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
mov ecx, edi
call fcn.00451ecd
mov eax, dword [edi + 8]
test dword [eax + 0x98], 0x200000
je 0x47a4cd
cmp dword [ebp - 4], ebx
push 0x42
pop ecx
mov esi, 0x5094f8
lea edi, [ebp - 0x180]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], ebx
jbe 0x47a374
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x47a207
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx + eax*4]
jmp 0x47a209
xor eax, eax
cmp eax, ebx
je 0x47a488
cmp dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
jne 0x47a361
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0x2a50]
cmp ecx, dword [eax + 8]
je 0x47a361
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, edx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x68], 0xb
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x30]
mov esi, dword [esi + 8]
and edx, 0x1ff
mov edi, ecx
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 8]
and edi, 0x80000000
cmp edx, dword [esi + 8]
jae 0x47a27e
mov esi, dword [esi + 0x18]
mov edx, dword [esi + edx*4]
jmp 0x47a280
xor edx, edx
mov dword [ebp - 0x74], edx
mov edx, dword [edx + 8]
and edx, 0x200
or edx, ebx
je 0x47a2b9
mov edx, ecx
and edx, 0x80000000
or edx, ebx
je 0x47a2b9
cmp dword [ebp + 0x14], ebx
jne 0x47a2b9
and ecx, 0x7fffffff
mov dword [eax + 4], ebx
or dword [eax + 4], 8
mov dword [eax], ecx
xor edi, edi
mov dword [ebp - 0x60], 0x49
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 8]
test word [ecx + 0x98], 0x400
je 0x47a30a
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 8]
and ecx, 0x10
or ecx, ebx
je 0x47a30a
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x74], ecx
mov ecx, esi
and ecx, 0x80000000
or ecx, ebx
je 0x47a30a
cmp dword [ebp + 0x14], ebx
jne 0x47a30a
and esi, 0x7fffffff
mov dword [eax + 4], ebx
or dword [eax + 4], 8
mov ecx, esi
mov dword [eax], ecx
xor edi, edi
mov dword [ebp - 0x60], 0x49
mov ecx, dword [ebp - 0x28]
mov esi, dword [ecx]
cmp edi, esi
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
jne 0x47a31e
cmp dword [ebp - 0x60], ecx
je 0x47a34f
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx - 8]
mov edx, dword [edx - 4]
and edx, dword [ebp - 0x34]
and ecx, esi
or ecx, edx
je 0x47a34f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
and edi, dword [ecx]
and edx, dword [ecx + 4]
or edi, edx
je 0x47a352
mov edx, dword [ebp - 0x10]
mov esi, dword [ecx + 0xc]
inc dword [ecx + 8]
mov dword [edx], esi
mov dword [edx + 4], ebx
jmp 0x47a352
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
dec dword [ebp - 0x68]
mov dword [ebp - 0x1c], ecx
jne 0x47a252
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x10], 8
cmp eax, dword [ebp - 4]
jb 0x47a1eb
lea eax, [ebp - 0x170]
mov dword [ebp - 0x24], ebx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
cmp esi, ebx
je 0x47a450
mov ecx, dword [ebp - 0x30]
lea eax, [esi + esi]
push eax
call fcn.0044db57
mov edx, eax
cmp edx, ebx
je 0x47a6fd
lea eax, [edx + esi*4]
mov dword [ebp - 0x60], eax
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x47a3e9
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*8]
cmp ecx, dword [ebp - 0x38]
jne 0x47a3e3
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + eax*8 + 4]
xor ecx, ecx
cmp edi, ecx
jne 0x47a3e3
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4]
add dword [ebp - 0x10], 4
mov dword [edi], ecx
inc eax
cmp eax, dword [ebp - 4]
jb 0x47a3bc
mov ecx, dword [ebp - 0x30]
push esi
push dword [ebp - 0x60]
call fcn.0044dc99
test eax, eax
jl 0x47ab6c
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 4]
mov ecx, dword [ebp - 0x30]
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push dword [ebp - 0x60]
mov eax, edi
xor eax, esi
and eax, 0xfffff
xor eax, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0x47a450
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp + 0x10]
cmp dword [edx + eax*8], edi
jne 0x47a44a
mov edx, dword [ecx]
mov esi, dword [ebp + 0xc]
mov dword [esi + eax*4], edx
add ecx, 4
inc eax
cmp eax, dword [ebp - 4]
jb 0x47a437
inc dword [ebp - 0x24]
add dword [ebp + 0x14], 0x18
cmp dword [ebp - 0x24], 0xb
jb 0x47a380
xor ecx, ecx
cmp dword [ebp - 4], ebx
jbe 0x47ab44
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + ecx*4]
mov edx, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jae 0x47a497
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
jmp 0x47a499
push 0x405324
push ebx
push ebx
push dword [ebp - 0x30]
jmp 0x47ab64
xor eax, eax
cmp eax, ebx
je 0x47a4c2
and dword [eax], 0x7fffffff
and dword [eax + 4], 0xfffffe00
mov edx, dword [esi + ecx*8]
mov edi, dword [esi + ecx*8 + 4]
and edx, 0x80000000
or dword [eax], edx
and edi, 0x1ff
or dword [eax + 4], edi
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x47a46f
jmp 0x47ab44
cmp esi, ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
jbe 0x47aaa8
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [edi + 8]
cmp edx, dword [eax + 0xc]
jae 0x47a502
mov esi, dword [eax + 0x1c]
mov edx, dword [esi + edx*4]
jmp 0x47a504
xor edx, edx
cmp edx, ebx
mov dword [ebp - 0x68], edx
je 0x47a64d
cmp dword [ebp - 0x24], ebx
jne 0x47a59a
mov eax, dword [eax + 0x2a50]
mov esi, dword [edx + 8]
cmp eax, esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x28], esi
je 0x47a54a
mov eax, dword [ebp - 0xc]
mov eax, dword [ecx + eax]
and eax, 1
or eax, ebx
je 0x47a54a
mov eax, dword [edx]
xor edx, edx
inc edx
and eax, edx
or eax, ebx
jne 0x47a54a
inc dword [ebp + 0x14]
mov dword [ecx], edx
jmp 0x47a59c
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x74], eax
je 0x47a59a
mov eax, dword [ebp - 0xc]
lea edx, [ecx + eax]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
and eax, 2
or eax, ebx
je 0x47a59a
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
and eax, 2
or eax, ebx
jne 0x47a59a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], ebx
jne 0x47a63f
mov eax, dword [eax + 0x14]
test dword [eax + 0x28], 0x400000
je 0x47a63f
mov eax, dword [ebp - 0x38]
and eax, 0xfffffffd
mov dword [edx], eax
mov eax, dword [edx + 4]
mov dword [edx + 4], eax
mov dword [ecx], ebx
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], ebx
add ecx, 8
cmp eax, dword [ebp - 4]
jb 0x47a4e9
cmp dword [ebp + 0x14], ebx
je 0x47a6e0
mov esi, dword [ebp + 0x14]
shl esi, 2
push esi
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
je 0x47a6fd
xor ecx, ecx
mov dword [ebp + ecx*4 - 0x40], eax
inc ecx
add eax, esi
cmp ecx, 4
jb 0x47a5d2
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp - 0x3c]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp - 0x38]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x68], eax
sub edx, ecx
mov esi, dword [ebp + 0x10]
cmp dword [esi + eax*8], 1
jne 0x47a662
cmp dword [esi + eax*8 + 4], ebx
jne 0x47a662
mov esi, dword [ebp + 0xc]
lea eax, [esi + eax*4]
mov esi, dword [eax]
mov dword [edx + ecx], esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x20], ebx
je 0x47a657
mov eax, dword [eax]
jmp 0x47a65a
inc dword [ebp - 0x10]
mov dword [ecx], 2
jmp 0x47a59c
push 0x405324
jmp 0x47ab61
or eax, 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
add ecx, 4
inc eax
cmp eax, dword [ebp - 4]
mov dword [ebp - 0x68], eax
jb 0x47a619
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp + 8]
call fcn.00455481
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x3c]
and eax, 0xfffff
push dword [ebp - 0x38]
or eax, 0x20200000
push dword [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + eax*8], 1
jne 0x47a6da
cmp dword [edx + eax*8 + 4], ebx
jne 0x47a6da
mov edx, dword [ecx]
mov esi, dword [ebp + 0xc]
mov dword [esi + eax*4], edx
add ecx, 4
inc eax
cmp eax, dword [ebp - 4]
jb 0x47a6c0
cmp dword [ebp - 0x10], ebx
je 0x47aaa8
mov esi, dword [ebp - 0x10]
mov eax, esi
imul eax, eax, 0xb
push eax
mov ecx, edi
call fcn.0044db57
cmp eax, ebx
jne 0x47a71b
push 0x4068a0
push ebx
push dword [ebp + 8]
push dword [ebp - 0x30]
call fcn.0044f2af
add esp, 0x10
mov esi, 0x8007000e
jmp 0x47ab71
mov edx, esi
xor ecx, ecx
shl edx, 2
mov dword [ebp + ecx*4 - 0x5c], eax
inc ecx
add eax, edx
cmp ecx, 0xb
jb 0x47a722
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x5c]
xor eax, eax
sub edx, ecx
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x24], edx
mov esi, dword [ebp + 0x10]
cmp dword [esi + eax*8], 2
jne 0x47a76f
cmp dword [esi + eax*8 + 4], ebx
jne 0x47a76f
mov esi, dword [ebp + 0xc]
lea eax, [esi + eax*4]
mov esi, dword [eax]
mov dword [edx + ecx], esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x20], ebx
je 0x47a764
mov eax, dword [eax]
jmp 0x47a767
or eax, 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
add ecx, 4
inc eax
cmp eax, dword [ebp - 4]
mov dword [ebp + 0x14], eax
jb 0x47a73e
xor edx, edx
inc edx
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp + edx*4 - 0x5c]
call fcn.0044dc99
mov esi, eax
cmp esi, ebx
jl 0x47ab71
inc edx
cmp edx, 0xa
jb 0x47a77b
mov eax, dword [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x5c]
and eax, 0xfffff
push dword [ebp - 0x58]
mov dword [ebp + 0x14], eax
or eax, 0x10200000
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push 0x14
push ebx
push dword [ebp - 0x58]
or eax, 0x10400000
push dword [ebp - 0x54]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push 0x18
push ebx
push dword [ebp - 0x54]
or eax, 0x10100000
push dword [ebp - 0x50]
mov ecx, edi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push 2
push dword [ebp - 0x58]
or eax, 0x20400000
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0x48]
push dword [ebp - 0x68]
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x48]
or eax, 0x20200000
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x40]
push dword [ebp - 0x68]
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x28]
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov eax, dword [ebp + 0x14]
push ebx
push ebx
push ebx
push 0x17
push dword [ebp - 0x3c]
or eax, 0x20500000
push dword [ebp - 0x44]
mov ecx, edi
push dword [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
push ebx
push ebx
push ebx
push 2
push dword [ebp - 0x38]
mov ecx, edi
push dword [ebp - 0x4c]
push dword [ebp - 0x34]
push dword [ebp - 0x74]
push dword [ebp + 8]
call fcn.0044fa2b
mov esi, eax
cmp esi, ebx
jl 0x47ab71
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + eax*8], 2
jne 0x47aa9b
cmp dword [ecx + eax*8 + 4], ebx
jne 0x47aa9b
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [edx + ecx]
mov ecx, dword [eax + ecx*4]
mov edx, dword [edx]
mov esi, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
and eax, 0x800
or eax, ebx
je 0x47a987
mov eax, dword [ebp - 0x38]
or eax, 0x7000
mov dword [ecx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ecx]
and eax, 0x1000
or eax, ebx
je 0x47aa83
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00493e5d
fld qword [ebp - 0x2c]
push ecx
push ecx
fstp qword [esp]
call sub.msvcrt.dll__finite
test eax, eax
pop ecx
pop ecx
je 0x47a9ea
fldz
push ecx
fcomp qword [ebp - 0x2c]
push ecx
fnstsw ax
fld qword [edi + 0x178]
test ah, 0x41
jp 0x47a9d9
fadd qword [ebp - 0x2c]
fstp qword [esp]
call sub.msvcrt.dll_floor
pop ecx
pop ecx
jmp 0x47a9ed
fsub qword [ebp - 0x2c]
fstp qword [esp]
call sub.msvcrt.dll_floor
pop ecx
fchs
pop ecx
jmp 0x47a9ed
fld qword [ebp - 0x2c]
push ecx
fstp qword [ebp - 0x78]
fld qword [ebp - 0x6c]
push ecx
fstp qword [esp]
call sub.msvcrt.dll__finite
test eax, eax
pop ecx
pop ecx
je 0x47aa37
fldz
push ecx
fcomp qword [ebp - 0x6c]
push ecx
fnstsw ax
fld qword [edi + 0x178]
test ah, 0x41
jp 0x47aa26
fadd qword [ebp - 0x6c]
fstp qword [esp]
call sub.msvcrt.dll_floor
pop ecx
pop ecx
jmp 0x47aa3a
fsub qword [ebp - 0x6c]
fstp qword [esp]
call sub.msvcrt.dll_floor
pop ecx
fchs
pop ecx
jmp 0x47aa3a
fld qword [ebp - 0x6c]
fstp qword [ebp - 0x64]
push 1
fld qword [ebp - 0x64]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fld qword [ebp - 0x78]
fstp qword [esp]
call fcn.00493c1e
fld qword [ebp - 0x64]
mov eax, dword [esi + 4]
fcomp qword [ebp - 0x78]
or dword [esi], 0x1000
mov dword [esi + 4], eax
fnstsw ax
test ah, 0x44
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
jp 0x47aa7d
or dword [esi], 0x800
jmp 0x47aa83
and dword [esi], 0xfffff7ff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
add dword [ebp + 8], 4
mov dword [ecx + edx*4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
inc eax
cmp eax, dword [ebp - 4]
mov dword [ebp + 0x14], eax
jb 0x47a93e
xor ecx, ecx
cmp dword [ebp - 4], ebx
mov dword [ebp + 8], ecx
jbe 0x47ab44
mov edx, dword [edi + 8]
mov edx, dword [edx + 0x1c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
lea ecx, [edx + ecx*8]
mov esi, dword [ecx + 4]
mov edx, dword [ecx]
or dword [eax], edx
and esi, 0xfffffedb
or dword [eax + 4], esi
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edx
and edx, 0x124
mov esi, ebx
and ecx, 0x124
or esi, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ebx
jne 0x47ab03
mov edx, ecx
mov dword [ebp - 0x28], edx
jmp 0x47ab06
mov esi, dword [ebp - 0x2c]
cmp dword [eax + 0x54], ebx
jne 0x47ab48
cmp edx, ecx
ja 0x47ab17
jb 0x47ab57
xor edx, edx
cmp esi, edx
jb 0x47ab54
mov dword [ebp - 0x60], ecx
xor esi, esi
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x60]
or dword [eax], esi
and edx, 0xfffffedb
mov dword [eax + 4], edx
or dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
inc ecx
cmp ecx, dword [ebp - 4]
mov dword [ebp + 8], ecx
jb 0x47aab6
xor esi, esi
jmp 0x47ab71
cmp edx, ecx
jb 0x47ab17
ja 0x47ab57
xor edx, edx
cmp esi, edx
jbe 0x47ab17
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x60], edx
jmp 0x47ab1c
push 0x406878
push ebx
push ebx
push edi
call fcn.0044f2af
add esp, 0x10
mov esi, 0x80004005
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
call fcn.0044dc5b
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x30]
call fcn.0044dc5b
push dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
call fcn.0044dc5b
mov eax, esi
jmp 0x47ab9b
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 0x10