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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov esi, dword [edi + 8]
mov byte [esp + 0x15], al
mov eax, dword [edi]
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], esi
test esi, esi
jne 0x464d16
call fcn.0046eff0
mov edx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], esi
test byte [edx + 0x2a], 0x20
movsx eax, word [edx + 0x22]
mov dword [esp + 0x48], eax
jne 0x464d36
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], 1
jmp 0x464d61
mov edx, dword [edx + 8]
mov dword [esp + 0x24], edx
test edx, edx
je 0x464d59
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x464d51
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x464d41
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], edx
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x464f90
mov edi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x44], edx
nop dword [eax]
movsx eax, word [edi + 0x20]
cmp ecx, eax
je 0x464f74
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x464d9d
cmp dword [eax + ecx*4], 0
jl 0x464f74
mov eax, dword [edi + 4]
movzx edi, byte [edx + eax + 0xc]
test edi, edi
je 0x464f70
mov cl, byte [ebp + 0x20]
cmp cl, 0xa
je 0x464de1
movzx edi, cl
cmp edi, 5
jne 0x464dca
cmp dword [edx + eax + 4], 0
mov eax, 2
cmove edi, eax
mov ecx, dword [esp + 0x34]
lea eax, [edi - 1]
cmp eax, 3
ja case.default.0x464dda
jmp dword [eax*4 + 0x466224]
cmp edi, 0xa
jne 0x464db8
mov edi, 2
jmp 0x464dca
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1a0]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
push dword [edx + eax]
push dword [ecx]
push str._s._s
push dword [esp + 0x58]
call fcn.0041a4a0
mov ecx, dword [ebp + 0x14]
mov edx, 0x48
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x4c]
inc ecx
add eax, ecx
mov ecx, esi
push eax
push edi
push 0x513
call fcn.00437b60
mov eax, dword [esi]
add esp, 0x24
mov edi, dword [esp + 0x1c]
cmp byte [eax + 0x45], 0
jne 0x464e57
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 1
mov ecx, dword [esp + 0x34]
jmp 0x464f74
mov eax, dword [ebp + 0x14]
inc ecx
push dword [ebp + 0x24]
add eax, ecx
mov edx, 0x22
push eax
mov ecx, esi
call fcn.00437870
add esp, 8
jmp 0x464f6c
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x18]
inc edx
mov edi, dword [esi + 0x20]
add edx, ecx
mov dword [esp + 0x58], edx
cmp dword [eax + 0x58], edi
jg 0x464eaf
push 0
push 0
push edx
mov edx, 0x23
mov ecx, esi
call fcn.004376e0
mov edx, dword [esp + 0x64]
add esp, 0xc
mov edi, eax
jmp 0x464ee2
lea eax, [edi + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x23
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 eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 4]
test eax, eax
je 0x464f0c
cmp byte [eax], 0x9d
jne 0x464f0c
push edx
push dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, 0x52
mov ecx, dword [eax + 8]
jmp 0x464f35
mov ecx, dword [esp + 0x18]
push edx
mov edx, eax
call fcn.0044f2b0
mov edx, dword [esp + 0x5c]
add esp, 4
cmp eax, edx
je 0x464f3d
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x464f3d
push edx
push eax
mov edx, 0x53
call fcn.00437870
add esp, 8
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [esi + 0x20]
test edi, edi
jns 0x464f51
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x464f60
mov eax, 0x520b44
jmp 0x464f69
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
add dword [esp + 0x44], 0x10
inc ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x48]
jl 0x464d80
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x48], edx
test edx, edx
je 0x46525b
mov eax, dword [esp + 0x4c]
test dword [eax + 0x18], 0x2000
jne 0x46525b
mov eax, dword [ebp + 0x14]
inc eax
mov dword [edi + 0x64], eax
mov al, byte [ebp + 0x20]
cmp al, 0xa
je 0x464fcb
movzx eax, al
mov dword [esp + 0x44], eax
jmp 0x464fd3
mov dword [esp + 0x44], 2
xor edi, edi
mov dword [esp + 0x3c], edi
cmp dword [edx], edi
jle 0x46525b
xor ecx, ecx
mov dword [esp + 0x34], ecx
nop word [eax + eax]
cmp dword [ebp + 0x2c], 0
mov eax, dword [edx + 4]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x58], ecx
je 0x465065
mov edi, dword [ebp + 0x2c]
xorps xmm0, xmm0
xor al, al
mov dword [esp + 0x88], 0
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x84], al
mov dword [esp + 0x74], 0x464c80
test ecx, ecx
je 0x465055
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.00449190
mov al, byte [esp + 0x84]
mov edx, dword [esp + 0x48]
cmp byte [ebp + 0x1c], 0
jne 0x46505d
and al, 0xfd
test al, al
je 0x465243
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x64], ecx
mov edi, dword [ecx + 0x74]
lea eax, [edi + 1]
mov dword [ecx + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x46509a
mov edx, dword [ecx + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x6c]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4650a8
mov dword [eax + edi*4], 0xffffffff
mov edx, dword [esp + 0x58]
not edi
mov ecx, dword [esp + 0x18]
push 0x10
push edi
mov dword [esp + 0x38], edi
call fcn.004508e0
mov edx, dword [esp + 0x4c]
add esp, 8
cmp edx, 4
jne 0x46512b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4650f0
push 0
push dword [ebp + 0x24]
mov edx, 0xd
mov ecx, esi
push 0
call fcn.004376e0
add esp, 0xc
jmp 0x46521c
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
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
jmp 0x46521c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 4]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x46514c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
cmp edx, 5
mov eax, 2
cmove edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], edx
mov edi, dword [eax + 8]
test edi, edi
jne 0x465177
mov ecx, eax
call fcn.0046eff0
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp edx, 2
jne 0x465191
mov ecx, dword [eax + 0x1a0]
mov edx, eax
test ecx, ecx
cmovne edx, ecx
mov byte [edx + 0x15], 1
mov edx, dword [esp + 0x44]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x64], ecx
cmp dword [eax + 0x58], ecx
jg 0x4651b9
push 0
push edx
push 0x113
mov edx, 0x49
mov ecx, edi
call fcn.004376e0
add esp, 0xc
jmp 0x4651f0
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x113
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 + 0x64]
push 0
push dword [esp + 0x5c]
mov edx, eax
mov ecx, edi
call fcn.004384c0
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x45], 0
jne 0x465218
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov byte [eax + ecx*4 - 0x11], 3
mov edi, dword [esp + 0x30]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x465234
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x3c]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
inc edi
add ecx, 0x18
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ecx
cmp edi, dword [edx]
jl 0x464ff0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x6c], 0x25
je 0x465650
cmp dword [esp + 0x24], 0
jne 0x465650
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x64], ecx
mov edi, dword [ecx + 0x74]
lea eax, [edi + 1]
mov dword [ecx + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x4652ad
mov edx, dword [ecx + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x6c]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4652bb
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0x1c]
not edi
mov dl, byte [ebp + 0x20]
mov dword [esp + 0x64], edi
movzx eax, byte [ecx + 0x2b]
cmp dl, 0xa
je 0x4652d6
movzx eax, dl
jmp 0x4652e1
cmp eax, 0xa
mov edx, 2
cmove eax, edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x48], eax
test edx, edx
je 0x465358
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x46530d
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x25
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46533e
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x18]
mov word [eax + ecx*4], 0x25
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
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x465354
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 5
jne 0x4653eb
cmp byte [ebp + 0x20], 5
je 0x4653eb
mov eax, dword [ecx + 8]
test eax, eax
je 0x4653eb
mov cl, byte [eax + 0x36]
cmp cl, 4
je 0x46538a
cmp cl, 3
je 0x46538a
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x465374
jmp 0x4653eb
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x50], edx
cmp dword [eax + 0x58], edx
jg 0x4653b4
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4653eb
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
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 eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebp + 0xc]
cmp dword [eax + 0x58], ecx
jg 0x46540f
push dword [ebp + 0x14]
mov ecx, esi
push edi
push edx
mov edx, 0x20
call fcn.004376e0
add esp, 0xc
jmp 0x46543d
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x14]
mov word [eax + ecx*4], 0x20
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
mov eax, dword [esp + 0x48]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x46544d
jmp dword [ecx*4 + 0x466234]
mov eax, dword [esp + 0x4c]
xor edi, edi
test dword [eax + 0x18], 0x40000
je 0x4654a9
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x1000000
je 0x46547f
mov edx, dword [esp + 0x1c]
call fcn.00476d90
mov edx, eax
mov ecx, edx
test edx, edx
je 0x465498
cmp byte [ecx + 8], 0x6d
jne 0x465491
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x465485
xor ecx, ecx
test edi, edi
cmovne ecx, edx
mov dword [esp + 0x58], ecx
mov edi, ecx
test ecx, ecx
jne 0x4654e5
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
test dword [eax + 0x18], 0x80000
je 0x465531
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0041c9f0
add esp, 4
test eax, eax
je 0x4654db
cmp dword [eax + 8], 0
jne 0x4654e5
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x10], 0
je 0x46552d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x1a0]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x38]
push edi
call fcn.0045d3f0
mov edi, dword [esp + 0x88]
add esp, 0x24
mov dword [esp + 0x54], 1
jmp 0x465593
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp dword [edi + 8], 0
je 0x465562
mov eax, dword [ecx + 0x1a0]
mov edx, edi
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x28]
call fcn.0045d820
add esp, 0x10
mov edi, dword [esp + 0x64]
mov dword [esp + 0x54], 1
jmp 0x465593
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.004378e0
jmp 0x465593
mov eax, 2
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.0045b250
add esp, 4
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4655ab
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x50]
dec eax
mov dword [edx + 0x60], eax
test edi, edi
je 0x465650
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x5c], ecx
cmp dword [eax + 0x58], ecx
jg 0x4655e8
push 0
push 0
push 0
mov edx, 0xd
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x46561f
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
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 ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, edi
mov edx, dword [esi + 0x20]
test edi, edi
jns 0x465635
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x465644
mov eax, 0x520b44
jmp 0x46564d
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x46616b
mov edi, dword [ebp + 8]
xor edx, edx
cmp dword [edi + edx*4], 0
je 0x466157
cmp byte [esp + 0x15], 0
jne 0x465697
mov eax, dword [ebp + 0x14]
mov edx, ecx
inc eax
mov ecx, esi
push eax
call fcn.00463610
add esp, 4
mov byte [esp + 0x15], 1
mov edi, dword [esi + 0x18]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4656cc
mov edx, dword [edi + 0x78]
lea eax, [ecx*8 + 4]
mov ecx, dword [edi]
push 0
push eax
call fcn.00418a40
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x4656da
mov dword [eax + ecx*4], 0xffffffff
mov edi, dword [esp + 0x20]
not ecx
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x24], 0
je 0x4657b5
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x465719
push 0
push edx
push 0
mov edx, 0x4d
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x46574c
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4d
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 + 0x18]
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ecx + 0x64], eax
mov edx, dword [edi + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
test edx, edx
je 0x46577e
push 0
push 0
mov ecx, eax
call fcn.0044c2c0
mov ecx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x60]
add esp, 8
jmp 0x465780
xor edi, edi
cmp byte [eax + 0x45], 0
jne 0x46579b
mov edx, dword [esp + 0x30]
push 0x10
push edx
mov edx, edi
call fcn.00450bf0
mov eax, dword [esp + 0x60]
add esp, 8
test edi, edi
je 0x4657a8
mov edx, edi
mov ecx, eax
call fcn.0044c120
mov edi, dword [esp + 0x18]
mov dword [edi + 0x64], 0
jmp 0x4657b9
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0x3c]
movzx ecx, word [eax + 0x34]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x28], eax
cmp ecx, edx
jg 0x4657db
add eax, ecx
sub edx, ecx
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], edx
jmp 0x4657ea
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], edx
mov dword [edi + 0x4c], eax
mov eax, dword [esp + 0x20]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x3c], edx
cmp cx, word [eax + 0x34]
jae 0x465a27
mov edi, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
nop dword [eax + eax]
mov eax, dword [eax + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x465960
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x14]
inc eax
mov dword [edx + 0x64], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
test edx, edx
je 0x465858
push 0
push 0
call fcn.0044c2c0
mov ecx, dword [esp + 0x3c]
add esp, 8
jmp 0x46585a
xor eax, eax
cmp byte [ecx + 0x45], 0
mov dword [esp + 0x48], eax
jne 0x465943
test eax, eax
je 0x4658c0
cmp byte [eax], 0x9d
jne 0x4658c0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4658a8
mov edx, dword [esp + 0x58]
push 0
push edi
push edx
mov edx, 0x52
call fcn.004376e0
add esp, 0xc
jmp 0x46593f
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x52
jmp 0x46591e
mov ecx, dword [esp + 0x18]
mov edx, eax
push edi
call fcn.0044f2b0
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, edi
je 0x46593f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x46593f
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x58], edx
jg 0x465908
mov edx, dword [esp + 0x58]
push 0
push edi
push edx
mov edx, 0x53
call fcn.004376e0
add esp, 0xc
jmp 0x46593f
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x53
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x465950
call fcn.0044c120
mov eax, dword [esp + 0x18]
mov dword [eax + 0x64], 0
jmp 0x465a00
cmp edx, 0xffffffff
je 0x46597d
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x20]
cmp edx, eax
je 0x46597d
mov eax, dword [ebp + 0x14]
inc eax
add eax, edx
mov dword [esp + 0x48], eax
jmp 0x4659a4
cmp dword [esp + 0x60], edi
je 0x465a00
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], 0
mov eax, 0xffffffff
cmovne ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
sar edx, 0x1f
and edx, 1
add edx, 0x53
cmp dword [eax + 0x58], ecx
jg 0x4659cc
mov ecx, dword [esp + 0x48]
push 0
push edi
push ecx
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x465a00
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4], dl
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], 0
mov dword [eax + 4], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x3c]
add dword [esp + 0x44], 0x18
inc edx
mov ecx, dword [esp + 0x44]
movzx eax, word [eax + 0x34]
cmp edx, eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x20]
jl 0x465810
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 8]
movzx edi, word [eax + 0x34]
mov eax, dword [esi + 0x18]
mov edx, dword [edx + ecx*4]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x465a57
push edx
push edi
push dword [esp + 0x30]
mov edx, 0x60
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x465a8a
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x38]
mov word [eax + ecx*4], 0x60
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
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x28]
movzx eax, word [eax + 0x34]
push eax
call fcn.0044ebb0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x465ae3
cmp dword [esp + 0x24], ecx
jne 0x465ae3
cmp byte [ebp + 0x1c], 0
jne 0x465ae3
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x465ad7
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
jmp 0x466148
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x465b15
movzx edi, word [ecx + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push edi
call fcn.0044ebb0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp edi, dword [eax + 0x3c]
jle 0x465abb
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], ecx
jmp 0x465abb
mov dl, byte [ebp + 0x20]
cmp dl, 0xa
je 0x465b22
movzx eax, dl
jmp 0x465b2d
cmp eax, 0xa
mov edx, 2
cmove eax, edx
mov dword [esp + 0x58], eax
mov edx, 0x1d
movzx eax, word [ecx + 0x32]
mov ecx, esi
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push dword [esp + 0x38]
add eax, dword [ebp + 0x10]
push eax
call fcn.00437ce0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x465b6b
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
jmp 0x465ba4
mov ecx, dword [edi + 0x3c]
mov eax, dword [esp + 0x40]
mov edx, dword [edi + 0x40]
mov dword [esp + 0x34], edx
cmp eax, ecx
jg 0x465b8b
add eax, edx
sub ecx, dword [esp + 0x40]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], ecx
jmp 0x465b9c
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, dword [esp + 0x40]
mov dword [esp + 0x34], edx
mov dword [edi + 0x4c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp dword [ebp + 0x18], 0
jne 0x465bb5
cmp dword [esp + 0x58], 5
jne 0x465f8a
mov esi, dword [esp + 0x1c]
test byte [esi + 0x2a], 0x20
mov esi, dword [esp + 0x38]
jne 0x465cab
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x465bf2
mov eax, dword [esp + 0x2c]
mov ecx, esi
add eax, dword [ebp + 0x10]
push 0
push edx
push eax
mov edx, 0x7f
call fcn.004376e0
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x465c30
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x38]
mov word [eax + ecx*4], 0x7f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x465f8a
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x465c5d
push edi
push dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, 0x25
call fcn.004376e0
add esp, 0xc
jmp 0x465c8c
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x465f8a
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
jmp 0x465f8a
cmp eax, ecx
je 0x465d9c
xor esi, esi
xor edi, edi
cmp si, word [ecx + 0x32]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], edi
jae 0x465d98
mov dword [esp + 0x48], edx
jmp 0x465cd4
mov eax, dword [esp + 0x20]
movzx edx, word [eax + 0x34]
xor ecx, ecx
test edx, edx
jle 0x465cfd
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp di, word [eax]
je 0x465d31
inc ecx
add eax, 2
cmp ecx, edx
jl 0x465cf0
or eax, 0xffffffff
mov ecx, dword [esi + 0x20]
movsx edx, ax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x64], edx
cmp dword [eax + 0x58], ecx
jg 0x465d36
mov edi, dword [esp + 0x48]
mov ecx, esi
mov eax, dword [esp + 0x2c]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x5e
call fcn.004376e0
add esp, 0xc
jmp 0x465d74
movzx eax, cx
jmp 0x465d00
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x64]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x48]
mov word [eax + ecx*4], 0x5e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
inc edi
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ecx
mov edi, ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
jl 0x465cd0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
cmp dword [ebp + 0x18], 0
je 0x465f8a
movzx ecx, word [ecx + 0x32]
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], 0x24
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
xor edx, edx
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x465f8a
jmp 0x465de7
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edi, dword [edi]
mov eax, dword [eax + 0x20]
mov ch, byte [edi + 0x42]
mov cl, byte [edi + 0x95]
mov byte [esp + 0x17], ch
mov edx, dword [eax + edx*4]
mov dword [esp + 0x68], edx
mov byte [esp + 0x16], cl
test edx, edx
je 0x465e2a
movzx eax, cl
mov ecx, edi
push eax
call fcn.0045be20
mov cl, byte [esp + 0x1a]
add esp, 4
mov edx, dword [esp + 0x68]
mov edi, eax
mov ch, byte [esp + 0x17]
jmp 0x465e2d
mov edi, dword [edi + 8]
test edi, edi
je 0x465e3d
movzx eax, ch
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
add edi, 0xffffffec
test cl, cl
jne 0x465e5d
test edi, edi
je 0x465e4b
cmp dword [edi + 0xc], 0
jne 0x465e5d
push edx
mov dl, ch
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0045bd30
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
movsx edx, word [ecx + eax*2]
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x44]
dec ecx
cmp dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
cmove eax, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
cmovne eax, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], eax
add ecx, edx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x68], ecx
cmp dword [eax + 0x58], edx
jg 0x465ecc
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
push eax
push dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004376e0
add esp, 0xc
mov edx, eax
jmp 0x465f0f
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x38]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov byte [ecx + 1], 0
mov byte [ecx], al
mov eax, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x465f27
push edi
mov edx, 0xfffffffc
call fcn.004381b0
add esp, 4
jmp 0x465f5b
test edx, edx
jns 0x465f2f
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x465f50
push 0xfffffffffffffffc
push edi
mov edx, eax
mov ecx, esi
call fcn.004383e0
add esp, 8
jmp 0x465f5b
test edi, edi
je 0x465f5b
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfc
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x465f71
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 0x90
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x3c], edx
movzx eax, word [eax + 0x32]
cmp edx, eax
jl 0x465de3
mov edi, dword [esp + 0x58]
test edi, edi
je 0x466026
cmp edi, 3
jbe 0x46600b
cmp edi, 4
jne 0x466026
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x465fcc
push 0
push dword [ebp + 0x24]
lea edx, [edi + 9]
mov ecx, esi
push 0
call fcn.004376e0
mov edi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4660ca
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
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
jmp 0x4660ca
push dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.0045b000
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x4660ca
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, dword [ecx + 0x1a0]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x4c]
mov byte [ecx + 0x14], 1
test dword [eax + 0x18], 0x40000
je 0x46608e
mov ecx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x64], edx
mov eax, dword [ecx]
test dword [eax + 0x18], 0x1000000
je 0x46606c
mov edx, dword [esp + 0x1c]
call fcn.00476d90
mov edx, eax
mov dword [esp + 0x64], eax
mov ecx, edx
test edx, edx
je 0x466085
cmp byte [ecx + 8], 0x6d
jne 0x46607e
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x466072
xor edx, edx
test edi, edi
cmovne edx, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x50]
push dword [esp + 0x48]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x40]
call fcn.0045d3f0
add esp, 0x24
mov dword [esp + 0x54], 1
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4660e6
mov eax, dword [esp + 0x30]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
dec eax
mov dword [edx + 0x60], eax
movzx edi, word [edi + 0x34]
mov edx, dword [esp + 0x28]
push edi
call fcn.0044ebb0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp edi, dword [eax + 0x3c]
jle 0x466119
mov dword [eax + 0x3c], edi
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x40], eax
jmp 0x46611b
mov edi, eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x28]
je 0x466148
push dword [esp + 0x40]
mov edx, eax
mov ecx, edi
call fcn.0044ebb0
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, dword [edi + 0x3c]
jle 0x466148
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x14]
inc edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
test eax, eax
jne 0x465670
mov eax, dword [esp + 0x50]
test eax, eax
je 0x466212
mov ecx, dword [esi + 0x20]
lea edi, [eax + 1]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x46619b
push 0
push edi
push 0
mov edx, 0xd
mov ecx, esi
call fcn.004376e0
add esp, 0xc
jmp 0x4661ce
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
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
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x4661e6
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x466205
mov ecx, dword [esp + 0x54]
mov eax, 0x520b44
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret