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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 8]
push esi
mov esi, dword [ebx + 0x18]
push edi
mov edi, dword [esi + 0x6c]
mov dword [esp + 0x1c], eax
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea eax, [edi - 1]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebx
test edi, eax
jne 0x461866
mov eax, dword [esi]
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x34], eax
lea eax, [edi*8 + 4]
mov dword [esp + 0x60], ecx
mov edx, ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.0040a980
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x461863
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
call fcn.0040a6d0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
test eax, eax
je 0x461874
mov dword [eax + edi*4], 0xffffffff
mov esi, dword [ebx + 0x18]
or ecx, 0xffffffff
mov eax, ecx
sub eax, edi
mov edi, dword [esi + 0x6c]
mov dword [esp + 0x50], eax
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea eax, [edi - 1]
test edi, eax
jne 0x4618d4
mov eax, dword [esi]
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x34], eax
lea eax, [edi*8 + 4]
mov dword [esp + 0x60], ecx
mov edx, ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.0040a980
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4618ce
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
call fcn.0040a6d0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x70], eax
or ecx, 0xffffffff
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4618e2
mov dword [eax + edi*4], 0xffffffff
mov edx, dword [esp + 0x20]
sub ecx, edi
mov eax, dword [edx + 0x34]
mov esi, dword [edx + 0x30]
mov dword [esp + 0x64], ecx
movzx ecx, byte [edx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
mov dword [esp + 0x58], ecx
cmp ecx, 0x74
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], eax
je 0x461a10
cmp byte [ecx + 0x40], 0
mov edi, 1
jne 0x461a10
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x18], eax
mov edi, edi
mov eax, dword [edx]
cmp edi, dword [eax]
mov eax, dword [esp + 0x40]
jg 0x461a08
mov edx, dword [esi + 4]
xor ecx, ecx
test eax, eax
jle 0x461967
add edx, 0x14
mov ebx, eax
lea esp, [esp]
movzx eax, word [edx]
cmp eax, edi
je 0x46195f
inc ecx
add edx, 0x18
cmp ecx, ebx
jl 0x461950
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jne 0x4619e8
mov ecx, dword [esp + 0x1c]
mov edx, 0x31
call fcn.0040a900
mov esi, eax
test esi, esi
je 0x4619fc
push 0x31
push 0
push esi
call fcn.004a9520
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
or eax, 0xffffffff
add esp, 0xc
mov byte [esi], 0x84
mov word [esi + 0x22], ax
mov byte [esi + 0x30], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.0043b010
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
je 0x4619e4
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
mov word [eax + ecx + 0x14], di
mov eax, dword [esp + 0x40]
inc eax
add ecx, 0x18
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
jmp 0x4619e8
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
inc edi
cmp byte [edx + 0x40], 0
jne 0x461a0e
mov edx, dword [esp + 0x20]
jmp 0x461930
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
jmp 0x461a10
mov ecx, edx
lea edx, [eax*4]
call fcn.0040a900
mov dword [esp + 0x34], eax
test eax, eax
je 0x461a62
mov edi, dword [esp + 0x40]
mov edx, dword [esi + 4]
xor ecx, ecx
test edi, edi
jle 0x461a49
add edx, 0x14
mov ebx, eax
movzx eax, word [edx]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
lea edx, [edx + 0x18]
cmp ecx, edi
jl 0x461a36
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.00460040
add esp, 4
mov dword [esp + 0x60], eax
jmp 0x461a6e
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], 0
mov dword [edi + 0x30], esi
mov edx, esi
mov esi, dword [esp + 0x30]
push 0
mov ecx, dword [esi]
call fcn.0043a9e0
mov ecx, dword [esp + 0x50]
add esp, 4
cmp dword [esp + 0x58], 0x74
mov dword [ecx + 0x30], eax
jne 0x461a9e
mov dword [esp + 0x38], 0
jmp 0x461ca0
mov eax, dword [edi]
mov ecx, dword [eax]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x44], ecx
lea edx, [eax + 1]
inc eax
add eax, ecx
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
cmp dword [edi + 0x54], eax
jg 0x461b2e
mov eax, dword [edi + 0x54]
test eax, eax
je 0x461ad0
add eax, eax
jmp 0x461ad5
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x461b5e
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x461b0a
cmp esi, dword [eax + 0x110]
jae 0x461b0a
movzx ecx, word [eax + 0xf0]
jmp 0x461b16
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x18]
shr edx, 4
mov dword [edi + 0x54], edx
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x44]
lea esi, [edi*4 + 0x1d]
add esi, edi
lea eax, [esi - 1]
cmp eax, 0x7ffffefe
ja 0x461c19
cmp dword [0x4e5c08], 0
je 0x461bc4
mov eax, dword [0x4e7600]
test eax, eax
je 0x461b95
push eax
call dword [0x4e5c5c]
add esp, 4
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.0040a240
mov eax, dword [0x4e7600]
test eax, eax
je 0x461bba
push eax
call dword [0x4e5c64]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
jmp 0x461bd1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
jmp 0x461bd4
push esi
call dword [0x4e5c2c]
mov ecx, eax
mov dword [esp + 0x28], eax
add esp, 4
test ecx, ecx
je 0x461c1f
push esi
push 0
push ecx
call fcn.004a9520
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
lea eax, [edi + 6]
mov word [ecx + 6], di
lea eax, [ecx + eax*4]
mov dword [ecx + 0x10], eax
mov eax, 1
mov word [ecx + 8], ax
mov eax, dword [edx + 0x10]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [ecx + 4], al
mov dword [ecx + 0xc], edx
mov dword [ecx], 1
jmp 0x461c27
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x40], 1
test ecx, ecx
je 0x461ca0
xor esi, esi
test edi, edi
jle 0x461ca0
mov ebx, dword [esp + 0x24]
xor edi, edi
add ecx, 0x14
mov dword [esp + 0x10], ecx
mov edi, edi
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x34]
test edx, edx
je 0x461c62
mov ecx, dword [esp + 0x30]
push esi
call fcn.0045fff0
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x461c81
jmp 0x461c64
xor eax, eax
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
cmp esi, dword [edx]
jge 0x461c81
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [edx + edi]
call fcn.004398a0
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
inc esi
mov byte [esi + eax - 1], 0
add ecx, 4
add edi, 0x18
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x44]
jl 0x461c40
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov dword [esi + 0x34], 0
mov dword [eax + 0x38], 0
push str.ORDER
push dword [esi + 0x30]
mov edx, esi
mov ecx, edi
call fcn.00438e60
mov eax, dword [esp + 0x54]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x461cec
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, edi
call fcn.00438e60
add esp, 8
push dword [esp + 0x50]
mov edx, esi
mov ecx, edi
call fcn.0045fc10
add esp, 4
cmp dword [esi + 8], 0
je 0x461ef5
cmp dword [esp + 0x58], 0x74
jne 0x461ef5
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x3c], eax
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x461d31
lea ecx, [eax + 1]
mov dword [esp + 0x18], ecx
jmp 0x461d38
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x44], eax
cmp dword [edi + 0x54], eax
jg 0x461dac
mov eax, dword [edi + 0x54]
test eax, eax
je 0x461d52
add eax, eax
jmp 0x461d57
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x461de0
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x461d8c
cmp esi, dword [eax + 0x110]
jae 0x461d8c
movzx ecx, word [eax + 0xf0]
jmp 0x461d98
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x44]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x54], eax
jg 0x461e54
mov eax, dword [edi + 0x54]
test eax, eax
je 0x461dfa
add eax, eax
jmp 0x461dff
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x461e88
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x461e34
cmp esi, dword [eax + 0x110]
jae 0x461e34
movzx ecx, word [eax + 0xf0]
jmp 0x461e40
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x18]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x461f93
test dword [esi + 4], 0x4000
mov edi, dword [esp + 0x1c]
jne 0x461f17
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.0043a520
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.0043a520
test dword [esi + 4], 0x10000
je 0x461ecb
mov edx, dword [esi + 8]
mov ecx, edi
call fcn.0040a6d0
test dword [esi + 4], 0x800
je 0x461f07
mov edi, dword [esi + 0x14]
test edi, edi
je 0x461f13
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.0045c5e0
mov edx, edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0040a6d0
jmp 0x461f17
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
jmp 0x461e8c
mov edx, dword [esi + 0x14]
mov ecx, edi
call fcn.0043b1e0
jmp 0x461f17
mov edi, dword [esp + 0x1c]
test dword [esi + 4], 0x8000
jne 0x461f93
test edi, edi
je 0x461f8a
cmp dword [edi + 0x200], 0
je 0x461f64
cmp esi, dword [edi + 0x10c]
jb 0x461f4e
cmp esi, dword [edi + 0x110]
jae 0x461f4e
movzx ecx, word [edi + 0xf0]
mov eax, dword [edi + 0x200]
add dword [eax], ecx
jmp 0x461f93
push esi
call dword [0x4e5c38]
mov ecx, eax
mov eax, dword [edi + 0x200]
add esp, 4
add dword [eax], ecx
jmp 0x461f93
cmp esi, dword [edi + 0x10c]
jb 0x461f8a
cmp esi, dword [edi + 0x110]
jae 0x461f8a
mov eax, dword [edi + 0x108]
mov dword [esi], eax
dec dword [edi + 0xf4]
mov dword [edi + 0x108], esi
jmp 0x461f93
push esi
call fcn.0040a630
add esp, 4
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x40]
mov dword [eax + 0x3c], 0
test esi, esi
je 0x462093
test dword [esi + 4], 0x4000
mov edi, dword [esp + 0x1c]
jne 0x462017
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.0043a520
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.0043a520
test dword [esi + 4], 0x10000
je 0x461fdd
mov edx, dword [esi + 8]
mov ecx, edi
call fcn.0040a6d0
test dword [esi + 4], 0x800
je 0x462007
mov edi, dword [esi + 0x14]
test edi, edi
je 0x462013
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.0045c5e0
mov edx, edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0040a6d0
jmp 0x462017
mov edx, dword [esi + 0x14]
mov ecx, edi
call fcn.0043b1e0
jmp 0x462017
mov edi, dword [esp + 0x1c]
test dword [esi + 4], 0x8000
jne 0x462093
test edi, edi
je 0x46208a
cmp dword [edi + 0x200], 0
je 0x462064
cmp esi, dword [edi + 0x10c]
jb 0x46204e
cmp esi, dword [edi + 0x110]
jae 0x46204e
movzx ecx, word [edi + 0xf0]
mov eax, dword [edi + 0x200]
add dword [eax], ecx
jmp 0x462093
push esi
call dword [0x4e5c38]
mov ecx, eax
mov eax, dword [edi + 0x200]
add esp, 4
add dword [eax], ecx
jmp 0x462093
cmp esi, dword [edi + 0x10c]
jb 0x46208a
cmp esi, dword [edi + 0x110]
jae 0x46208a
mov eax, dword [edi + 0x108]
mov dword [esi], eax
dec dword [edi + 0xf4]
mov dword [edi + 0x108], esi
jmp 0x462093
push esi
call fcn.0040a630
add esp, 4
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov word [esp + 0x84], 0xd
mov dword [eax + 0x40], 0
inc dword [esi + 0x48]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x88], ecx
lea edx, [ecx + 1]
mov dword [esp + 0x8c], 0
lea eax, [edx + 2]
mov dword [esi + 0x48], eax
mov dword [esp + 0x90], 0
mov word [esp + 0x70], 0xd
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x54], esi
jg 0x4621f1
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x462121
add eax, eax
jmp 0x462126
mov eax, 0x33
mov edi, dword [ecx]
mov esi, dword [ebx + 4]
lea edx, [eax + eax*4]
xor ecx, ecx
shl edx, 2
cmp byte [edi + 0x40], cl
jne 0x4621a8
test esi, esi
jne 0x462147
mov ecx, edi
call fcn.0040a900
mov esi, eax
jmp 0x4621aa
cmp esi, dword [edi + 0x10c]
jb 0x462194
cmp esi, dword [edi + 0x110]
jae 0x462194
movzx eax, word [edi + 0xf0]
cmp edx, eax
jle 0x4621aa
mov ecx, edi
call fcn.0040a900
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4621a8
movzx eax, word [edi + 0xf0]
push eax
push esi
push ecx
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov ecx, dword [esp + 0x18]
jmp 0x4621a8
push edx
push esi
call fcn.0040a8a0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4621a8
mov byte [edi + 0x40], 1
mov esi, ecx
test esi, esi
je 0x46226f
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x4621d1
cmp esi, dword [eax + 0x110]
jae 0x4621d1
movzx ecx, word [eax + 0xf0]
jmp 0x4621dd
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
lea edx, [esi + 1]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x1d4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x84]
push eax
call fcn.00465e40
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x54], eax
jg 0x462345
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x462279
add eax, eax
jmp 0x46227e
mov dword [esp + 0x28], 1
jmp 0x462224
mov eax, 0x33
mov edi, dword [ecx]
mov esi, dword [ebx + 4]
lea edx, [eax + eax*4]
xor ecx, ecx
shl edx, 2
cmp byte [edi + 0x40], cl
jne 0x462300
test esi, esi
jne 0x46229f
mov ecx, edi
call fcn.0040a900
mov esi, eax
jmp 0x462302
cmp esi, dword [edi + 0x10c]
jb 0x4622ec
cmp esi, dword [edi + 0x110]
jae 0x4622ec
movzx eax, word [edi + 0xf0]
cmp edx, eax
jle 0x462302
mov ecx, edi
call fcn.0040a900
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x462300
movzx eax, word [edi + 0xf0]
push eax
push esi
push ecx
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov ecx, dword [esp + 0x14]
jmp 0x462300
push edx
push esi
call fcn.0040a8a0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x462300
mov byte [edi + 0x40], 1
mov esi, ecx
test esi, esi
je 0x462379
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462325
cmp esi, dword [eax + 0x110]
jae 0x462325
movzx ecx, word [eax + 0xf0]
jmp 0x462331
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x28]
cmp edx, eax
jbe 0x46238e
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ecx
cmp dword [ecx + 0x54], esi
jg 0x46248a
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4623ba
add eax, eax
jmp 0x4623bf
mov eax, 0x33
mov edi, dword [ecx]
mov esi, dword [ebx + 4]
lea edx, [eax + eax*4]
xor ecx, ecx
shl edx, 2
cmp byte [edi + 0x40], cl
jne 0x462441
test esi, esi
jne 0x4623e0
mov ecx, edi
call fcn.0040a900
mov esi, eax
jmp 0x462443
cmp esi, dword [edi + 0x10c]
jb 0x46242d
cmp esi, dword [edi + 0x110]
jae 0x46242d
movzx eax, word [edi + 0xf0]
cmp edx, eax
jle 0x462443
mov ecx, edi
call fcn.0040a900
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x462441
movzx eax, word [edi + 0xf0]
push eax
push esi
push ecx
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov ecx, dword [esp + 0x14]
jmp 0x462441
push edx
push esi
call fcn.0040a8a0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x462441
mov byte [edi + 0x40], 1
mov esi, ecx
test esi, esi
je 0x462522
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x46246a
cmp esi, dword [eax + 0x110]
jae 0x46246a
movzx ecx, word [eax + 0xf0]
jmp 0x462476
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
lea edx, [esi + 1]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], 0
mov eax, dword [eax + 0x1d4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x70]
mov edx, ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.00465e40
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
cmp dword [ecx + 0x54], eax
jg 0x4625f8
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x46252c
add eax, eax
jmp 0x462531
mov dword [esp + 0x18], 1
jmp 0x4624bd
mov eax, 0x33
mov edi, dword [ecx]
mov esi, dword [ebx + 4]
lea edx, [eax + eax*4]
xor ecx, ecx
shl edx, 2
cmp byte [edi + 0x40], cl
jne 0x4625b3
test esi, esi
jne 0x462552
mov ecx, edi
call fcn.0040a900
mov esi, eax
jmp 0x4625b5
cmp esi, dword [edi + 0x10c]
jb 0x46259f
cmp esi, dword [edi + 0x110]
jae 0x46259f
movzx eax, word [edi + 0xf0]
cmp edx, eax
jle 0x4625b5
mov ecx, edi
call fcn.0040a900
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4625b3
movzx eax, word [edi + 0xf0]
push eax
push esi
push ecx
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov ecx, dword [esp + 0x14]
jmp 0x4625b3
push edx
push esi
call fcn.0040a8a0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4625b3
mov byte [edi + 0x40], 1
mov esi, ecx
test esi, esi
je 0x46262c
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x4625d8
cmp esi, dword [eax + 0x110]
jae 0x4625d8
movzx ecx, word [eax + 0xf0]
jmp 0x4625e4
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x50]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
push esi
push edi
inc eax
push eax
push dword [ebp + 8]
lea eax, [esp + 0x98]
push eax
call fcn.00461220
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
add esp, 0x18
cmp eax, 0x74
je 0x46266d
cmp eax, 0x73
jne 0x462696
push dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
push esi
push edi
push dword [esp + 0x50]
lea eax, [esp + 0x80]
push dword [ebp + 8]
push eax
call fcn.00461220
add esp, 0x18
mov dword [esp + 0x54], eax
test esi, esi
je 0x4626a7
dec dword [esi]
jne 0x4626a7
push esi
call fcn.0040a630
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, 0x75
je 0x4628eb
cmp eax, 0x76
je 0x4628eb
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x24], edx
cmp dword [edi + 0x54], edx
jg 0x462735
mov eax, dword [edi + 0x54]
test eax, eax
je 0x4626d7
add eax, eax
jmp 0x4626dc
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x462783
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462715
cmp esi, dword [eax + 0x110]
jae 0x462715
movzx ecx, word [eax + 0xf0]
jmp 0x462721
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov edx, dword [esp + 0x24]
mov dword [ebx + 4], esi
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x28], edx
cmp dword [edi + 0x54], edx
jg 0x4627eb
mov eax, dword [edi + 0x54]
test eax, eax
je 0x46278d
add eax, eax
jmp 0x462792
mov dword [esp + 0x24], 1
jmp 0x462769
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x462839
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x4627cb
cmp esi, dword [eax + 0x110]
jae 0x4627cb
movzx ecx, word [eax + 0xf0]
jmp 0x4627d7
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 4], esi
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x54], eax
jg 0x46289d
mov eax, dword [edi + 0x54]
test eax, eax
je 0x462843
add eax, eax
jmp 0x462848
mov dword [esp + 0x28], 1
jmp 0x46281f
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x4628d1
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x46287d
cmp esi, dword [eax + 0x110]
jae 0x46287d
movzx ecx, word [eax + 0xf0]
jmp 0x462889
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x18]
add dword [edx + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edx + 0x1c], eax
mov eax, dword [esp + 0x24]
jmp 0x462901
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
mov eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x58], 0x76
jne 0x462931
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
cmp dword [edx + 0x1c], ecx
jb 0x462b38
ja 0x462926
cmp dword [edx + 0x18], eax
jbe 0x462b38
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
jmp 0x462b38
mov esi, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x38], esi
cmp dword [edi + 0x54], esi
jg 0x4629a9
mov eax, dword [edi + 0x54]
test eax, eax
je 0x46294b
add eax, eax
jmp 0x462950
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x4629f8
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462989
cmp esi, dword [eax + 0x110]
jae 0x462989
movzx ecx, word [eax + 0xf0]
jmp 0x462995
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x38]
inc dword [ebx + 0x20]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x54], eax
jg 0x462a5c
mov eax, dword [edi + 0x54]
test eax, eax
je 0x462a02
add eax, eax
jmp 0x462a07
mov dword [esp + 0x38], 1
jmp 0x4629de
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x462a90
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462a3c
cmp esi, dword [eax + 0x110]
jae 0x462a3c
movzx ecx, word [eax + 0xf0]
jmp 0x462a48
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x54], eax
jg 0x462b04
mov eax, dword [edi + 0x54]
test eax, eax
je 0x462aaa
add eax, eax
jmp 0x462aaf
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x462b38
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462ae4
cmp esi, dword [eax + 0x110]
jae 0x462ae4
movzx ecx, word [eax + 0xf0]
jmp 0x462af0
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x14]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], edx
cmp dword [edx + 0x54], esi
jg 0x462c28
mov eax, dword [edx + 0x54]
test eax, eax
je 0x462b5a
add eax, eax
jmp 0x462b5f
mov eax, 0x33
mov edi, dword [edx]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
cmp byte [edi + 0x40], al
jne 0x462bdf
test esi, esi
jne 0x462b80
mov edx, ecx
mov ecx, edi
call fcn.0040a900
jmp 0x462bdf
cmp esi, dword [edi + 0x10c]
jb 0x462bcd
cmp esi, dword [edi + 0x110]
jae 0x462bcd
movzx eax, word [edi + 0xf0]
cmp ecx, eax
jle 0x462be1
mov edx, ecx
mov ecx, edi
call fcn.0040a900
mov dword [esp + 0x14], eax
test eax, eax
je 0x462bdf
movzx ecx, word [edi + 0xf0]
push ecx
push esi
push eax
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov eax, dword [esp + 0x14]
jmp 0x462bdf
push ecx
push esi
call fcn.0040a8a0
add esp, 8
test eax, eax
jne 0x462bdf
mov byte [edi + 0x40], 1
mov esi, eax
test esi, esi
je 0x462c7f
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462c08
cmp esi, dword [eax + 0x110]
jae 0x462c08
movzx ecx, word [eax + 0xf0]
jmp 0x462c14
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x3c]
inc dword [ebx + 0x20]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [edx + 0x54], eax
jg 0x462d53
mov eax, dword [edx + 0x54]
test eax, eax
je 0x462c89
add eax, eax
jmp 0x462c8e
mov dword [esp + 0x3c], 1
jmp 0x462c5d
mov eax, 0x33
mov edi, dword [edx]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
cmp byte [edi + 0x40], al
jne 0x462d0e
test esi, esi
jne 0x462caf
mov edx, ecx
mov ecx, edi
call fcn.0040a900
jmp 0x462d0e
cmp esi, dword [edi + 0x10c]
jb 0x462cfc
cmp esi, dword [edi + 0x110]
jae 0x462cfc
movzx eax, word [edi + 0xf0]
cmp ecx, eax
jle 0x462d10
mov edx, ecx
mov ecx, edi
call fcn.0040a900
mov dword [esp + 0x2c], eax
test eax, eax
je 0x462d0e
movzx ecx, word [edi + 0xf0]
push ecx
push esi
push eax
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov eax, dword [esp + 0x2c]
jmp 0x462d0e
push ecx
push esi
call fcn.0040a8a0
add esp, 8
test eax, eax
jne 0x462d0e
mov byte [edi + 0x40], 1
mov esi, eax
test esi, esi
je 0x462d87
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462d33
cmp esi, dword [eax + 0x110]
jae 0x462d33
movzx ecx, word [eax + 0xf0]
jmp 0x462d3f
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [edx + 0x54], eax
jg 0x462e73
mov eax, dword [edx + 0x54]
test eax, eax
je 0x462da9
add eax, eax
jmp 0x462dae
mov eax, 0x33
mov edi, dword [edx]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
cmp byte [edi + 0x40], al
jne 0x462e2e
test esi, esi
jne 0x462dcf
mov edx, ecx
mov ecx, edi
call fcn.0040a900
jmp 0x462e2e
cmp esi, dword [edi + 0x10c]
jb 0x462e1c
cmp esi, dword [edi + 0x110]
jae 0x462e1c
movzx eax, word [edi + 0xf0]
cmp ecx, eax
jle 0x462e30
mov edx, ecx
mov ecx, edi
call fcn.0040a900
mov dword [esp + 0x2c], eax
test eax, eax
je 0x462e2e
movzx ecx, word [edi + 0xf0]
push ecx
push esi
push eax
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov eax, dword [esp + 0x2c]
jmp 0x462e2e
push ecx
push esi
call fcn.0040a8a0
add esp, 8
test eax, eax
jne 0x462e2e
mov byte [edi + 0x40], 1
mov esi, eax
test esi, esi
je 0x462ea7
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462e53
cmp esi, dword [eax + 0x110]
jae 0x462e53
movzx ecx, word [eax + 0xf0]
jmp 0x462e5f
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x10]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x58]
cmp eax, 0x74
jne 0x462ebd
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
jmp 0x463032
cmp eax, 0x76
jne 0x462ed4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x3c], eax
jmp 0x463032
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x10], edx
cmp dword [edi + 0x54], edx
jg 0x462f4c
mov eax, dword [edi + 0x54]
test eax, eax
je 0x462eee
add eax, eax
jmp 0x462ef3
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x462f9a
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462f2c
cmp esi, dword [eax + 0x110]
jae 0x462f2c
movzx ecx, word [eax + 0xf0]
jmp 0x462f38
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [edi + 0x54], edx
mov edx, dword [esp + 0x10]
mov dword [ebx + 4], esi
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x20]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x54], eax
jg 0x462ffe
mov eax, dword [edi + 0x54]
test eax, eax
je 0x462fa4
add eax, eax
jmp 0x462fa9
mov dword [esp + 0x10], 1
jmp 0x462f80
mov eax, 0x33
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call fcn.0040a980
mov esi, eax
add esp, 4
test esi, esi
je 0x463032
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x462fde
cmp esi, dword [eax + 0x110]
jae 0x462fde
movzx ecx, word [eax + 0xf0]
jmp 0x462fea
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x2c]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x58]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x24], eax
cmp ecx, 0x74
je 0x46304b
cmp ecx, 0x73
jne 0x463164
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x14], edx
cmp dword [edx + 0x54], eax
jg 0x463130
mov eax, dword [edx + 0x54]
test eax, eax
je 0x463066
add eax, eax
jmp 0x46306b
mov eax, 0x33
mov edi, dword [edx]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
cmp byte [edi + 0x40], al
jne 0x4630eb
test esi, esi
jne 0x46308c
mov edx, ecx
mov ecx, edi
call fcn.0040a900
jmp 0x4630eb
cmp esi, dword [edi + 0x10c]
jb 0x4630d9
cmp esi, dword [edi + 0x110]
jae 0x4630d9
movzx eax, word [edi + 0xf0]
cmp ecx, eax
jle 0x4630ed
mov edx, ecx
mov ecx, edi
call fcn.0040a900
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4630eb
movzx ecx, word [edi + 0xf0]
push ecx
push esi
push eax
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov eax, dword [esp + 0x2c]
jmp 0x4630eb
push ecx
push esi
call fcn.0040a8a0
add esp, 8
test eax, eax
jne 0x4630eb
mov byte [edi + 0x40], 1
mov esi, eax
test esi, esi
je 0x463164
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x463110
cmp esi, dword [eax + 0x110]
jae 0x463110
movzx ecx, word [eax + 0xf0]
jmp 0x46311c
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x24]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], edx
cmp dword [edx + 0x54], eax
jg 0x463250
mov eax, dword [edx + 0x54]
test eax, eax
je 0x463186
add eax, eax
jmp 0x46318b
mov eax, 0x33
mov edi, dword [edx]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
cmp byte [edi + 0x40], al
jne 0x46320b
test esi, esi
jne 0x4631ac
mov edx, ecx
mov ecx, edi
call fcn.0040a900
jmp 0x46320b
cmp esi, dword [edi + 0x10c]
jb 0x4631f9
cmp esi, dword [edi + 0x110]
jae 0x4631f9
movzx eax, word [edi + 0xf0]
cmp ecx, eax
jle 0x46320d
mov edx, ecx
mov ecx, edi
call fcn.0040a900
mov dword [esp + 0x2c], eax
test eax, eax
je 0x46320b
movzx ecx, word [edi + 0xf0]
push ecx
push esi
push eax
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov eax, dword [esp + 0x2c]
jmp 0x46320b
push ecx
push esi
call fcn.0040a8a0
add esp, 8
test eax, eax
jne 0x46320b
mov byte [edi + 0x40], 1
mov esi, eax
test esi, esi
je 0x463284
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x463230
cmp esi, dword [eax + 0x110]
jae 0x463230
movzx ecx, word [eax + 0xf0]
jmp 0x46323c
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], edx
cmp dword [edx + 0x54], eax
jg 0x463370
mov eax, dword [edx + 0x54]
test eax, eax
je 0x4632a6
add eax, eax
jmp 0x4632ab
mov eax, 0x33
mov edi, dword [edx]
mov esi, dword [ebx + 4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
cmp byte [edi + 0x40], al
jne 0x46332b
test esi, esi
jne 0x4632cc
mov edx, ecx
mov ecx, edi
call fcn.0040a900
jmp 0x46332b
cmp esi, dword [edi + 0x10c]
jb 0x463319
cmp esi, dword [edi + 0x110]
jae 0x463319
movzx eax, word [edi + 0xf0]
cmp ecx, eax
jle 0x46332d
mov edx, ecx
mov ecx, edi
call fcn.0040a900
mov dword [esp + 0x2c], eax
test eax, eax
je 0x46332b
movzx ecx, word [edi + 0xf0]
push ecx
push esi
push eax
call fcn.004a5f50
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov eax, dword [esp + 0x2c]
jmp 0x46332b
push ecx
push esi
call fcn.0040a8a0
add esp, 8
test eax, eax
jne 0x46332b
mov byte [edi + 0x40], 1
mov esi, eax
test esi, esi
je 0x4633a6
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
cmp esi, dword [eax + 0x10c]
jb 0x463350
cmp esi, dword [eax + 0x110]
jae 0x463350
movzx ecx, word [eax + 0xf0]
jmp 0x46335c
push esi
call dword [0x4e5c38]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x54]
shr edx, 4
mov dword [edi + 0x54], edx
mov dword [ebx + 4], esi
inc dword [ebx + 0x20]
mov edi, dword [esp + 0x64]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4633aa
mov edi, dword [esp + 0x64]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x18]
cmp edx, eax
jbe 0x4633bf
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4633df
mov ecx, ebx
call fcn.00427ca0
test eax, eax
jne 0x463413
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x463429
mov ecx, ebx
call fcn.00427ca0
test eax, eax
jne 0x46345d
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x18]
or ecx, 0xffffffff
sub ecx, edi
js 0x463474
mov edx, dword [esi + 0x70]
test edx, edx
je 0x463474
mov eax, dword [ebx + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x463498
mov ecx, ebx
call fcn.00427ca0
test eax, eax
je 0x463498
mov esi, 1
jmp 0x4634cc
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
test edx, edx
je 0x463519
cmp byte [ecx + 0x40], 0
jne 0x463519
test esi, esi
jns 0x4634e3
mov esi, dword [ebx + 0x20]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.004283f0
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [esi + 0x10], 0
test eax, eax
jne 0x463510
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x46352a
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x46352a
push dword [esp + 0x34]
mov edx, 0xfffffff1
call fcn.004283f0
add esp, 4
mov eax, dword [esp + 0x8c]
mov esi, dword [ebx + 0x20]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x463556
mov ecx, ebx
call fcn.00427ca0
test eax, eax
je 0x463556
mov esi, 1
jmp 0x463586
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x29
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffa
push dword [esp + 0x64]
mov edx, esi
mov ecx, ebx
call fcn.00428530
mov ecx, dword [ebx + 4]
add esp, 8
test ecx, ecx
je 0x4635aa
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4635c0
mov ecx, ebx
call fcn.00427ca0
test eax, eax
jne 0x4635f4
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
or esi, 0xffffffff
sub esi, dword [esp + 0x50]
js 0x46360d
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x46360d
mov eax, dword [ebx + 0x20]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 9
jne 0x463649
mov eax, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [eax + 0x34]
test eax, eax
je 0x463639
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x463630
push dword [ecx]
mov ecx, dword [esp + 0x34]
xor edx, edx
call fcn.0045f380
add esp, 4
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x34]
test esi, esi
je 0x46366a
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.0045c5e0
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.0040a6d0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push 0
push dword [esp + 0x70]
mov dword [edi + 0x34], eax
push dword [esp + 0x70]
mov dword [eax + 0x38], edi
movzx edx, byte [edi + 4]
call fcn.0045e720
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret