Function at 0x465d60
Capabilities:
Encode data using base64
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
xor eax, eax
push ebx
mov dword [ebp - 0xbc], eax
lea ebx, [ecx + 0x2f0]
mov dword [ebp - 0x7c], eax
lea eax, [ecx + 0x50]
push esi
mov dword [ebp - 0xa0], eax
push edi
mov edi, dword [ecx]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x8c], edi
mov eax, dword [edi]
mov dword [ebp - 0x90], eax
mov esi, dword [edi + 8]
imul eax, edx, 0x50
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x38], esi
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x50], eax
movzx eax, byte [ebx + 0x2c]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [ebp - 0xa8], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x54], eax
call fcn.00468d82
mov ecx, dword [ebp - 0x70]
not eax
and eax, dword [ebp - 0xb8]
not edx
and edx, dword [ebp - 0xb4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp - 0x40]
call fcn.00494310
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
push 0x20
pop edx
test byte [eax + 0x24], 0x40
je 0x465e3f
mov eax, dword [ebp - 0x70]
test byte [eax + 0x2c], dl
jne 0x465e3f
mov dword [ebp - 0x44], ecx
jmp 0x465e43
and dword [ebp - 0x44], 0
mov ecx, esi
call fcn.0043696d
mov ecx, esi
mov dword [ebp - 0x80], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
call fcn.0043696d
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0xb0], eax
mov dword [ebx + 0x18], eax
jbe 0x465e8d
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x24], 8
je 0x465e8d
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
push 0
push 0x43
mov dword [edi + 0x2c], eax
pop edx
mov dword [ebx], eax
call fcn.00436721
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov eax, ecx
test ecx, ecx
jle 0x465ea6
mov ecx, ebx
cmp dword [ecx], edx
jne 0x465ea6
dec eax
sub ecx, 0x50
test eax, eax
jg 0x465e9a
mov ecx, dword [ebp - 0x70]
imul eax, eax, 0x50
mov eax, dword [eax + ecx + 0x2fc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x28], 0x10
je 0x465ef3
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x38]
push edx
push esi
push 0xf
pop edx
call fcn.0043669d
mov ecx, dword [ebp - 0x38]
add esp, 0xc
push dword [ebp - 0x80]
push esi
push 0x10
pop edx
call fcn.00436721
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2d], 0xd
jmp 0x466fb5
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x466109
movzx eax, word [ecx + 0x28]
mov ecx, edi
mov dword [ebp - 0x5c], eax
call fcn.00447771
lea edx, [eax + 2]
call fcn.004499d3
mov ecx, eax
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x5c], esi
jle 0x465f7c
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x465f76
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x465f5e
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
push eax
push dword [ebp - 0x6c]
push esi
push ebx
call fcn.00465601
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp 0x465f73
mov edx, dword [edx]
push eax
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
mov edx, dword [edx + 0x10]
push eax
call fcn.00465bf8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
inc esi
cmp esi, dword [ebp - 0x5c]
jl 0x465f2c
mov eax, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x38]
push dword [eax + 0x18]
push 0x43
pop edx
call fcn.00436721
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x5c]
inc eax
mov ecx, dword [ebp - 0x38]
push eax
push esi
push 0x43
pop edx
call fcn.00436721
mov ecx, dword [ebp - 0x50]
or eax, 0xffffffff
push 0xfffffffffffffff9
pop edx
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push dword [ebp - 0x54]
push 0xb
pop eax
mov edx, eax
call fcn.004367ed
mov edx, dword [ebp - 0x50]
add esp, 0x24
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x70]
mov byte [edx + 0x1c], 0
mov dword [ebx + 0x30], eax
cmp byte [ecx + 0x31], 0
push 0x3d
pop eax
lea ecx, [eax + 0x6c]
cmovne eax, ecx
mov ecx, dword [ebp - 0x38]
mov byte [ebx + 0x2d], al
call fcn.00436b11
lea ecx, [esi - 1]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
js 0x4660fd
imul esi, eax, 0xc
mov dword [ebp - 0x5c], esi
mov eax, dword [edx + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x44], edx
cmp ecx, 0x10
jge 0x46603c
mov eax, dword [ebp - 0x50]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x466039
mov ecx, ebx
call fcn.004653c0
jmp 0x4660eb
mov ecx, dword [ebp - 0x4c]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x4660ee
mov eax, dword [ebp - 0x90]
cmp byte [eax + 0x49], 0
jne 0x46607d
mov edx, dword [ebx + 0x3c]
sub esi, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x5c], esi
mov edx, dword [edx + esi + 4]
call fcn.00436f19
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.0043669d
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push 0x35
pop edx
call fcn.00445326
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4660e8
mov eax, dword [ebp - 0x44]
mov edx, 0x9a
mov ecx, dword [ebp - 0x90]
push 0
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.004452a5
mov edx, eax
mov dword [esi + 0x10], edx
pop ecx
test edx, edx
je 0x4660d7
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
add ecx, 2
add eax, ecx
push 0
mov dword [edx + 0x1c], eax
push dword [ebx + 0x18]
push esi
push edi
call fcn.00448db9
add esp, 0x10
mov ecx, dword [ebp - 0x90]
mov edx, esi
and dword [esi + 0xc], 0
call fcn.004456e4
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
sub ecx, 1
mov dword [ebp - 0x4c], ecx
jns 0x466011
mov ecx, edi
call fcn.00447775
jmp 0x466fb7
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [ebp - 0x50]
je 0x466184
mov eax, dword [eax + 0x30]
mov ecx, edi
mov edx, dword [eax]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
push 0
push ebx
call fcn.00465601
mov edx, dword [ebp - 0x44]
mov esi, eax
add esp, 0x10
cmp esi, edx
je 0x46614b
mov ecx, edi
call fcn.00449990
mov ecx, dword [ebp - 0x38]
push esi
push dword [ebx + 0x10]
push dword [ebp - 0x54]
push 0x1f
pop edx
call fcn.0043669d
add esp, 0xc
xor eax, eax
inc eax
mov edx, esi
mov ecx, edi
push eax
call fcn.004479d1
mov edx, dword [ebp - 0x54]
pop ecx
push esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.004476a9
mov byte [ebx + 0x2d], 0xa9
jmp 0x466fb5
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x466390
push 0x20
pop eax
mov dword [ebp - 0x4c], 0xa9
mov esi, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x58], edx
test al, cl
je 0x4661c1
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
xor eax, eax
lea edx, [eax + 1]
jmp 0x4661c4
mov edx, dword [ebp - 0x44]
test cl, 0x10
je 0x4661d7
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x58], ecx
jmp 0x4661da
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4661e6
mov dword [ebp - 0x58], esi
mov esi, ecx
test esi, esi
je 0x46628b
mov edx, dword [esi]
mov dword [ebp - 0x3c], 0x1a18191b
mov dword [ebp - 0x44], edx
mov ecx, dword [edx + 0x10]
call fcn.00444e07
mov ecx, edi
test eax, eax
je 0x466234
call fcn.00449971
mov edx, dword [edx + 0x10]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x5c], esi
inc eax
push eax
push esi
call fcn.00465bf8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
movzx eax, byte [ecx]
inc eax
and eax, 2
or eax, 1
mov al, byte [ebp + eax - 0x3c]
jmp 0x46625a
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.00448772
pop ecx
mov edx, esi
mov dword [ebp - 0x5c], eax
mov ecx, ebx
call fcn.004653c0
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x68]
movzx eax, byte [ecx]
mov al, byte [ebp + eax - 0x72]
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x80]
movzx edx, al
push dword [ebp - 0x54]
call fcn.0043669d
mov edx, dword [ebp - 0x5c]
add esp, 0xc
xor eax, eax
mov ecx, edi
inc eax
push eax
call fcn.004479d1
pop ecx
mov edx, esi
mov ecx, edi
call fcn.00449990
jmp 0x4662a6
push dword [ebp - 0x68]
test eax, eax
push dword [ebp - 0x54]
push 0x25
pop edx
push 0x21
pop ecx
cmovne edx, ecx
mov ecx, dword [ebp - 0x38]
call fcn.00436721
pop ecx
pop ecx
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x46631f
mov eax, dword [esi]
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x40], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x44], eax
call fcn.00465bf8
mov edx, dword [ebp - 0x44]
pop ecx
pop ecx
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.00444e07
test eax, eax
jne 0x4662fa
mov al, byte [edx]
cmp al, 0x38
je 0x4662e8
cmp al, 0x36
jne 0x4662fa
cmp dword [ebp - 0x6c], 0
push 0x39
pop edx
push 0x37
pop eax
cmovne edx, eax
mov dword [ebp - 0x4c], edx
jmp 0x46630a
cmp dword [ebp - 0x6c], 0
push 0x36
pop eax
push 0x38
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
call fcn.00444e07
test eax, eax
jne 0x46631f
mov edx, esi
mov ecx, ebx
call fcn.004653c0
mov ecx, dword [ebp - 0x38]
call fcn.00436b11
cmp dword [ebp - 0x6c], 0
mov ecx, eax
mov dword [ebx + 0x34], ecx
sete al
add al, 6
cmp dword [ebp - 0x4c], 0xa9
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x30], eax
je 0x466fb7
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x38]
push esi
push eax
push 0x7d
pop edx
call fcn.00436721
mov edx, dword [ebp - 0x54]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004476a9
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
push esi
push dword [ebp - 0x80]
push dword [ebp - 0x40]
call fcn.0043669d
mov ecx, dword [ebp - 0x38]
add esp, 0x1c
push 0x53
pop edx
call fcn.00436c30
jmp 0x466fb7
test ecx, 0x200
je 0x466a01
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x9c], edx
movzx eax, word [esi + 0x18]
mov dword [ebp - 0x3c], eax
movzx eax, word [esi + 0x1a]
mov dword [ebp - 0x58], eax
movzx eax, word [esi + 0x1c]
mov esi, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x50]
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x85], dl
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
test byte [eax + 0x2c], 1
je 0x466407
cmp byte [eax + 0x2f], 0
mov eax, dword [ebp - 0x3c]
jle 0x46640a
mov edi, dword [ebp - 0x7c]
cmp word [edi + 0x32], ax
mov edi, dword [ebp - 0x8c]
jbe 0x46640a
xor esi, esi
mov byte [ebp - 0x45], 1
inc esi
jmp 0x46640a
mov eax, dword [ebp - 0x3c]
movzx eax, ax
push 0x20
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
pop eax
test al, cl
je 0x46643e
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
inc dword [ebp - 0x60]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edi*4]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
movzx eax, word [edi + 0x1a]
mov edi, dword [ebp - 0x8c]
cmp esi, eax
cmovbe esi, eax
test cl, 0x10
je 0x4664ee
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
movzx eax, word [ecx + 0x1c]
mov ecx, 0x100
cmp esi, eax
cmovbe esi, eax
mov eax, dword [ebp - 0x78]
test word [eax + 0xa], cx
je 0x4664b4
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x38]
inc eax
push eax
mov dword [edi + 0x2c], eax
mov dword [ebx + 0x24], eax
xor eax, eax
inc eax
push eax
push 0x43
pop edx
call fcn.00436721
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
call fcn.00436b11
shl dword [ebx + 0x24], 1
xor ecx, ecx
mov edx, dword [ebp - 0x64]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [ebp - 0x6c]
or dword [ebx + 0x24], ecx
xor edx, edx
cmp dword [ebp - 0x4c], 0
jne 0x4664ee
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax + 4]
movsx ecx, word [eax + ecx*2]
mov dword [ebp - 0x40], ecx
test ecx, ecx
js 0x4664e3
mov eax, dword [ebp - 0x7c]
add ecx, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x4664e8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xfffffffe
jne 0x4664ee
xor eax, eax
inc eax
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x3c]
movzx eax, word [eax + 0x32]
mov dword [ebp - 0x40], eax
cmp cx, ax
jae 0x466522
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
mov edi, dword [ebp - 0x64]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], cl
mov edi, dword [ebp - 0x8c]
sete cl
cmp dword [ebp - 0x6c], ecx
je 0x46652d
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x6c], 0
je 0x46655d
cmp ax, cx
jne 0x46655d
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov al, byte [ebp - 0x45]
mov byte [ebp - 0x85], al
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x45], dl
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x78], ecx
movzx ecx, dx
movzx eax, al
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
mov edx, ebx
push eax
push esi
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.0046591b
mov ecx, dword [ebp - 0x98]
add esp, 0xc
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x4665a3
mov edx, dword [ebp - 0x94]
test dx, dx
je 0x4665a3
mov edx, dword [ebp - 0x64]
lea edx, [ecx + edx]
mov ecx, dword [ebp - 0x90]
call fcn.0041ebe4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4665c0
test byte [eax + 0xc], 0x28
jne 0x4665c0
xor ecx, ecx
mov dword [ebp - 0x84], ecx
jmp 0x4665cc
mov dword [ebp - 0x84], 1
xor ecx, ecx
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x4665e1
test byte [edx + 0xc], 0x28
jne 0x4665e1
xor edx, edx
mov dword [ebp - 0x80], ecx
inc edx
jmp 0x4665e7
xor edx, edx
inc edx
mov dword [ebp - 0x80], edx
test eax, eax
jne 0x4665f4
mov dword [ebp - 0x40], ecx
cmp word [ebp - 0x3c], ax
jbe 0x4665f7
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x64]
mov esi, edx
test eax, eax
je 0x4666ac
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax]
add ecx, edx
mov edi, dword [ebp - 0x58]
movzx edx, di
mov edi, dword [ebp - 0x8c]
mov eax, dword [eax + 0x10]
push edx
mov dword [ebp - 0xa4], ecx
mov edx, eax
push ecx
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.00465bf8
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
mov edx, ebx
call fcn.00465b10
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
call fcn.004463ca
test eax, eax
je 0x466660
push dword [ebp - 0x68]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0xa4]
push 0x32
pop edx
call fcn.00436721
pop ecx
pop ecx
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x46667f
mov eax, dword [ebp - 0x64]
add eax, ecx
mov ecx, dword [ebp - 0x58]
movzx edx, cx
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0046547f
pop ecx
mov ecx, dword [ebp - 0x58]
movzx eax, cx
mov ecx, dword [ebp - 0x3c]
add esi, eax
call fcn.00444e07
test eax, eax
jne 0x46669f
mov edx, dword [ebp - 0x4c]
mov ecx, ebx
call fcn.004653c0
jmp 0x4666a8
xor eax, eax
inc eax
mov dword [ebp - 0x84], eax
xor al, al
jmp 0x4666d8
mov al, byte [ebp - 0x45]
test al, al
je 0x4666d8
mov eax, dword [ebp - 0x60]
add eax, edx
push eax
push ecx
mov ecx, dword [ebp - 0x38]
push 0x46
pop edx
call fcn.00436721
and dword [ebp - 0x84], 0
xor eax, eax
inc esi
inc eax
pop ecx
mov dword [ebp - 0x40], eax
mov al, byte [ebp - 0x45]
pop ecx
push dword [ebp - 0x98]
mov edx, dword [ebp - 0x60]
mov ecx, esi
movzx eax, al
sub ecx, eax
push ecx
mov ecx, edi
call fcn.00465424
mov eax, dword [ebp - 0x50]
pop ecx
pop ecx
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x466702
cmp esi, eax
je 0x466731
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x40]
push esi
mov esi, dword [ebp - 0x60]
push esi
push dword [ebp - 0x68]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0x74]
movzx edx, byte [ecx + eax*2 + 0x4a921c]
mov ecx, dword [ebp - 0x38]
call fcn.0043691e
add esp, 0x10
jmp 0x466734
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x466805
mov eax, dword [eax]
mov ecx, edi
mov edx, dword [ebp - 0x64]
add edx, esi
push 1
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
call fcn.00447733
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x84]
movzx esi, ax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x64]
pop ecx
push esi
push eax
mov ecx, edi
call fcn.00465bf8
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x38]
mov edx, ebx
call fcn.00465b10
mov ecx, dword [ebp - 0x84]
add esp, 0xc
call fcn.004463ca
test eax, eax
je 0x4667ad
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x38]
push eax
push 0x32
pop edx
call fcn.00436721
pop ecx
pop ecx
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x4667df
mov ecx, dword [ebp - 0x84]
mov edx, esi
push eax
call fcn.0046547f
mov edx, dword [ebp - 0x60]
pop ecx
mov ecx, dword [ebp - 0x64]
push dword [ebp - 0x9c]
push esi
lea edx, [edx + ecx]
mov ecx, edi
call fcn.00465424
pop ecx
pop ecx
mov ecx, dword [ebp - 0x84]
add dword [ebp - 0x64], esi
call fcn.00444e07
test eax, eax
jne 0x4667fd
mov edx, dword [ebp - 0x78]
mov ecx, ebx
call fcn.004653c0
jmp 0x466836
xor eax, eax
inc eax
mov dword [ebp - 0x80], eax
jmp 0x466836
cmp byte [ebp - 0x85], 0
je 0x466836
add esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x38]
push esi
push 0
push 0x46
pop edx
call fcn.00436721
xor eax, eax
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.00447733
and dword [ebp - 0x80], 0
add esp, 0xc
inc dword [ebp - 0x64]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x90]
call fcn.0041e862
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x90]
call fcn.0041e862
mov esi, dword [ebp - 0x38]
mov ecx, esi
call fcn.00436b11
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x46688e
mov ecx, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x68]
push dword [ebp - 0x74]
movzx edx, byte [eax + ecx*2 + 0x4a71dc]
mov ecx, esi
call fcn.0043691e
add esp, 0x10
cmp dword [ebp - 0x44], 0
jne 0x46699e
mov edx, dword [ebp - 0x7c]
push 0x20
pop eax
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], al
jne 0x466915
mov ecx, dword [ebp - 0x70]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x4668d6
test eax, 0x1000
je 0x4668c3
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x4668d6
mov esi, dword [ebp - 0x74]
push esi
push dword [ebp - 0x54]
call fcn.00465b44
pop ecx
pop ecx
jmp 0x4669a1
inc dword [edi + 0x2c]
mov edx, 0x84
mov esi, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x38]
push esi
push dword [ebp - 0x74]
call fcn.00436721
mov edx, dword [ebp - 0x54]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004476a9
mov ecx, dword [ebp - 0x38]
push esi
push 0
push dword [ebp - 0x54]
push 0x20
pop eax
mov edx, eax
call fcn.0043669d
add esp, 0x1c
jmp 0x46699e
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x4669a4
call fcn.0044c8a3
mov esi, eax
mov ecx, edi
movzx edx, word [esi + 0x32]
call fcn.004499d3
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x40], ecx
cmp ax, word [esi + 0x32]
jae 0x466981
xor ebx, ebx
mov edi, ecx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebx + edi]
push eax
mov eax, dword [esi + 4]
mov dx, word [eax + ebx*2]
call fcn.0044c8bb
mov ecx, dword [ebp - 0x38]
cwde
push eax
push dword [ebp - 0x74]
push 0x62
pop edx
call fcn.0043669d
movzx eax, word [esi + 0x32]
add esp, 0xc
inc ebx
cmp ebx, eax
jl 0x466946
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x40]
movzx eax, word [esi + 0x32]
push eax
push ecx
push dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x54]
push 0x1d
pop edx
call fcn.0043691e
add esp, 0x10
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x54]
cmp dword [ebx], 0
jne 0x4669b9
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
mov edx, eax
push esi
call fcn.00465cb8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x50]
test dword [ecx + 0x24], 0x1000
je 0x4669cb
mov byte [ebx + 0x2d], 0xa9
jmp 0x4669d7
cmp dword [ebp - 0x6c], 0
sete al
add al, 6
mov byte [ebx + 0x2d], al
xor edx, edx
mov dword [ebx + 0x30], esi
mov al, byte [ecx + 0x26]
inc edx
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x4669ee
mov byte [ebx + 0x2f], dl
cmp dword [ebp - 0x44], 0
je 0x466fb7
and dword [ebp - 0x7c], 0
jmp 0x466fb7
test ecx, 0x2000
je 0x466f73
mov eax, dword [edi + 0x28]
mov ecx, esi
mov dword [ebp - 0x6c], eax
inc eax
inc dword [edi + 0x2c]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x80], edx
call fcn.0043696d
mov dword [ebp - 0x64], eax
xor edx, edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x70]
mov byte [ebx + 0x2d], 0x3f
mov al, byte [eax + 0x2e]
cmp al, 1
jbe 0x466b5d
movzx eax, al
sub eax, dword [ebp - 0x40]
dec eax
imul ecx, eax, 0x48
push edx
mov dword [ebp - 0xa4], eax
add ecx, 0x50
push ecx
mov ecx, dword [ebp - 0x90]
call fcn.0041ea67
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x60], ecx
test ecx, ecx
jne 0x466ab5
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
jmp 0x46726c
mov edx, dword [ebp - 0xa4]
lea edi, [ecx + 8]
mov esi, dword [ebp - 0xa8]
push 0x12
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
xor eax, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x70]
inc eax
mov ecx, dword [esi + 4]
mov dword [ebp - 0x68], ecx
cmp edx, eax
jl 0x466b25
mov eax, dword [ebp - 0x60]
add eax, 0x50
mov dword [ebp - 0xa4], eax
lea eax, [ebx + 0x7c]
mov ebx, dword [ebp - 0xa4]
mov dword [ebp - 0x40], eax
movzx eax, byte [eax]
lea esi, [ecx + 8]
imul eax, eax, 0x48
mov edi, ebx
push 0x12
pop ecx
add ebx, 0x48
add esi, eax
mov eax, dword [ebp - 0x40]
add eax, 0x50
mov dword [ebp - 0x40], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x68]
sub edx, 1
jne 0x466afc
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x70]
test byte [eax + 0x2c], 0x10
jne 0x466ba3
push 0x20
pop eax
test byte [ecx + 0x24], al
jne 0x466b68
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
push eax
push edx
push 0x46
pop edx
mov dword [ebp - 0x58], eax
call fcn.00436721
pop ecx
pop ecx
jmp 0x466b9a
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
mov dword [ebp - 0x60], eax
jmp 0x466b33
call fcn.0044c8a3
mov esi, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x58], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
push 0x6e
pop edx
call fcn.00436721
pop ecx
pop ecx
mov edx, esi
mov ecx, edi
call fcn.00436efe
mov esi, dword [ebp - 0x38]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x44]
mov ecx, esi
push 0
push 0x43
pop edx
call fcn.00436721
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa0]
pop ecx
pop ecx
cmp dword [eax + 0xc], 1
jle 0x466c62
xor edx, edx
mov dword [ebp - 0x40], edx
cmp dword [eax + 0xc], edx
jle 0x466c62
mov edi, dword [ebp - 0x90]
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x68], ebx
mov esi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0x50]
je 0x466c26
test byte [eax + 0xa], 6
jne 0x466c26
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [ebp - 0x3c]
je 0x466c26
mov edx, dword [eax]
mov ecx, edi
push ebx
call fcn.00445a47
pop ecx
push eax
mov edx, esi
mov ecx, edi
call fcn.00445444
mov edx, dword [ebp - 0x40]
mov esi, eax
pop ecx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0xa0]
inc edx
add ecx, 0x30
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x68], ecx
cmp edx, dword [eax + 0xc]
jl 0x466be7
mov ebx, dword [ebp - 0x5c]
test esi, esi
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x38]
je 0x466c62
mov eax, dword [ebp - 0x3c]
mov edx, 0x12c
push eax
push 0
mov ecx, edi
call fcn.00445326
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x70]
mov ecx, 0x400
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [ebp - 0xa4], eax
xor eax, eax
push 0x4b0f8c
inc eax
push eax
push edi
call fcn.0043687e
mov edx, dword [ebp - 0x98]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, eax
cmp dword [edx + 0xc], eax
jle 0x466eeb
xor ebx, ebx
imul eax, ecx, 0x30
add eax, dword [edx + 0x14]
mov edx, dword [ebp - 0x54]
cmp dword [eax + 0x14], edx
je 0x466cc7
mov edx, 0x400
test word [eax + 0xc], dx
je 0x466ed3
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x40], ebx
test ecx, ecx
je 0x466cd8
mov dword [ecx + 0xc], eax
mov eax, ecx
push dword [ebp - 0x6c]
mov edx, dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0xa4]
push ebx
push ebx
push eax
call fcn.0046cbc7
add esp, 0x14
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x466ed0
mov edx, dword [ebp - 0x60]
lea ecx, [eax + 0x2f0]
push ebx
push ecx
mov ecx, edi
call fcn.0046511d
mov eax, dword [ebp - 0x70]
pop ecx
pop ecx
test byte [eax + 0x2c], 0x10
jne 0x466e47
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x74]
push 0xffffffffffffffff
pop edx
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [ebp - 0x78]
push 0x20
cmove ecx, edx
mov dword [ebp - 0x68], ecx
pop ecx
test byte [eax + 0x24], cl
jne 0x466d71
push ebx
push dword [ebp - 0x80]
mov ecx, edi
push dword [ebp - 0x54]
push edx
mov edx, eax
call fcn.004478c4
push dword [ebp - 0x68]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x58]
push 0x2d
pop edx
call fcn.0043691e
add esp, 0x20
mov dword [ebp - 0x40], eax
jmp 0x466e47
mov ecx, eax
call fcn.0044c8a3
mov ecx, edi
mov dword [ebp - 0xc4], eax
movzx edx, word [eax + 0x32]
mov dword [ebp - 0x9c], edx
call fcn.004499d3
mov ecx, eax
mov dword [ebp - 0x4c], ecx
test edx, edx
je 0x466dcc
mov esi, ebx
mov eax, dword [ebp - 0xc4]
add ecx, esi
mov edx, dword [ebp - 0x78]
push ecx
push dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov ecx, edi
movsx eax, word [eax + esi*2]
push eax
call fcn.0044795e
mov edx, dword [ebp - 0x9c]
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
inc esi
cmp esi, edx
jl 0x466d9a
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x466dee
push edx
push ecx
push ebx
push dword [ebp - 0x58]
mov ecx, esi
push 0x1e
pop edx
call fcn.0043691e
mov dword [ebp - 0x40], eax
add esp, 0x10
mov eax, dword [ebp - 0x68]
test eax, eax
js 0x466e36
push dword [ebp - 0x80]
mov ecx, esi
push dword [ebp - 0x9c]
push dword [ebp - 0x4c]
push 0x65
pop edx
call fcn.0043669d
add esp, 0xc
mov edx, 0x81
mov ecx, esi
push dword [ebp - 0x9c]
push dword [ebp - 0x4c]
push dword [ebp - 0x80]
push dword [ebp - 0x58]
call fcn.0043691e
add esp, 0x10
cmp dword [ebp - 0x68], ebx
je 0x466e36
push 0x10
pop edx
mov ecx, esi
call fcn.00436c30
push dword [ebp - 0x9c]
mov edx, dword [ebp - 0x4c]
mov ecx, edi
call fcn.00449a09
pop ecx
push dword [ebp - 0x64]
mov ecx, esi
push dword [ebp - 0x44]
push 0xe
pop edx
call fcn.00436721
mov eax, dword [ebp - 0x40]
pop ecx
pop ecx
test eax, eax
je 0x466e69
mov edx, eax
mov ecx, esi
call fcn.00436c48
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x84]
push 1
pop ecx
cmp byte [edx + 0x32], bl
cmovne eax, ecx
mov ecx, dword [edx + 0x330]
mov dword [ebp - 0x84], eax
test dword [ecx + 0x24], 0x200
je 0x466ec3
cmp dword [ebp - 0x74], ebx
je 0x466ea3
mov eax, dword [ebp - 0x94]
cmp dword [ecx + 0x20], eax
jne 0x466ec3
mov eax, dword [ebp - 0x78]
test byte [eax + 0x24], 0x20
je 0x466eb8
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x466ec3
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x94], eax
jmp 0x466ec9
mov dword [ebp - 0x94], ebx
mov ecx, edx
call fcn.0046d4de
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x98]
inc ecx
mov dword [ebp - 0x74], ecx
mov edx, eax
cmp ecx, dword [eax + 0xc]
jl 0x466caa
mov ebx, dword [ebp - 0x5c]
mov ecx, edi
call fcn.004368d2
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x38], eax
test eax, eax
je 0x466f05
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x466f1d
mov ecx, dword [ebp - 0x90]
mov edx, eax
and dword [eax + 0xc], 0
call fcn.004456e4
mov ecx, esi
call fcn.00436b11
mov edx, dword [ebp - 0xac]
push eax
call fcn.00436c00
mov edx, dword [ebx + 0xc]
pop ecx
mov ecx, esi
call fcn.00436736
mov edx, dword [ebp - 0x64]
mov ecx, esi
call fcn.004369af
mov eax, dword [ebp - 0x70]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x466f5e
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x90]
call fcn.0041e862
cmp dword [ebp - 0x84], 0
jne 0x466fb7
mov edx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.004653c0
jmp 0x466fb7
mov eax, dword [ebp - 0xa8]
push 0x20
pop ecx
test byte [eax + 0x28], cl
je 0x466f87
mov byte [ebx + 0x2d], 0xa9
jmp 0x466fb7
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0x68]
mov al, byte [ecx + 0x4a7ac8]
movzx edx, byte [ecx + 0x4a9e44]
mov ecx, esi
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x54]
push eax
mov dword [ebx + 0x30], eax
call fcn.00436721
inc eax
mov dword [ebx + 0x34], eax
xor eax, eax
inc eax
mov byte [ebx + 0x2f], al
pop ecx
pop ecx
xor edx, edx
cmp dword [ebp - 0x7c], edx
sete dl
inc edx
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x4670bc
xor eax, eax
mov dword [ebp - 0x44], eax
movzx eax, word [esi + 0xa]
test al, 6
jne 0x4670b2
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x467008
mov eax, dword [ebp - 0x70]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x4670af
mov ecx, dword [ebp - 0xa8]
mov eax, dword [esi]
mov dword [ebp - 0xac], eax
test byte [ecx + 0x24], 8
je 0x46702a
xor ecx, ecx
inc ecx
test byte [eax + 4], cl
je 0x4670af
jmp 0x46702d
xor ecx, ecx
inc ecx
cmp edx, ecx
jne 0x46704f
push dword [ebp - 0x7c]
mov edx, dword [ebx + 4]
mov ecx, eax
call fcn.00449584
pop ecx
test eax, eax
jne 0x4670e5
push 2
pop ecx
mov dword [ebp - 0x3c], ecx
jmp 0x4670b2
cmp edx, 3
jl 0x4670e8
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x467080
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x467080
mov eax, edx
and edx, ecx
mov ecx, dword [ebp - 0x38]
add edx, 0x15
shr eax, 1
push eax
call fcn.0043670d
pop ecx
mov dword [ebp - 0x44], eax
push 0x10
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
push edi
call fcn.00448db9
mov eax, dword [ebp - 0x44]
add esp, 0x10
test eax, eax
je 0x4670a8
mov ecx, dword [ebp - 0x38]
mov edx, eax
call fcn.00436c48
push 4
pop eax
or word [esi + 0xa], ax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x5c]
dec eax
add esi, 0x30
mov dword [ebp - 0x40], eax
test eax, eax
jg 0x466fd9
mov edx, ecx
mov dword [ebp - 0x5c], edx
test ecx, ecx
jg 0x466fc3
mov eax, dword [ebp - 0xa0]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
jmp 0x4671d6
xor ecx, ecx
inc ecx
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x46705c
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x4670b2
push 3
jmp 0x467049
test byte [esi + 0xa], 6
jne 0x4671d2
movzx eax, word [esi + 0xc]
test al, 0x82
push 0xb
pop edi
setne cl
bt ax, di
mov edi, dword [ebp - 0x8c]
setb al
test al, cl
je 0x4671d2
mov ecx, dword [ebp - 0x54]
cmp dword [esi + 0x14], ecx
jne 0x4671d2
cmp dword [ebx], 0
jne 0x4671d2
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [ebp - 0xa0]
push 0
push 0x83
push dword [ebp - 0xb4]
mov dword [ebp - 0xac], eax
push dword [ebp - 0xb8]
push dword [esi + 0x1c]
call fcn.00469060
mov edx, eax
add esp, 0x14
test edx, edx
je 0x4671cf
test byte [edx + 0xa], 4
jne 0x4671cf
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x46719b
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x46719b
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], ecx
jg 0x4671cf
mov esi, dword [edx]
lea edi, [ebp - 0x34]
mov eax, dword [ebp - 0xac]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x8c]
push 0x10
push dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.00448db9
mov esi, dword [ebp - 0x44]
add esp, 0x10
mov edx, dword [ebp - 0x58]
dec edx
add esi, 0x30
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x44], esi
test edx, edx
jg 0x467105
cmp dword [ebx], 0
je 0x467266
mov ecx, dword [ebp - 0x38]
call fcn.00436b11
push dword [ebx]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x43
pop edx
call fcn.00436721
pop ecx
pop ecx
mov ecx, edi
call fcn.00447990
mov eax, dword [ebp - 0xa0]
xor edx, edx
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edx
jle 0x467266
test byte [esi + 0xa], 6
jne 0x467257
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x467251
push 0x10
push dword [ebp - 0xb0]
push dword [esi]
push edi
call fcn.00448db9
mov edx, dword [ebp - 0xbc]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 0xa0]
inc edx
add esi, 0x30
mov dword [ebp - 0xbc], edx
cmp edx, dword [eax + 0xc]
jl 0x46721b
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476874
mov esp, ebp
pop ebp
ret